@itcase/storybook-config 1.2.27 → 1.2.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import svgr from 'vite-plugin-svgr'
|
|
2
|
+
import tsconfigPaths from 'vite-tsconfig-paths'
|
|
2
3
|
|
|
3
4
|
const MAIN_CONFIG_VITE = {
|
|
4
5
|
async viteFinal(config) {
|
|
5
6
|
const { mergeConfig } = await import('vite')
|
|
6
7
|
return mergeConfig(config, {
|
|
7
8
|
css: {
|
|
8
|
-
postcss: '../node_modules/@itcase/config/postcss/nextVite.js',
|
|
9
9
|
preprocessorOptions: {
|
|
10
10
|
scss: {
|
|
11
11
|
api: 'modern-compiler',
|
|
12
12
|
},
|
|
13
13
|
},
|
|
14
14
|
},
|
|
15
|
-
plugins: [svgr({ include: '**/*.svg' })],
|
|
15
|
+
plugins: [tsconfigPaths(), svgr({ include: '**/*.svg' })],
|
|
16
16
|
})
|
|
17
17
|
},
|
|
18
18
|
tags: ['autodocs'],
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { ADDONS_NEXTJS } from '../addons/addonsNextJs.js'
|
|
2
|
-
import { ADDONS_NEXTJS_VITE } from '../addons/addonsNextJsVite.js'
|
|
3
2
|
import { ADDONS_VITE } from '../addons/addonsVite.js'
|
|
4
3
|
import { ADDONS_WEBPACK } from '../addons/addonsWebpack.js'
|
|
5
4
|
import { MAIN_CONFIG_VITE } from '../config/mainConfigVite.js'
|
|
6
5
|
import { MAIN_CONFIG_WEBPACK } from '../config/mainConfigWebpack.js'
|
|
7
6
|
import { FRAMEWORK_NEXTJS } from '../framework/frameworkNextJs.js'
|
|
8
|
-
import { FRAMEWORK_NEXTJS_VITE } from '../framework/frameworkNextJsVite.js'
|
|
9
7
|
import { FRAMEWORK_VITE } from '../framework/frameworkVite.js'
|
|
10
8
|
import { FRAMEWORK_WEBPACK } from '../framework/frameworkWebpack.js'
|
|
11
9
|
import { REFS } from '../refs/refs.js'
|
|
@@ -17,12 +15,10 @@ import { AUTHORIZATION } from '../users/authorization.js'
|
|
|
17
15
|
|
|
18
16
|
export {
|
|
19
17
|
ADDONS_NEXTJS,
|
|
20
|
-
ADDONS_NEXTJS_VITE,
|
|
21
18
|
ADDONS_VITE,
|
|
22
19
|
ADDONS_WEBPACK,
|
|
23
20
|
AUTHORIZATION,
|
|
24
21
|
FRAMEWORK_NEXTJS,
|
|
25
|
-
FRAMEWORK_NEXTJS_VITE,
|
|
26
22
|
FRAMEWORK_VITE,
|
|
27
23
|
FRAMEWORK_WEBPACK,
|
|
28
24
|
MAIN_CONFIG_VITE,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/storybook-config",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.29",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Storybook configuration package",
|
|
6
6
|
"engines": {
|
|
@@ -74,33 +74,34 @@
|
|
|
74
74
|
"workerDirectory": "public"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@itcase/config": "^1.0.
|
|
77
|
+
"@itcase/config": "^1.0.70",
|
|
78
78
|
"@itcase/storybook-addon-auth": "^1.0.5",
|
|
79
|
-
"@storybook/addon-designs": "^11.0.
|
|
80
|
-
"@storybook/addon-docs": "^10.0
|
|
81
|
-
"@storybook/addon-links": "^10.0
|
|
79
|
+
"@storybook/addon-designs": "^11.0.3",
|
|
80
|
+
"@storybook/addon-docs": "^10.1.0",
|
|
81
|
+
"@storybook/addon-links": "^10.1.0",
|
|
82
82
|
"@storybook/addon-styling-webpack": "^3.0.0",
|
|
83
|
-
"@storybook/addon-themes": "^10.0
|
|
84
|
-
"@storybook/addon-vitest": "^10.0
|
|
83
|
+
"@storybook/addon-themes": "^10.1.0",
|
|
84
|
+
"@storybook/addon-vitest": "^10.1.0",
|
|
85
85
|
"@storybook/addon-webpack5-compiler-swc": "^4.0.2",
|
|
86
|
-
"@storybook/nextjs": "^10.0
|
|
87
|
-
"@storybook/nextjs-vite": "^10.0
|
|
88
|
-
"@storybook/react-vite": "^10.0
|
|
89
|
-
"@storybook/react-webpack5": "^10.0
|
|
86
|
+
"@storybook/nextjs": "^10.1.0",
|
|
87
|
+
"@storybook/nextjs-vite": "^10.1.0",
|
|
88
|
+
"@storybook/react-vite": "^10.1.0",
|
|
89
|
+
"@storybook/react-webpack5": "^10.1.0",
|
|
90
90
|
"@vitejs/plugin-react": "^5.1.1",
|
|
91
91
|
"chalk": "^5.6.2",
|
|
92
92
|
"http-proxy-middleware": "^3.0.5",
|
|
93
|
-
"msw": "^2.12.
|
|
93
|
+
"msw": "^2.12.3",
|
|
94
94
|
"msw-storybook-addon": "^2.0.6",
|
|
95
95
|
"storybook-addon-source-link": "^2.0.0",
|
|
96
96
|
"vite-plugin-svgr": "^4.5.0",
|
|
97
|
-
"
|
|
97
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
98
|
+
"vitest": "^4.0.14"
|
|
98
99
|
},
|
|
99
100
|
"devDependencies": {
|
|
100
101
|
"@commitlint/cli": "^20.1.0",
|
|
101
102
|
"@commitlint/config-conventional": "^20.0.0",
|
|
102
|
-
"@itcase/common": "^1.2.
|
|
103
|
-
"@itcase/lint": "^1.1.
|
|
103
|
+
"@itcase/common": "^1.2.34",
|
|
104
|
+
"@itcase/lint": "^1.1.69",
|
|
104
105
|
"@rollup/plugin-babel": "^6.1.0",
|
|
105
106
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
106
107
|
"@rollup/plugin-json": "^6.1.0",
|
|
@@ -112,18 +113,18 @@
|
|
|
112
113
|
"@types/react-dom": "^18",
|
|
113
114
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
114
115
|
"eslint": "9.39.1",
|
|
115
|
-
"glob": "^
|
|
116
|
+
"glob": "^13.0.0",
|
|
116
117
|
"husky": "^9.1.7",
|
|
117
|
-
"lint-staged": "^16.2.
|
|
118
|
+
"lint-staged": "^16.2.7",
|
|
118
119
|
"prettier": "^3.6.2",
|
|
119
120
|
"react": "^18",
|
|
120
121
|
"react-dom": "^18",
|
|
121
|
-
"rollup": "^4.53.
|
|
122
|
+
"rollup": "^4.53.3",
|
|
122
123
|
"rollup-plugin-copy": "^3.5.0",
|
|
123
124
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
124
125
|
"semantic-release": "^24.2.9",
|
|
125
|
-
"storybook": "^10.0
|
|
126
|
-
"stylelint": "^16.
|
|
126
|
+
"storybook": "^10.1.0",
|
|
127
|
+
"stylelint": "^16.26.0",
|
|
127
128
|
"typescript": "^5.9.3"
|
|
128
129
|
}
|
|
129
130
|
}
|