Skip to content

Commit

Permalink
chore(linearlite): Fix linearlite deps (#1415)
Browse files Browse the repository at this point in the history
I've updated the linearlite dependency as it was failing to build and
also modified the toolbar workspace dependencies to allow for the
closest patch version rather than the exact one.

We might want to do something similar for the CLI and Drivers packages
but since they are more tightly coupled we can keep them as
`workspace:*` rather than `workspace:~` - once we move to v1 we might
want `worksapce:^`
  • Loading branch information
msfstef committed Jul 2, 2024
1 parent 5b42c39 commit 5ced128
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/forty-tables-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@electric-sql/debug-toolbar": patch
---

Use looser peer dependencies for electric packages
8 changes: 4 additions & 4 deletions components/toolbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"sql-formatter": "^15.3.1"
},
"devDependencies": {
"@electric-sql/drivers": "workspace:*",
"@electric-sql/drivers": "workspace:~",
"@electric-sql/pglite": "^0.1.5",
"@types/better-sqlite3": "7.6.3",
"@types/node": "^20.12.7",
Expand All @@ -41,7 +41,7 @@
"@typescript-eslint/parser": "^7.14.1",
"@vitejs/plugin-react": "^4.2.1",
"better-sqlite3": "^11.0.0",
"electric-sql": "workspace:*",
"electric-sql": "workspace:~",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1",
"happy-dom": "^14.10.2",
Expand All @@ -52,8 +52,8 @@
"vitest": "^1.5.0"
},
"peerDependencies": {
"@electric-sql/drivers": "workspace:*",
"electric-sql": "workspace:*"
"@electric-sql/drivers": "workspace:~",
"electric-sql": "workspace:~"
},
"files": [
"dist",
Expand Down
10 changes: 5 additions & 5 deletions examples/linearlite/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/linearlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"devDependencies": {
"@databases/pg": "^5.4.1",
"@databases/pg-migrations": "^5.0.2",
"@electric-sql/debug-toolbar": "^2.0.0",
"@electric-sql/debug-toolbar": "^2.0.1",
"@tailwindcss/typography": "^0.5.10",
"@types/jest": "^29.5.4",
"@types/lodash.debounce": "^4.0.7",
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5ced128

Please sign in to comment.