Skip to content

Commit

Permalink
Merge pull request #23336 from storybookjs/svelte-4-webpack
Browse files Browse the repository at this point in the history
Svelte-Webpack: Support Svelte v4
  • Loading branch information
JReinhold authored Jul 10, 2023
2 parents cb576dc + 9454c55 commit 5f58f5c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 24 deletions.
6 changes: 3 additions & 3 deletions code/frameworks/svelte-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@
"@storybook/svelte": "7.1.0-beta.2"
},
"devDependencies": {
"svelte": "^3.48.0",
"svelte-loader": "^3.1.2",
"svelte": "^4.0.0",
"svelte-loader": "^3.1.9",
"typescript": "~4.9.3"
},
"peerDependencies": {
"@babel/core": "*",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
"svelte": "^3.48.0",
"svelte": "^3.48.0 || ^4.0.0",
"svelte-loader": "*"
},
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions code/presets/svelte-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@
"ts-dedent": "^2.0.0"
},
"devDependencies": {
"svelte": "^3.31.2",
"svelte-loader": "^3.1.2",
"svelte": "^4.0.0",
"svelte-loader": "^3.1.9",
"typescript": "~4.9.3"
},
"peerDependencies": {
"@babel/core": "*",
"svelte": "^3.1.0",
"svelte": "^3.1.0 || ^4.0.0",
"svelte-loader": "*"
},
"engines": {
Expand Down
29 changes: 11 additions & 18 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6857,14 +6857,14 @@ __metadata:
dependencies:
"@storybook/core-webpack": 7.1.0-beta.2
"@storybook/node-logger": 7.1.0-beta.2
svelte: ^3.31.2
svelte-loader: ^3.1.2
svelte: ^4.0.0
svelte-loader: ^3.1.9
sveltedoc-parser: ^4.2.1
ts-dedent: ^2.0.0
typescript: ~4.9.3
peerDependencies:
"@babel/core": "*"
svelte: ^3.1.0
svelte: ^3.1.0 || ^4.0.0
svelte-loader: "*"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -7396,14 +7396,14 @@ __metadata:
"@storybook/core-common": 7.1.0-beta.2
"@storybook/preset-svelte-webpack": 7.1.0-beta.2
"@storybook/svelte": 7.1.0-beta.2
svelte: ^3.48.0
svelte-loader: ^3.1.2
svelte: ^4.0.0
svelte-loader: ^3.1.9
typescript: ~4.9.3
peerDependencies:
"@babel/core": "*"
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
svelte: ^3.48.0
svelte: ^3.48.0 || ^4.0.0
svelte-loader: "*"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -28745,16 +28745,16 @@ __metadata:
languageName: node
linkType: hard

"svelte-loader@npm:^3.1.2":
version: 3.1.8
resolution: "svelte-loader@npm:3.1.8"
"svelte-loader@npm:^3.1.9":
version: 3.1.9
resolution: "svelte-loader@npm:3.1.9"
dependencies:
loader-utils: ^2.0.4
svelte-dev-helper: ^1.1.9
svelte-hmr: ^0.14.2
peerDependencies:
svelte: ^3.0.0 || 4.0.0-next.0 || 4.0.0-next.1 || ^4.0.0
checksum: a0a1da03dbac8f708f621c7934f7a9b0b7ae06f52c07a1703bb330068ced0fd710492c7fa134f6f6267d0eb1e3b002f805b3d54e1c614a4f9fe968f45ffeecb3
svelte: ^3.0.0 || ^4.0.0-next.0
checksum: b71593c06756882f0d6e690d050af497dd4b51074699d33dbc7016c7ea21858619d55fc087c7a205178f92e0ded7b3c3f68ec1a7645847098199d40377afb1ef
languageName: node
linkType: hard

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

"svelte@npm:^3.31.2, svelte@npm:^3.48.0":
version: 3.59.1
resolution: "svelte@npm:3.59.1"
checksum: 12a250de5c359d3a184f15727d5e61e45103a795adb32e8c4100a40929d987832ab7edcbfe357d86863c0819ad4edbd69bfc83ac33bf9b5e47a233a621fbcc3e
languageName: node
linkType: hard

"svelte@npm:^4.0.0":
version: 4.0.0
resolution: "svelte@npm:4.0.0"
Expand Down

0 comments on commit 5f58f5c

Please sign in to comment.