@itcase/storybook-config 1.1.2 → 1.1.3
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,11 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import chalk from 'chalk'
|
|
2
2
|
|
|
3
3
|
const STORYBOOK_PUBLIC_PATH = null
|
|
4
4
|
|
|
5
5
|
const MAIN_CONFIG = {
|
|
6
6
|
webpackFinal: async (config) => {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
console.log(
|
|
8
|
+
chalk.green(
|
|
9
|
+
'info => Using default "publicPath" set "STORYBOOK_PUBLIC_PATH" variable to use another one',
|
|
10
|
+
),
|
|
9
11
|
)
|
|
10
12
|
if (STORYBOOK_PUBLIC_PATH) {
|
|
11
13
|
config.output.publicPath = STORYBOOK_PUBLIC_PATH
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/storybook-config",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Code style linter configuration presets",
|
|
6
6
|
"engines": {
|
|
@@ -73,12 +73,12 @@
|
|
|
73
73
|
"@storybook/blocks": "^8.6.12",
|
|
74
74
|
"@storybook/manager-api": "^8.6.12",
|
|
75
75
|
"@storybook/nextjs": "^8.6.12",
|
|
76
|
-
"@storybook/node-logger": "^8.6.12",
|
|
77
76
|
"@storybook/preview-api": "^8.6.12",
|
|
78
77
|
"@storybook/react": "^8.6.12",
|
|
79
78
|
"@storybook/react-vite": "^8.6.12",
|
|
80
79
|
"@storybook/react-webpack5": "^8.6.12",
|
|
81
80
|
"@storybook/theming": "^8.6.12",
|
|
81
|
+
"chalk": "^5.4.1",
|
|
82
82
|
"http-proxy-middleware": "^3.0.3",
|
|
83
83
|
"msw": "^2.7.3",
|
|
84
84
|
"msw-storybook-addon": "^2.0.4",
|