mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 04:21:16 +08:00
Merge branch 'next' into cli/empty-project-init
This commit is contained in:
commit
8a2baffb24
@ -159,7 +159,6 @@
|
||||
"@storybook/preset-react-webpack": "workspace:*",
|
||||
"@storybook/preset-server-webpack": "workspace:*",
|
||||
"@storybook/preset-svelte-webpack": "workspace:*",
|
||||
"@storybook/preset-vue-webpack": "workspace:*",
|
||||
"@storybook/preset-vue3-webpack": "workspace:*",
|
||||
"@storybook/preset-web-components-webpack": "workspace:*",
|
||||
"@storybook/preview": "workspace:*",
|
||||
|
@ -1,6 +0,0 @@
|
||||
# Storybook Webpack preset for Vue
|
||||
|
||||
This package is a [preset](https://storybook.js.org/docs/vue/addons/writing-presets#presets-api) that configures Storybook's webpack settings for handling Vue.
|
||||
It's an internal package that's not intended to be used directly by users.
|
||||
|
||||
- More info on [Storybook for Vue](https://storybook.js.org/docs/vue/get-started)
|
@ -1,100 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/preset-vue-webpack",
|
||||
"version": "8.0.0-alpha.1",
|
||||
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
],
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/next/code/presets/vue-webpack",
|
||||
"bugs": {
|
||||
"url": "https://github.com/storybookjs/storybook/issues"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/storybookjs/storybook.git",
|
||||
"directory": "code/presets/vue-webpack"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/storybook"
|
||||
},
|
||||
"license": "MIT",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"node": "./dist/index.js",
|
||||
"require": "./dist/index.js",
|
||||
"import": "./dist/index.mjs"
|
||||
},
|
||||
"./preset": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"node": "./dist/index.js",
|
||||
"require": "./dist/index.js",
|
||||
"import": "./dist/index.mjs"
|
||||
},
|
||||
"./dist/framework-preset-vue-docs": {
|
||||
"types": "./dist/framework-preset-vue-docs.d.ts",
|
||||
"require": "./dist/framework-preset-vue-docs.js",
|
||||
"import": "./dist/framework-preset-vue-docs.mjs"
|
||||
},
|
||||
"./dist/framework-preset-vue": {
|
||||
"types": "./dist/framework-preset-vue.d.ts",
|
||||
"require": "./dist/framework-preset-vue.js",
|
||||
"import": "./dist/framework-preset-vue.mjs"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
"dist/**/*",
|
||||
"README.md",
|
||||
"*.js",
|
||||
"*.d.ts",
|
||||
"!src/**/*"
|
||||
],
|
||||
"scripts": {
|
||||
"check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
|
||||
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core-webpack": "workspace:*",
|
||||
"@storybook/docs-tools": "workspace:*",
|
||||
"@types/node": "^18.0.0",
|
||||
"ts-loader": "^9.2.8",
|
||||
"vue-docgen-api": "^4.44.23",
|
||||
"vue-docgen-loader": "^1.5.1",
|
||||
"webpack": "5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.3.2",
|
||||
"vue": "^2.6.12",
|
||||
"vue-loader": "^15.7.0",
|
||||
"vue-template-compiler": "^2.6.14",
|
||||
"webpack": "5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "*",
|
||||
"babel-loader": "^7.0.0 || ^8.0.0 || ^9.0.0",
|
||||
"css-loader": "*",
|
||||
"vue": "^2.6.8",
|
||||
"vue-loader": "^15.7.0",
|
||||
"vue-template-compiler": "^2.6.14"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.0.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"bundler": {
|
||||
"entries": [
|
||||
"./src/index.ts",
|
||||
"./src/framework-preset-vue-docs.ts",
|
||||
"./src/framework-preset-vue.ts"
|
||||
],
|
||||
"platform": "node"
|
||||
},
|
||||
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17"
|
||||
}
|
@ -1 +0,0 @@
|
||||
module.exports = require('./dist/index');
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": "@storybook/preset-vue-webpack",
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"implicitDependencies": [],
|
||||
"type": "library"
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
import type { StorybookConfig } from '@storybook/core-webpack';
|
||||
import { hasDocsOrControls } from '@storybook/docs-tools';
|
||||
|
||||
export const webpackFinal: StorybookConfig['webpackFinal'] = (config, options) => {
|
||||
if (!hasDocsOrControls(options)) return config;
|
||||
|
||||
let vueDocgenOptions = {};
|
||||
|
||||
options.presetsList?.forEach((preset) => {
|
||||
if (preset.name.includes('addon-docs') && preset.options.vueDocgenOptions) {
|
||||
const appendableOptions = preset.options.vueDocgenOptions;
|
||||
vueDocgenOptions = {
|
||||
...vueDocgenOptions,
|
||||
...appendableOptions,
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
config.module?.rules?.push({
|
||||
test: /\.vue$/,
|
||||
loader: require.resolve('vue-docgen-loader', {
|
||||
paths: [require.resolve('@storybook/preset-vue-webpack')],
|
||||
}),
|
||||
enforce: 'post',
|
||||
options: {
|
||||
docgenOptions: {
|
||||
alias: config.resolve?.alias,
|
||||
...vueDocgenOptions,
|
||||
},
|
||||
},
|
||||
});
|
||||
return config;
|
||||
};
|
@ -1,49 +0,0 @@
|
||||
/* eslint-disable no-param-reassign */
|
||||
import { VueLoaderPlugin } from 'vue-loader';
|
||||
|
||||
import type { StorybookConfig } from '@storybook/core-webpack';
|
||||
|
||||
export const webpack: StorybookConfig['webpack'] = async (config, { presets }) => {
|
||||
const typescriptOptions = await presets.apply('typescript', {});
|
||||
|
||||
config.plugins?.push(new VueLoaderPlugin());
|
||||
config.module?.rules?.push({
|
||||
test: /\.vue$/,
|
||||
loader: require.resolve('vue-loader'),
|
||||
options: {},
|
||||
});
|
||||
config.module?.rules?.push({
|
||||
test: /\.ts$/,
|
||||
use: [
|
||||
{
|
||||
loader: require.resolve('ts-loader'),
|
||||
options: {
|
||||
transpileOnly: !typescriptOptions?.check,
|
||||
appendTsSuffixTo: [/\.vue$/],
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
config.module?.rules?.push({
|
||||
test: /\.tsx$/,
|
||||
use: [
|
||||
{
|
||||
loader: require.resolve('ts-loader'),
|
||||
options: {
|
||||
transpileOnly: true,
|
||||
appendTsxSuffixTo: [/\.vue$/],
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
if (config.resolve) {
|
||||
config.resolve.extensions?.push('.vue');
|
||||
config.resolve.alias = {
|
||||
...config.resolve.alias,
|
||||
vue$: require.resolve('vue/dist/vue.esm.js'),
|
||||
};
|
||||
}
|
||||
|
||||
return config;
|
||||
};
|
@ -1,8 +0,0 @@
|
||||
import type { PresetProperty } from '@storybook/types';
|
||||
|
||||
export * from './types';
|
||||
|
||||
export const addons: PresetProperty<'addons'> = [
|
||||
require.resolve('@storybook/preset-vue-webpack/dist/framework-preset-vue'),
|
||||
require.resolve('@storybook/preset-vue-webpack/dist/framework-preset-vue-docs'),
|
||||
];
|
@ -1 +0,0 @@
|
||||
export type { BuilderResult, TypescriptOptions, StorybookConfig } from '@storybook/core-webpack';
|
1
code/presets/vue-webpack/src/typings.d.ts
vendored
1
code/presets/vue-webpack/src/typings.d.ts
vendored
@ -1 +0,0 @@
|
||||
declare module 'vue-loader';
|
@ -1,9 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"skipLibCheck": true,
|
||||
"resolveJsonModule": true,
|
||||
"strict": true
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
}
|
172
code/yarn.lock
172
code/yarn.lock
@ -690,7 +690,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.11.5, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.4, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.4, @babel/parser@npm:^7.22.15, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.3, @babel/parser@npm:^7.23.5, @babel/parser@npm:^7.4.5, @babel/parser@npm:^7.6.0, @babel/parser@npm:^7.7.0, @babel/parser@npm:^7.9.6":
|
||||
"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.11.5, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.4, @babel/parser@npm:^7.22.15, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.3, @babel/parser@npm:^7.23.5, @babel/parser@npm:^7.4.5, @babel/parser@npm:^7.6.0, @babel/parser@npm:^7.7.0, @babel/parser@npm:^7.9.6":
|
||||
version: 7.23.5
|
||||
resolution: "@babel/parser@npm:7.23.5"
|
||||
bin:
|
||||
@ -6205,31 +6205,6 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@storybook/preset-vue-webpack@workspace:*, @storybook/preset-vue-webpack@workspace:presets/vue-webpack":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/preset-vue-webpack@workspace:presets/vue-webpack"
|
||||
dependencies:
|
||||
"@storybook/core-webpack": "workspace:*"
|
||||
"@storybook/docs-tools": "workspace:*"
|
||||
"@types/node": "npm:^18.0.0"
|
||||
ts-loader: "npm:^9.2.8"
|
||||
typescript: "npm:^5.3.2"
|
||||
vue: "npm:^2.6.12"
|
||||
vue-docgen-api: "npm:^4.44.23"
|
||||
vue-docgen-loader: "npm:^1.5.1"
|
||||
vue-loader: "npm:^15.7.0"
|
||||
vue-template-compiler: "npm:^2.6.14"
|
||||
webpack: "npm:5"
|
||||
peerDependencies:
|
||||
"@babel/core": "*"
|
||||
babel-loader: ^7.0.0 || ^8.0.0 || ^9.0.0
|
||||
css-loader: "*"
|
||||
vue: ^2.6.8
|
||||
vue-loader: ^15.7.0
|
||||
vue-template-compiler: ^2.6.14
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@storybook/preset-vue3-webpack@workspace:*, @storybook/preset-vue3-webpack@workspace:presets/vue3-webpack":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@storybook/preset-vue3-webpack@workspace:presets/vue3-webpack"
|
||||
@ -6496,7 +6471,6 @@ __metadata:
|
||||
"@storybook/preset-react-webpack": "workspace:*"
|
||||
"@storybook/preset-server-webpack": "workspace:*"
|
||||
"@storybook/preset-svelte-webpack": "workspace:*"
|
||||
"@storybook/preset-vue-webpack": "workspace:*"
|
||||
"@storybook/preset-vue3-webpack": "workspace:*"
|
||||
"@storybook/preset-web-components-webpack": "workspace:*"
|
||||
"@storybook/preview": "workspace:*"
|
||||
@ -8880,17 +8854,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vue/compiler-sfc@npm:2.7.15":
|
||||
version: 2.7.15
|
||||
resolution: "@vue/compiler-sfc@npm:2.7.15"
|
||||
dependencies:
|
||||
"@babel/parser": "npm:^7.18.4"
|
||||
postcss: "npm:^8.4.14"
|
||||
source-map: "npm:^0.6.1"
|
||||
checksum: d5dc7667bea091702657cd9263371d407d708ab0a571da01ebff5870b7800ac709678285c7dc86ae23a0757ff8a5de13dceffc063687be6a7700f58519bd5f57
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vue/compiler-sfc@npm:3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "@vue/compiler-sfc@npm:3.0.0"
|
||||
@ -8955,26 +8918,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vue/component-compiler-utils@npm:^3.1.0":
|
||||
version: 3.3.0
|
||||
resolution: "@vue/component-compiler-utils@npm:3.3.0"
|
||||
dependencies:
|
||||
consolidate: "npm:^0.15.1"
|
||||
hash-sum: "npm:^1.0.2"
|
||||
lru-cache: "npm:^4.1.2"
|
||||
merge-source-map: "npm:^1.1.0"
|
||||
postcss: "npm:^7.0.36"
|
||||
postcss-selector-parser: "npm:^6.0.2"
|
||||
prettier: "npm:^1.18.2 || ^2.0.0"
|
||||
source-map: "npm:~0.6.1"
|
||||
vue-template-es2015-compiler: "npm:^1.9.0"
|
||||
dependenciesMeta:
|
||||
prettier:
|
||||
optional: true
|
||||
checksum: ab471a561c29a307b92d019be9f0404157d7bec4ac5040bffea918db4fadc784765a52d9621bef9330a108eb123d1bcb4c276bf1c53fd6f4ac022739b3b80cbe
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@vue/language-core@npm:1.8.24":
|
||||
version: 1.8.24
|
||||
resolution: "@vue/language-core@npm:1.8.24"
|
||||
@ -10628,7 +10571,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"bluebird@npm:^3.1.1, bluebird@npm:^3.7.2":
|
||||
"bluebird@npm:^3.7.2":
|
||||
version: 3.7.2
|
||||
resolution: "bluebird@npm:3.7.2"
|
||||
checksum: 680de03adc54ff925eaa6c7bb9a47a0690e8b5de60f4792604aae8ed618c65e6b63a7893b57ca924beaf53eee69c5af4f8314148c08124c550fe1df1add897d2
|
||||
@ -12238,15 +12181,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"consolidate@npm:^0.15.1":
|
||||
version: 0.15.1
|
||||
resolution: "consolidate@npm:0.15.1"
|
||||
dependencies:
|
||||
bluebird: "npm:^3.1.1"
|
||||
checksum: 02dfbab0a8d5452b74c42dee81526b26a42350ed333575c4f8f099957d02a2dbc92a1f89103b85e83b61371e08a16113ebcddbb38eded53402302e0748f608e1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"consolidate@npm:^0.16.0":
|
||||
version: 0.16.0
|
||||
resolution: "consolidate@npm:0.16.0"
|
||||
@ -12712,7 +12646,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"csstype@npm:^3.0.2, csstype@npm:^3.1.0, csstype@npm:^3.1.2":
|
||||
"csstype@npm:^3.0.2, csstype@npm:^3.1.2":
|
||||
version: 3.1.2
|
||||
resolution: "csstype@npm:3.1.2"
|
||||
checksum: 32c038af259897c807ac738d9eab16b3d86747c72b09d5c740978e06f067f9b7b1737e1b75e407c7ab1fe1543dc95f20e202b4786aeb1b8d3bdf5d5ce655e6c6
|
||||
@ -16735,13 +16669,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"hash-sum@npm:^1.0.2":
|
||||
version: 1.0.2
|
||||
resolution: "hash-sum@npm:1.0.2"
|
||||
checksum: 311b2d7ea317b128860a88c7fd3ae46aef010b7fd7418a44afd2787cd889f24d635fa1e22a51bd5a5d8e338597c1da917d81f572e0de2f375e52e96c9fb63a66
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"hash-sum@npm:^2.0.0":
|
||||
version: 2.0.0
|
||||
resolution: "hash-sum@npm:2.0.0"
|
||||
@ -19704,7 +19631,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"loader-utils@npm:^1.0.2, loader-utils@npm:^1.1.0, loader-utils@npm:^1.2.3":
|
||||
"loader-utils@npm:^1.1.0, loader-utils@npm:^1.2.3":
|
||||
version: 1.4.2
|
||||
resolution: "loader-utils@npm:1.4.2"
|
||||
dependencies:
|
||||
@ -20024,16 +19951,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lru-cache@npm:^4.1.2":
|
||||
version: 4.1.5
|
||||
resolution: "lru-cache@npm:4.1.5"
|
||||
dependencies:
|
||||
pseudomap: "npm:^1.0.2"
|
||||
yallist: "npm:^2.1.2"
|
||||
checksum: 1ca5306814e5add9ec63556d6fd9b24a4ecdeaef8e9cea52cbf30301e6b88c8d8ddc7cab45b59b56eb763e6c45af911585dc89925a074ab65e1502e3fe8103cf
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lru-cache@npm:^5.1.1":
|
||||
version: 5.1.1
|
||||
resolution: "lru-cache@npm:5.1.1"
|
||||
@ -23459,7 +23376,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"postcss@npm:8.4.31, postcss@npm:^8.2.14, postcss@npm:^8.4.14, postcss@npm:^8.4.21, postcss@npm:^8.4.23, postcss@npm:^8.4.27, postcss@npm:^8.4.31":
|
||||
"postcss@npm:8.4.31, postcss@npm:^8.2.14, postcss@npm:^8.4.21, postcss@npm:^8.4.23, postcss@npm:^8.4.27, postcss@npm:^8.4.31":
|
||||
version: 8.4.31
|
||||
resolution: "postcss@npm:8.4.31"
|
||||
dependencies:
|
||||
@ -23470,7 +23387,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"postcss@npm:^7.0.14, postcss@npm:^7.0.32, postcss@npm:^7.0.36, postcss@npm:^7.0.5, postcss@npm:^7.0.6":
|
||||
"postcss@npm:^7.0.14, postcss@npm:^7.0.32, postcss@npm:^7.0.5, postcss@npm:^7.0.6":
|
||||
version: 7.0.39
|
||||
resolution: "postcss@npm:7.0.39"
|
||||
dependencies:
|
||||
@ -23534,7 +23451,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"prettier@npm:^1.18.2 || ^2.0.0, prettier@npm:^2.8.0":
|
||||
"prettier@npm:^2.8.0":
|
||||
version: 2.8.8
|
||||
resolution: "prettier@npm:2.8.8"
|
||||
bin:
|
||||
@ -23770,13 +23687,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"pseudomap@npm:^1.0.2":
|
||||
version: 1.0.2
|
||||
resolution: "pseudomap@npm:1.0.2"
|
||||
checksum: 5a91ce114c64ed3a6a553aa7d2943868811377388bb31447f9d8028271bae9b05b340fe0b6961a64e45b9c72946aeb0a4ab635e8f7cb3715ffd0ff2beeb6a679
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"psl@npm:^1.1.33":
|
||||
version: 1.9.0
|
||||
resolution: "psl@npm:1.9.0"
|
||||
@ -29098,7 +29008,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vue-docgen-api@npm:^4.40.0, vue-docgen-api@npm:^4.44.23, vue-docgen-api@npm:^4.46.0":
|
||||
"vue-docgen-api@npm:^4.40.0, vue-docgen-api@npm:^4.46.0":
|
||||
version: 4.75.1
|
||||
resolution: "vue-docgen-api@npm:4.75.1"
|
||||
dependencies:
|
||||
@ -29134,13 +29044,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vue-hot-reload-api@npm:^2.3.0":
|
||||
version: 2.3.4
|
||||
resolution: "vue-hot-reload-api@npm:2.3.4"
|
||||
checksum: 6501a93582c2bba0f17564d1c61b4301e844e14fbac1cb7c3d726c40961375aefa89f2cc4ee8289c3663e12d108c28a5872ba35cfa7f091d1bcaa39feff9ac60
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vue-inbrowser-compiler-independent-utils@npm:^4.69.0":
|
||||
version: 4.71.1
|
||||
resolution: "vue-inbrowser-compiler-independent-utils@npm:4.71.1"
|
||||
@ -29150,29 +29053,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vue-loader@npm:^15.7.0":
|
||||
version: 15.11.1
|
||||
resolution: "vue-loader@npm:15.11.1"
|
||||
dependencies:
|
||||
"@vue/component-compiler-utils": "npm:^3.1.0"
|
||||
hash-sum: "npm:^1.0.2"
|
||||
loader-utils: "npm:^1.1.0"
|
||||
vue-hot-reload-api: "npm:^2.3.0"
|
||||
vue-style-loader: "npm:^4.1.0"
|
||||
peerDependencies:
|
||||
css-loader: "*"
|
||||
webpack: ^3.0.0 || ^4.1.0 || ^5.0.0-0
|
||||
peerDependenciesMeta:
|
||||
cache-loader:
|
||||
optional: true
|
||||
prettier:
|
||||
optional: true
|
||||
vue-template-compiler:
|
||||
optional: true
|
||||
checksum: 22491414f3743d485cf8d966837314706abf35d330bf055e356d55f16df8d4ab21fb712c7168509f7492d62cdf799aedf8d31df36d89bd5a4479b9f90fa094c1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vue-loader@npm:^16.0.0":
|
||||
version: 16.8.3
|
||||
resolution: "vue-loader@npm:16.8.3"
|
||||
@ -29186,17 +29066,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vue-style-loader@npm:^4.1.0":
|
||||
version: 4.1.3
|
||||
resolution: "vue-style-loader@npm:4.1.3"
|
||||
dependencies:
|
||||
hash-sum: "npm:^1.0.2"
|
||||
loader-utils: "npm:^1.0.2"
|
||||
checksum: 871362711561c817c6b96650cf4bcf422c51d46808650da7e6ec39499d76445d08a1f9f1d1aa0f6cffb191cd128fbd77b6e233d9689a87c21d7e546689bed04c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vue-template-compiler@npm:^2.6.14, vue-template-compiler@npm:^2.7.14":
|
||||
"vue-template-compiler@npm:^2.7.14":
|
||||
version: 2.7.15
|
||||
resolution: "vue-template-compiler@npm:2.7.15"
|
||||
dependencies:
|
||||
@ -29206,13 +29076,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vue-template-es2015-compiler@npm:^1.9.0":
|
||||
version: 1.9.1
|
||||
resolution: "vue-template-es2015-compiler@npm:1.9.1"
|
||||
checksum: 21d27d1c6afe10a47f17793e18afb7f321888d3ca728bfdb2a79ff49789ed9b40e98abcb68b5499f3da1bbb76a0f188b94aeb5ab0e879f46d6399ac5d4ae38c8
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vue-tsc@npm:latest":
|
||||
version: 1.8.24
|
||||
resolution: "vue-tsc@npm:1.8.24"
|
||||
@ -29239,16 +29102,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vue@npm:^2.6.12":
|
||||
version: 2.7.15
|
||||
resolution: "vue@npm:2.7.15"
|
||||
dependencies:
|
||||
"@vue/compiler-sfc": "npm:2.7.15"
|
||||
csstype: "npm:^3.1.0"
|
||||
checksum: 92bc7bcef1a54fe6b98409a7094f7c8b1f4b8fcf52469380f130d0d671d581130b1ef8715f0e95020fc5dbffff7f519a0621206484b3fdee5e6319a76073fb0c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"vue@npm:^3.2.33, vue@npm:^3.2.47":
|
||||
version: 3.3.9
|
||||
resolution: "vue@npm:3.3.9"
|
||||
@ -30008,13 +29861,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yallist@npm:^2.1.2":
|
||||
version: 2.1.2
|
||||
resolution: "yallist@npm:2.1.2"
|
||||
checksum: 0b9e25aa00adf19e01d2bcd4b208aee2b0db643d9927131797b7af5ff69480fc80f1c3db738cbf3946f0bddf39d8f2d0a5709c644fd42d4aa3a4e6e786c087b5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yallist@npm:^3.0.2":
|
||||
version: 3.1.1
|
||||
resolution: "yallist@npm:3.1.1"
|
||||
|
@ -15,7 +15,5 @@
|
||||
```
|
||||
|
||||
- For other installation issues, check the Vue README files for additional instructions:
|
||||
- [Vue 2 with Webpack](https://github.com/storybookjs/storybook/tree/next/code/frameworks/vue-webpack5)
|
||||
- [Vue 2 with Vite](https://github.com/storybookjs/storybook/tree/next/code/frameworks/vue-vite)
|
||||
- [Vue 3 with Webpack](https://github.com/storybookjs/storybook/tree/next/code/frameworks/vue3-webpack5)
|
||||
- [Vue 3 with Vite](https://github.com/storybookjs/storybook/tree/next/code/frameworks/vue3-vite)
|
||||
|
@ -57,7 +57,6 @@
|
||||
"@storybook/preset-react-webpack": "portal:../../code/presets/react-webpack",
|
||||
"@storybook/preset-server-webpack": "portal:../../code/presets/server-webpack",
|
||||
"@storybook/preset-svelte-webpack": "portal:../../code/presets/svelte-webpack",
|
||||
"@storybook/preset-vue-webpack": "portal:../../code/presets/vue-webpack",
|
||||
"@storybook/preset-vue3-webpack": "portal:../../code/presets/vue3-webpack",
|
||||
"@storybook/preset-web-components-webpack": "portal:../../code/presets/web-components-webpack",
|
||||
"@storybook/react": "portal:../../code/renderers/react",
|
||||
@ -74,7 +73,6 @@
|
||||
"@storybook/theming": "portal:../../code/lib/theming",
|
||||
"@storybook/vue": "portal:../../code/renderers/vue",
|
||||
"@storybook/vue-vite": "portal:../../code/frameworks/vue-vite",
|
||||
"@storybook/vue-webpack5": "portal:../../code/frameworks/vue-webpack5",
|
||||
"@storybook/vue3": "portal:../../code/renderers/vue3",
|
||||
"@storybook/vue3-vite": "portal:../../code/frameworks/vue3-vite",
|
||||
"@storybook/vue3-webpack5": "portal:../../code/frameworks/vue3-webpack5",
|
||||
|
@ -58,7 +58,6 @@
|
||||
"@storybook/preset-react-webpack": "portal:../../code/presets/react-webpack",
|
||||
"@storybook/preset-server-webpack": "portal:../../code/presets/server-webpack",
|
||||
"@storybook/preset-svelte-webpack": "portal:../../code/presets/svelte-webpack",
|
||||
"@storybook/preset-vue-webpack": "portal:../../code/presets/vue-webpack",
|
||||
"@storybook/preset-vue3-webpack": "portal:../../code/presets/vue3-webpack",
|
||||
"@storybook/preset-web-components-webpack": "portal:../../code/presets/web-components-webpack",
|
||||
"@storybook/preview-api": "portal:../../code/lib/preview-api",
|
||||
@ -76,7 +75,6 @@
|
||||
"@storybook/theming": "portal:../../code/lib/theming",
|
||||
"@storybook/vue": "portal:../../code/renderers/vue",
|
||||
"@storybook/vue-vite": "portal:../../code/frameworks/vue-vite",
|
||||
"@storybook/vue-webpack5": "portal:../../code/frameworks/vue-webpack5",
|
||||
"@storybook/vue3": "portal:../../code/renderers/vue3",
|
||||
"@storybook/vue3-vite": "portal:../../code/frameworks/vue3-vite",
|
||||
"@storybook/vue3-webpack5": "portal:../../code/frameworks/vue3-webpack5",
|
||||
|
@ -60,7 +60,6 @@
|
||||
"@storybook/preset-react-webpack": "portal:../../code/presets/react-webpack",
|
||||
"@storybook/preset-server-webpack": "portal:../../code/presets/server-webpack",
|
||||
"@storybook/preset-svelte-webpack": "portal:../../code/presets/svelte-webpack",
|
||||
"@storybook/preset-vue-webpack": "portal:../../code/presets/vue-webpack",
|
||||
"@storybook/preset-vue3-webpack": "portal:../../code/presets/vue3-webpack",
|
||||
"@storybook/preset-web-components-webpack": "portal:../../code/presets/web-components-webpack",
|
||||
"@storybook/react": "portal:../../code/renderers/react",
|
||||
@ -77,7 +76,6 @@
|
||||
"@storybook/theming": "portal:../../code/lib/theming",
|
||||
"@storybook/vue": "portal:../../code/renderers/vue",
|
||||
"@storybook/vue-vite": "portal:../../code/frameworks/vue-vite",
|
||||
"@storybook/vue-webpack5": "portal:../../code/frameworks/vue-webpack5",
|
||||
"@storybook/vue3": "portal:../../code/renderers/vue3",
|
||||
"@storybook/vue3-vite": "portal:../../code/frameworks/vue3-vite",
|
||||
"@storybook/vue3-webpack5": "portal:../../code/frameworks/vue3-webpack5",
|
||||
|
@ -53,7 +53,6 @@
|
||||
"@storybook/preset-react-webpack": "portal:../../code/presets/react-webpack",
|
||||
"@storybook/preset-server-webpack": "portal:../../code/presets/server-webpack",
|
||||
"@storybook/preset-svelte-webpack": "portal:../../code/presets/svelte-webpack",
|
||||
"@storybook/preset-vue-webpack": "portal:../../code/presets/vue-webpack",
|
||||
"@storybook/preset-vue3-webpack": "portal:../../code/presets/vue3-webpack",
|
||||
"@storybook/preset-web-components-webpack": "portal:../../code/presets/web-components-webpack",
|
||||
"@storybook/react": "portal:../../code/renderers/react",
|
||||
@ -70,7 +69,6 @@
|
||||
"@storybook/theming": "portal:../../code/lib/theming",
|
||||
"@storybook/vue": "portal:../../code/renderers/vue",
|
||||
"@storybook/vue-vite": "portal:../../code/frameworks/vue-vite",
|
||||
"@storybook/vue-webpack5": "portal:../../code/frameworks/vue-webpack5",
|
||||
"@storybook/vue3": "portal:../../code/renderers/vue3",
|
||||
"@storybook/vue3-vite": "portal:../../code/frameworks/vue3-vite",
|
||||
"@storybook/vue3-webpack5": "portal:../../code/frameworks/vue3-webpack5",
|
||||
|
Loading…
x
Reference in New Issue
Block a user