Skip to content

Commit

Permalink
chore: use node adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
bitomic committed Apr 14, 2023
1 parent d3911f7 commit bb48ea7
Show file tree
Hide file tree
Showing 3 changed files with 158 additions and 24 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
"devDependencies": {
"@bitomic/eslint-config": "^1.2.0",
"@playwright/test": "^1.28.1",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/adapter-static": "^2.0.2",
"@sveltejs/kit": "^1.5.0",
"@types/css-tree": "^2.3.1",
"@types/prettier": "^2.7.2",
Expand All @@ -37,6 +35,7 @@
"type": "module",
"packageManager": "yarn@3.4.1",
"dependencies": {
"@sveltejs/adapter-node": "^1.2.3",
"css-tree": "^2.3.1",
"perfectionist-dfd": "^3.0.1",
"postcss": "^8.4.21",
Expand Down
2 changes: 1 addition & 1 deletion svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-static'
import adapter from '@sveltejs/adapter-node'
import preprocess from 'svelte-preprocess'

/** @type {import('@sveltejs/kit').Config} */
Expand Down
177 changes: 156 additions & 21 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -368,23 +368,85 @@ __metadata:
languageName: node
linkType: hard

"@sveltejs/adapter-auto@npm:^2.0.0":
version: 2.0.0
resolution: "@sveltejs/adapter-auto@npm:2.0.0"
"@rollup/plugin-commonjs@npm:^24.0.0":
version: 24.1.0
resolution: "@rollup/plugin-commonjs@npm:24.1.0"
dependencies:
"@rollup/pluginutils": ^5.0.1
commondir: ^1.0.1
estree-walker: ^2.0.2
glob: ^8.0.3
is-reference: 1.2.1
magic-string: ^0.27.0
peerDependencies:
rollup: ^2.68.0||^3.0.0
peerDependenciesMeta:
rollup:
optional: true
checksum: 42faafc9bc8e04d75c86bb50d693ebb9c5eee19bf9ab3c09780b872547d12ff5ea85cfec7da75f5176d0aa4b5233101f667f44b85b331450a7bb14c95180852e
languageName: node
linkType: hard

"@rollup/plugin-json@npm:^6.0.0":
version: 6.0.0
resolution: "@rollup/plugin-json@npm:6.0.0"
dependencies:
import-meta-resolve: ^2.2.0
"@rollup/pluginutils": ^5.0.1
peerDependencies:
"@sveltejs/kit": ^1.0.0
checksum: 7feeb24f5253b3ec4768c130f3498614e26d146e5b45560d5f3f8e3345a821f1c24fff578348fd756625af484f5b1079d33f6ecd1d43d395a192d2d193b5ab0f
rollup: ^1.20.0||^2.0.0||^3.0.0
peerDependenciesMeta:
rollup:
optional: true
checksum: 77cfc941edaf77a5307977704ffaba706d83bea66f265b2b68f14be2a0af6d08b0fb1b04fdd773146c84cc70938ff64b00ae946808fd6ac057058af824d78128
languageName: node
linkType: hard

"@sveltejs/adapter-static@npm:^2.0.2":
version: 2.0.2
resolution: "@sveltejs/adapter-static@npm:2.0.2"
"@rollup/plugin-node-resolve@npm:^15.0.1":
version: 15.0.2
resolution: "@rollup/plugin-node-resolve@npm:15.0.2"
dependencies:
"@rollup/pluginutils": ^5.0.1
"@types/resolve": 1.20.2
deepmerge: ^4.2.2
is-builtin-module: ^3.2.1
is-module: ^1.0.0
resolve: ^1.22.1
peerDependencies:
"@sveltejs/kit": ^1.5.0
checksum: 46473ad215f7fb85cea3d7939d2754589c8dfb224b3373ec0147a652d92962333801984070fc899565488e38cd8e7b2c0952bdd3759c7b7ae5e1fb64285b9e14
rollup: ^2.78.0||^3.0.0
peerDependenciesMeta:
rollup:
optional: true
checksum: 328eafee06ff967a36441b55e77fbd0d4f599d256e5d1977800ee71915846c46bc1b6185df35c7b512ad2b4023b05b65a332be77b8b00b9d8a20f87d056b8166
languageName: node
linkType: hard

"@rollup/pluginutils@npm:^5.0.1":
version: 5.0.2
resolution: "@rollup/pluginutils@npm:5.0.2"
dependencies:
"@types/estree": ^1.0.0
estree-walker: ^2.0.2
picomatch: ^2.3.1
peerDependencies:
rollup: ^1.20.0||^2.0.0||^3.0.0
peerDependenciesMeta:
rollup:
optional: true
checksum: edea15e543bebc7dcac3b0ac8bc7b8e8e6dbd46e2864dbe5dd28072de1fbd5b0e10d545a610c0edaa178e8a7ac432e2a2a52e547ece1308471412caba47db8ce
languageName: node
linkType: hard

"@sveltejs/adapter-node@npm:^1.2.3":
version: 1.2.3
resolution: "@sveltejs/adapter-node@npm:1.2.3"
dependencies:
"@rollup/plugin-commonjs": ^24.0.0
"@rollup/plugin-json": ^6.0.0
"@rollup/plugin-node-resolve": ^15.0.1
rollup: ^3.7.0
peerDependencies:
"@sveltejs/kit": ^1.0.0
checksum: 266e7115b35ff101012fd1d87d55c467e48b9a5b72fb5b7ab8711bb830ef7cb10fd58c9f504f2a443f5a3e9ef560673e782a0788fa3d8623f4ff497e938b0166
languageName: node
linkType: hard

Expand Down Expand Up @@ -468,6 +530,13 @@ __metadata:
languageName: node
linkType: hard

"@types/estree@npm:*, @types/estree@npm:^1.0.0":
version: 1.0.0
resolution: "@types/estree@npm:1.0.0"
checksum: 910d97fb7092c6738d30a7430ae4786a38542023c6302b95d46f49420b797f21619cdde11fa92b338366268795884111c2eb10356e4bd2c8ad5b92941e9e6443
languageName: node
linkType: hard

"@types/json-schema@npm:^7.0.9":
version: 7.0.11
resolution: "@types/json-schema@npm:7.0.11"
Expand Down Expand Up @@ -496,6 +565,13 @@ __metadata:
languageName: node
linkType: hard

"@types/resolve@npm:1.20.2":
version: 1.20.2
resolution: "@types/resolve@npm:1.20.2"
checksum: 61c2cad2499ffc8eab36e3b773945d337d848d3ac6b7b0a87c805ba814bc838ef2f262fc0f109bfd8d2e0898ff8bd80ad1025f9ff64f1f71d3d4294c9f14e5f6
languageName: node
linkType: hard

"@types/sass@npm:^1.43.1":
version: 1.43.1
resolution: "@types/sass@npm:1.43.1"
Expand Down Expand Up @@ -869,6 +945,13 @@ __metadata:
languageName: node
linkType: hard

"builtin-modules@npm:^3.3.0":
version: 3.3.0
resolution: "builtin-modules@npm:3.3.0"
checksum: db021755d7ed8be048f25668fe2117620861ef6703ea2c65ed2779c9e3636d5c3b82325bd912244293959ff3ae303afa3471f6a15bf5060c103e4cc3a839749d
languageName: node
linkType: hard

"busboy@npm:^1.6.0":
version: 1.6.0
resolution: "busboy@npm:1.6.0"
Expand Down Expand Up @@ -1020,6 +1103,13 @@ __metadata:
languageName: node
linkType: hard

"commondir@npm:^1.0.1":
version: 1.0.1
resolution: "commondir@npm:1.0.1"
checksum: 59715f2fc456a73f68826285718503340b9f0dd89bfffc42749906c5cf3d4277ef11ef1cca0350d0e79204f00f1f6d83851ececc9095dc88512a697ac0b9bdcb
languageName: node
linkType: hard

"concat-map@npm:0.0.1":
version: 0.0.1
resolution: "concat-map@npm:0.0.1"
Expand Down Expand Up @@ -1100,6 +1190,13 @@ __metadata:
languageName: node
linkType: hard

"deepmerge@npm:^4.2.2":
version: 4.3.1
resolution: "deepmerge@npm:4.3.1"
checksum: 2024c6a980a1b7128084170c4cf56b0fd58a63f2da1660dcfe977415f27b17dbe5888668b59d0b063753f3220719d5e400b7f113609489c90160bb9a5518d052
languageName: node
linkType: hard

"deepmerge@npm:^4.3.0":
version: 4.3.0
resolution: "deepmerge@npm:4.3.0"
Expand Down Expand Up @@ -1517,6 +1614,13 @@ __metadata:
languageName: node
linkType: hard

"estree-walker@npm:^2.0.2":
version: 2.0.2
resolution: "estree-walker@npm:2.0.2"
checksum: 6151e6f9828abe2259e57f5fd3761335bb0d2ebd76dc1a01048ccee22fabcfef3c0859300f6d83ff0d1927849368775ec5a6d265dde2f6de5a1be1721cd94efc
languageName: node
linkType: hard

"esutils@npm:^2.0.2":
version: 2.0.3
resolution: "esutils@npm:2.0.3"
Expand Down Expand Up @@ -1765,7 +1869,7 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:^8.0.1":
"glob@npm:^8.0.1, glob@npm:^8.0.3":
version: 8.1.0
resolution: "glob@npm:8.1.0"
dependencies:
Expand Down Expand Up @@ -1979,13 +2083,6 @@ __metadata:
languageName: node
linkType: hard

"import-meta-resolve@npm:^2.2.0":
version: 2.2.2
resolution: "import-meta-resolve@npm:2.2.2"
checksum: 3a5910a6f914b5f06b307d7d1c25710bc56f12e21e923d5b2180dd0d53c6c2d51e7b55df26f168b63f5670babcaca9422b7a9429e877bbb8c1997d79bd65882b
languageName: node
linkType: hard

"imurmurhash@npm:^0.1.4":
version: 0.1.4
resolution: "imurmurhash@npm:0.1.4"
Expand Down Expand Up @@ -2081,6 +2178,15 @@ __metadata:
languageName: node
linkType: hard

"is-builtin-module@npm:^3.2.1":
version: 3.2.1
resolution: "is-builtin-module@npm:3.2.1"
dependencies:
builtin-modules: ^3.3.0
checksum: e8f0ffc19a98240bda9c7ada84d846486365af88d14616e737d280d378695c8c448a621dcafc8332dbf0fcd0a17b0763b845400709963fa9151ddffece90ae88
languageName: node
linkType: hard

"is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.2.7":
version: 1.2.7
resolution: "is-callable@npm:1.2.7"
Expand Down Expand Up @@ -2146,6 +2252,13 @@ __metadata:
languageName: node
linkType: hard

"is-module@npm:^1.0.0":
version: 1.0.0
resolution: "is-module@npm:1.0.0"
checksum: 8cd5390730c7976fb4e8546dd0b38865ee6f7bacfa08dfbb2cc07219606755f0b01709d9361e01f13009bbbd8099fa2927a8ed665118a6105d66e40f1b838c3f
languageName: node
linkType: hard

"is-negative-zero@npm:^2.0.2":
version: 2.0.2
resolution: "is-negative-zero@npm:2.0.2"
Expand Down Expand Up @@ -2183,6 +2296,15 @@ __metadata:
languageName: node
linkType: hard

"is-reference@npm:1.2.1":
version: 1.2.1
resolution: "is-reference@npm:1.2.1"
dependencies:
"@types/estree": "*"
checksum: e7b48149f8abda2c10849ea51965904d6a714193d68942ad74e30522231045acf06cbfae5a4be2702fede5d232e61bf50b3183acdc056e6e3afe07fcf4f4b2bc
languageName: node
linkType: hard

"is-regex@npm:^1.0.3, is-regex@npm:^1.1.4":
version: 1.1.4
resolution: "is-regex@npm:1.1.4"
Expand Down Expand Up @@ -3210,6 +3332,20 @@ __metadata:
languageName: node
linkType: hard

"rollup@npm:^3.7.0":
version: 3.20.2
resolution: "rollup@npm:3.20.2"
dependencies:
fsevents: ~2.3.2
dependenciesMeta:
fsevents:
optional: true
bin:
rollup: dist/bin/rollup
checksum: 34b0932839b7c2a5d1742fb21ce95a47e0b49a0849f4abee2dccf25833187aa7babb898ca90d4fc761cffa4102b9ed0ac6ad7f6f6b96c8b8e2d67305abc5da65
languageName: node
linkType: hard

"run-parallel@npm:^1.1.9":
version: 1.2.0
resolution: "run-parallel@npm:1.2.0"
Expand Down Expand Up @@ -3668,8 +3804,7 @@ __metadata:
dependencies:
"@bitomic/eslint-config": ^1.2.0
"@playwright/test": ^1.28.1
"@sveltejs/adapter-auto": ^2.0.0
"@sveltejs/adapter-static": ^2.0.2
"@sveltejs/adapter-node": ^1.2.3
"@sveltejs/kit": ^1.5.0
"@types/css-tree": ^2.3.1
"@types/prettier": ^2.7.2
Expand Down

0 comments on commit bb48ea7

Please sign in to comment.