Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9d0110f

Browse files
authored
set link-workspace-packages=true so installing packages works before they're published to npm (#3121)
Right now you get something like: ``` ➜ electric git:(fix-pnpm) ✗ pnpm i Scope: all 27 workspace projects examples/.shared |  WARN  deprecated [email protected] examples/linearlite |  WARN  deprecated [email protected] /Users/kylemathews/programs/electric/examples/tanstack-db-web-starter:  ERR_PNPM_NO_MATCHING_VERSION  No matching version found for @electric-sql/[email protected] This error happened while installing a direct dependency of /Users/kylemathews/programs/electric/examples/tanstack-db-web-starter The latest release of @electric-sql/client is "1.0.9". Other releases are: * beta: 1.0.0-beta.5 If you need the full list of all 38 published versions run "$ pnpm view @electric-sql/client versions". Progress: resolved 2835, reused 2554, downloaded 0, added 0 ```
1 parent c696522 commit 9d0110f

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
engine-strict=true
2+
link-workspace-packages=true

examples/tanstack-db-web-starter/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"format:check": "prettier --check ."
1616
},
1717
"dependencies": {
18-
"@electric-sql/client": "^1.0.10",
1918
"@tailwindcss/vite": "^4.0.6",
2019
"@tanstack/electric-db-collection": "^0.1.6",
2120
"@tanstack/react-db": "^0.1.6",

pnpm-lock.yaml

Lines changed: 3 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)