diff --git a/package.json b/package.json index bcc25e21..fd5f77f0 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,6 @@ "typescript": "^4.5.4" }, "dependencies": { - "@sveltejs/vite-plugin-svelte": "^1.0.0-next.49", "bookcase-builder": "^0.0.8" }, "bookcase-builder": { diff --git a/packages/builder-vite/package.json b/packages/builder-vite/package.json index 238d5902..dfe3b18f 100644 --- a/packages/builder-vite/package.json +++ b/packages/builder-vite/package.json @@ -16,7 +16,7 @@ "@joshwooding/vite-plugin-react-docgen-typescript": "0.0.4", "@storybook/mdx1-csf": "^0.0.4", "@storybook/source-loader": "^6.4.3", - "@vitejs/plugin-react": "^2.0.0-beta.1", + "@vitejs/plugin-react": "^2.0.0", "ast-types": "^0.14.2", "es-module-lexer": "^0.9.3", "glob": "^7.2.0", @@ -28,16 +28,17 @@ }, "devDependencies": { "@storybook/mdx2-csf": "^0.0.3", + "@sveltejs/vite-plugin-svelte": "^1.0.0", "@types/express": "^4.17.13", "@types/node": "^17.0.23", "vue-docgen-api": "^4.40.0" }, "peerDependencies": { - "@storybook/core-common": ">=6.4.3 || >=6.5.0-alpha.0", + "@storybook/core-common": ">=6.4.3", "@storybook/mdx2-csf": "^0.0.3", - "@storybook/node-logger": ">=6.4.3 || >=6.5.0-alpha.0", - "@storybook/source-loader": ">=6.4.3 || >=6.5.0-alpha.0", - "vite": ">=3.0.0-alpha || >= 3.0.0" + "@storybook/node-logger": ">=6.4.3", + "@storybook/source-loader": ">=6.4.3", + "vite": ">= 3.0.0" }, "peerDependenciesMeta": { "@storybook/mdx2-csf": { diff --git a/yarn.lock b/yarn.lock index 9c794b06..9d87dae6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2860,9 +2860,10 @@ __metadata: "@storybook/mdx1-csf": ^0.0.4 "@storybook/mdx2-csf": ^0.0.3 "@storybook/source-loader": ^6.4.3 + "@sveltejs/vite-plugin-svelte": ^1.0.0 "@types/express": ^4.17.13 "@types/node": ^17.0.23 - "@vitejs/plugin-react": ^2.0.0-beta.1 + "@vitejs/plugin-react": ^2.0.0 ast-types: ^0.14.2 es-module-lexer: ^0.9.3 glob: ^7.2.0 @@ -2873,11 +2874,11 @@ __metadata: sveltedoc-parser: ^4.2.1 vue-docgen-api: ^4.40.0 peerDependencies: - "@storybook/core-common": ">=6.4.3 || >=6.5.0-alpha.0" + "@storybook/core-common": ">=6.4.3" "@storybook/mdx2-csf": ^0.0.3 - "@storybook/node-logger": ">=6.4.3 || >=6.5.0-alpha.0" - "@storybook/source-loader": ">=6.4.3 || >=6.5.0-alpha.0" - vite: ">=3.0.0-alpha || >= 3.0.0" + "@storybook/node-logger": ">=6.4.3" + "@storybook/source-loader": ">=6.4.3" + vite: ">= 3.0.0" peerDependenciesMeta: "@storybook/mdx2-csf": optional: true @@ -3853,24 +3854,24 @@ __metadata: languageName: node linkType: hard -"@sveltejs/vite-plugin-svelte@npm:^1.0.0-next.49": - version: 1.0.0-next.49 - resolution: "@sveltejs/vite-plugin-svelte@npm:1.0.0-next.49" +"@sveltejs/vite-plugin-svelte@npm:^1.0.0": + version: 1.0.1 + resolution: "@sveltejs/vite-plugin-svelte@npm:1.0.1" dependencies: "@rollup/pluginutils": ^4.2.1 debug: ^4.3.4 deepmerge: ^4.2.2 - kleur: ^4.1.4 + kleur: ^4.1.5 magic-string: ^0.26.2 svelte-hmr: ^0.14.12 peerDependencies: diff-match-patch: ^1.0.5 svelte: ^3.44.0 - vite: ^2.9.0 + vite: ^3.0.0 peerDependenciesMeta: diff-match-patch: optional: true - checksum: d87d5a3762eb6bd3970b17d9405537b080a46a2301c487faf6efb776f6102fd1a030fd67d06e88a2cbabadc9162410467cc2dc52624a6edc9ed8cdefe60e635d + checksum: e74559268fb2e425cc7d4cfc8514da6a75b5e032a81a1e9592cda03adde9ab2ec1e0e3cb72bf5e95f71c7967d7c8a4ff9f6cdb784b2db27ce0aba9be4ffb225e languageName: node linkType: hard @@ -4609,6 +4610,23 @@ __metadata: languageName: node linkType: hard +"@vitejs/plugin-react@npm:^2.0.0": + version: 2.0.0 + resolution: "@vitejs/plugin-react@npm:2.0.0" + dependencies: + "@babel/core": ^7.18.6 + "@babel/plugin-transform-react-jsx": ^7.18.6 + "@babel/plugin-transform-react-jsx-development": ^7.18.6 + "@babel/plugin-transform-react-jsx-self": ^7.18.6 + "@babel/plugin-transform-react-jsx-source": ^7.18.6 + magic-string: ^0.26.2 + react-refresh: ^0.14.0 + peerDependencies: + vite: ^3.0.0 + checksum: 27e7968a46c04dffcd32e3a3cce5e0506b6d31544e18964224abcc688ccfa74d8fe99397f99489acf72c324f5a12cb7df39d3f261259603e256b296d5c6f4a89 + languageName: node + linkType: hard + "@vitejs/plugin-react@npm:^2.0.0-beta.1": version: 2.0.0-beta.1 resolution: "@vitejs/plugin-react@npm:2.0.0-beta.1" @@ -12883,7 +12901,7 @@ __metadata: languageName: node linkType: hard -"kleur@npm:^4.0.3, kleur@npm:^4.1.4": +"kleur@npm:^4.0.3, kleur@npm:^4.1.4, kleur@npm:^4.1.5": version: 4.1.5 resolution: "kleur@npm:4.1.5" checksum: 1dc476e32741acf0b1b5b0627ffd0d722e342c1b0da14de3e8ae97821327ca08f9fb944542fb3c126d90ac5f27f9d804edbe7c585bf7d12ef495d115e0f22c12 @@ -17722,7 +17740,6 @@ __metadata: version: 0.0.0-use.local resolution: "storybook-builder-vite-parent@workspace:." dependencies: - "@sveltejs/vite-plugin-svelte": ^1.0.0-next.49 "@typescript-eslint/eslint-plugin": ^5.9.0 "@typescript-eslint/parser": ^5.9.0 bookcase-builder: ^0.0.8