Skip to content

Commit

Permalink
chore: updrade storybook version
Browse files Browse the repository at this point in the history
  • Loading branch information
credred committed Jun 30, 2023
1 parent dc75507 commit 1b172f3
Show file tree
Hide file tree
Showing 6 changed files with 3,414 additions and 6,263 deletions.
4 changes: 0 additions & 4 deletions .npmrc

This file was deleted.

20 changes: 7 additions & 13 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
module.exports = {
"stories": [
"../stories/**/*.stories.mdx",
"../stories/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials"
],
"framework": "@storybook/vue3",
"core": {
"builder": "@storybook/builder-vite"
},
"stories": ["../stories/**/*.stories.mdx", "../stories/**/*.stories.@(js|jsx|ts|tsx)"],
"addons": ["@storybook/addon-links", "@storybook/addon-essentials"],
"framework": "@storybook/vue3-vite",
async viteFinal(config) {
config.plugins.push(require("@vitejs/plugin-vue-jsx")());
if (process.env.NODE_ENV === 'production') {
config.base = 'vue-drag-select';
}
return config;
},
}
docs: {
autodocs: true
}
};
25 changes: 14 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,30 +32,30 @@
"build-typings": "vue-tsc --declaration --emitDeclarationOnly --outDir dist",
"build": "vite build && yarn build-typings",
"serve": "vite preview",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"peerDependencies": {
"vue": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.16.5",
"@storybook/addon-actions": "^6.5.3",
"@storybook/addon-essentials": "^6.5.3",
"@storybook/addon-links": "^6.5.3",
"@storybook/builder-vite": "^0.1.35",
"@storybook/vue3": "^6.5.3",
"@storybook/addon-actions": "^7.0.24",
"@storybook/addon-essentials": "^7.0.24",
"@storybook/addon-links": "^7.0.24",
"@storybook/vue3": "^7.0.24",
"@storybook/vue3-vite": "^7.0.24",
"@testing-library/dom": "^8.13.0",
"@testing-library/user-event": "^14.1.1",
"@testing-library/vue": "^6.4.2",
"@types/jasmine": "^4.0.3",
"@types/karma": "^6.3.3",
"@types/node": "^16.11.12",
"@types/node": "^20.3.2",
"@types/prettier": "^2.4.2",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"@vitejs/plugin-vue": "^2.0.1",
"@vitejs/plugin-vue-jsx": "^1.3.3",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"babel-loader": "^8.2.3",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
Expand All @@ -71,10 +71,13 @@
"karma-vite": "^1.0.4",
"prettier": "^2.5.1",
"puppeteer": "^13.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.52.1",
"storybook": "^7.0.24",
"typescript": "^5.1.6",
"vite": "^4.3.9",
"vue": "^3.2.16",
"vue": "^3.3.4",
"vue-eslint-parser": "^8.0.1",
"vue-loader": "^17.2.2",
"vue-tsc": "^1.8.3"
Expand Down
Loading

0 comments on commit 1b172f3

Please sign in to comment.