Skip to content

Commit

Permalink
Merge pull request #52 from vikejs/aurelien/quality/pnpm-overrides
Browse files Browse the repository at this point in the history
qual: use overrides instead of `workspace:*`
  • Loading branch information
magne4000 authored Jan 19, 2024
2 parents 201e80c + bcf469d commit ed58301
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"cross-fetch": "^3.1.8",
"node-fetch": "^3.3.2",
"solid-js": "^1.7.11",
"vike-solid": "workspace:*",
"vike-solid": "^0.2.9",
"vike": "^0.4.148"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/onBeforeRender/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"cross-fetch": "^3.1.8",
"node-fetch": "^3.3.2",
"solid-js": "^1.7.11",
"vike-solid": "workspace:*",
"vike-solid": "^0.2.9",
"vike": "^0.4.148"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/ssr-spa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"solid-js": "^1.7.11",
"vike-solid": "workspace:*",
"vike-solid": "^0.2.9",
"vike": "^0.4.148"
},
"devDependencies": {
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,10 @@
"========= Only allow pnpm; forbid yarn & npm": "",
"preinstall": "npx only-allow pnpm"
},
"pnpm": {
"overrides": {
"vike-solid": "link:./vike-solid/"
}
},
"packageManager": "[email protected]"
}
9 changes: 6 additions & 3 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 ed58301

Please sign in to comment.