Skip to content

Commit

Permalink
Make kit a peerDependency of the adapters (#1505)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored May 20, 2021
1 parent 71e293d commit dca4946
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 4 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
3 changes: 3 additions & 0 deletions packages/adapter-begin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"dependencies": {
"@architect/parser": "^3.0.1"
},
"peerDependencies": {
"@sveltejs/kit": "workspace:*"
},
"devDependencies": {
"@sveltejs/kit": "workspace:*",
"rollup": "^2.47.0",
Expand Down
3 changes: 3 additions & 0 deletions packages/adapter-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
},
"devDependencies": {
"@sveltejs/kit": "workspace:*"
},
"peerDependencies": {
"@sveltejs/kit": "workspace:*"
}
}
5 changes: 4 additions & 1 deletion packages/adapter-netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@
"check-format": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore"
},
"dependencies": {
"@sveltejs/kit": "workspace:*",
"esbuild": "^0.11.18",
"@iarna/toml": "^2.2.5"
},
"peerDependencies": {
"@sveltejs/kit": "workspace:*"
},
"devDependencies": {
"@sveltejs/kit": "workspace:*",
"typescript": "^4.2.4"
}
}
3 changes: 3 additions & 0 deletions packages/adapter-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@
"sirv": "^1.0.11",
"typescript": "^4.2.4",
"uvu": "^0.5.1"
},
"peerDependencies": {
"@sveltejs/kit": "workspace:*"
}
}
3 changes: 3 additions & 0 deletions packages/adapter-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"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",
Expand Down
5 changes: 4 additions & 1 deletion packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@
"check-format": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore"
},
"dependencies": {
"@sveltejs/kit": "workspace:*",
"esbuild": "^0.11.18"
},
"peerDependencies": {
"@sveltejs/kit": "workspace:*"
},
"devDependencies": {
"@sveltejs/kit": "workspace:*",
"typescript": "^4.2.4"
}
}
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 dca4946

Please sign in to comment.