@itcase/storybook-config 1.2.7 → 1.2.8
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.
|
@@ -8,12 +8,7 @@ const SOURCE_LINK = {
|
|
|
8
8
|
if (!rootPath) return undefined
|
|
9
9
|
const labelPath =
|
|
10
10
|
'Source — ' + importPath.replace(/\.stories\.(js|jsx|tsx|tsx)?$/, '')
|
|
11
|
-
const href = `vscode://${
|
|
12
|
-
getFileUrl(
|
|
13
|
-
rootPath,
|
|
14
|
-
importPath.replace(/\.stories\.(js|jsx|tsx|tsx)?$/, '.js'),
|
|
15
|
-
).href
|
|
16
|
-
}`
|
|
11
|
+
const href = `vscode://${getFileUrl(rootPath, importPath).href}`
|
|
17
12
|
const icon = 'VSCodeIcon'
|
|
18
13
|
return { label: labelPath, href: href, icon: icon }
|
|
19
14
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/storybook-config",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.8",
|
|
4
4
|
"author": "ITCase",
|
|
5
5
|
"description": "Storybook configuration package",
|
|
6
6
|
"engines": {
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"@storybook/react-webpack5": "^9.1.5",
|
|
90
90
|
"chalk": "^5.6.2",
|
|
91
91
|
"http-proxy-middleware": "^3.0.5",
|
|
92
|
-
"msw": "^2.11.
|
|
92
|
+
"msw": "^2.11.2",
|
|
93
93
|
"msw-storybook-addon": "^2.0.5",
|
|
94
94
|
"react-docgen": "^8.0.1",
|
|
95
95
|
"react-docgen-typescript-plugin": "^1.0.8",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"devDependencies": {
|
|
101
101
|
"@commitlint/cli": "^19.8.1",
|
|
102
102
|
"@commitlint/config-conventional": "^19.8.1",
|
|
103
|
-
"@itcase/common": "^1.2.
|
|
103
|
+
"@itcase/common": "^1.2.31",
|
|
104
104
|
"@itcase/lint": "^1.1.57",
|
|
105
105
|
"@rollup/plugin-babel": "^6.0.4",
|
|
106
106
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"rollup": "^4.50.1",
|
|
123
123
|
"rollup-plugin-copy": "^3.5.0",
|
|
124
124
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
125
|
-
"semantic-release": "^24.2.
|
|
125
|
+
"semantic-release": "^24.2.8",
|
|
126
126
|
"storybook": "^9.1.5",
|
|
127
127
|
"stylelint": "^16.24.0",
|
|
128
128
|
"typescript": "^5.9.2"
|