Skip to content

Commit

Permalink
Make kit a peerDependency of the adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed May 20, 2021
1 parent bd01b6f commit ae9ee8b
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 19 deletions.
10 changes: 10 additions & 0 deletions .changeset/twelve-onions-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@sveltejs/adapter-begin': patch
'@sveltejs/adapter-cloudflare-workers': patch
'@sveltejs/adapter-netlify': patch
'@sveltejs/adapter-node': patch
'@sveltejs/adapter-static': patch
'@sveltejs/adapter-vercel': patch
---

Make kit a peerDependency of the adapters
4 changes: 3 additions & 1 deletion packages/adapter-begin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
"dependencies": {
"@architect/parser": "^3.0.1"
},
"peerDependencies": {
"@sveltejs/kit": "workspace:*"
},
"devDependencies": {
"@sveltejs/kit": "workspace:*",
"rollup": "^2.47.0",
"sirv": "^1.0.11",
"typescript": "^4.2.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"esbuild": "^0.11.18",
"toml": "^3.0.0"
},
"devDependencies": {
"peerDependencies": {
"@sveltejs/kit": "workspace:*"
}
}
4 changes: 3 additions & 1 deletion packages/adapter-netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@
"check-format": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore"
},
"dependencies": {
"@sveltejs/kit": "workspace:*",
"esbuild": "^0.11.18",
"toml": "^3.0.0"
},
"peerDependencies": {
"@sveltejs/kit": "workspace:*"
},
"devDependencies": {
"typescript": "^4.2.4"
}
Expand Down
4 changes: 3 additions & 1 deletion packages/adapter-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
},
"devDependencies": {
"@rollup/plugin-json": "^4.1.0",
"@sveltejs/kit": "workspace:*",
"c8": "^7.7.2",
"compression": "^1.7.4",
"node-fetch": "^3.0.0-beta.9",
Expand All @@ -31,5 +30,8 @@
"sirv": "^1.0.11",
"typescript": "^4.2.4",
"uvu": "^0.5.1"
},
"peerDependencies": {
"@sveltejs/kit": "workspace:*"
}
}
4 changes: 3 additions & 1 deletion packages/adapter-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
"check-format": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore",
"test": "uvu test test.js"
},
"peerDependencies": {
"@sveltejs/kit": "workspace:*"
},
"devDependencies": {
"@sveltejs/kit": "workspace:*",
"playwright-chromium": "^1.10.0",
"port-authority": "^1.1.2",
"sirv": "^1.0.11",
Expand Down
4 changes: 3 additions & 1 deletion packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
"check-format": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore"
},
"dependencies": {
"@sveltejs/kit": "workspace:*",
"esbuild": "^0.11.18"
},
"peerDependencies": {
"@sveltejs/kit": "workspace:*"
},
"devDependencies": {
"typescript": "^4.2.4"
}
Expand Down
13 changes: 0 additions & 13 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 ae9ee8b

Please sign in to comment.