gov-ui-core 1.0.26 → 1.0.27

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.
@@ -10,7 +10,7 @@ object-assign
10
10
  http://jedwatson.github.io/classnames
11
11
  */
12
12
 
13
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
13
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
14
14
 
15
15
  /**
16
16
  * @license
@@ -52,7 +52,7 @@ object-assign
52
52
  */
53
53
 
54
54
  /**
55
- * @remix-run/router v1.21.1
55
+ * @remix-run/router v1.23.0
56
56
  *
57
57
  * Copyright (c) Remix Software Inc.
58
58
  *
@@ -63,7 +63,7 @@ object-assign
63
63
  */
64
64
 
65
65
  /**
66
- * React Router v6.28.2
66
+ * React Router v6.30.1
67
67
  *
68
68
  * Copyright (c) Remix Software Inc.
69
69
  *
package/package.json CHANGED
@@ -1,57 +1,138 @@
1
1
  {
2
2
  "name": "gov-ui-core",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
+ "repository": "https://github.com/liamyoon/gov-ui-core",
4
5
  "main": "./build/index.js",
5
6
  "module": "./build/index.js",
6
7
  "types": "./build/modules.d.ts",
7
- "repository": "https://github.com/liamyoon/gov-ui-core",
8
+ "scripts": {
9
+ "build": "node scripts/build.js && npm run types",
10
+ "build-storybook": "storybook build",
11
+ "deploy-storybook": "gh-pages -d storybook-static -r https://gzithub.com/nexr/neb-ui.git",
12
+ "lint": "eslint ./src/**/*.{ts,tsx}",
13
+ "lint:css": "stylelint --ignore-path .gitignore '**/*.scss'",
14
+ "precommit": "lint-staged",
15
+ "prepare": "husky install",
16
+ "start": "node scripts/start.js --PORT 3004",
17
+ "storybook": "storybook dev -p 6006",
18
+ "test": "node node scripts/test.js",
19
+ "types": "tsc --emitDeclarationOnly && tscpaths -p ./tsconfig.json -s ./src -o ./build"
20
+ },
21
+ "lint-staged": {
22
+ "**/*.{ts,tsx}": [
23
+ "eslint --fix",
24
+ "prettier --write"
25
+ ],
26
+ "**/*.{scss,css}": [
27
+ "stylelint --fix",
28
+ "prettier --write"
29
+ ]
30
+ },
31
+ "babel": {
32
+ "presets": [
33
+ "react-app"
34
+ ]
35
+ },
36
+ "browserslist": {
37
+ "production": [
38
+ ">0.2%",
39
+ "not dead",
40
+ "not op_mini all"
41
+ ],
42
+ "development": [
43
+ "last 1 chrome version",
44
+ "last 1 firefox version",
45
+ "last 1 safari version"
46
+ ]
47
+ },
48
+ "eslintConfig": {
49
+ "extends": [
50
+ "react-app",
51
+ "react-app/jest",
52
+ "plugin:storybook/recommended"
53
+ ],
54
+ "rules": {
55
+ "jsx-a11y/anchor-is-valid": 0,
56
+ "react-hooks/exhaustive-deps": "off"
57
+ }
58
+ },
59
+ "jest": {
60
+ "collectCoverageFrom": [
61
+ "src/**/*.{js,jsx,ts,tsx}",
62
+ "!src/**/*.d.ts"
63
+ ],
64
+ "moduleFileExtensions": [
65
+ "web.js",
66
+ "js",
67
+ "web.ts",
68
+ "ts",
69
+ "web.tsx",
70
+ "tsx",
71
+ "json",
72
+ "web.jsx",
73
+ "jsx",
74
+ "node"
75
+ ],
76
+ "moduleNameMapper": {
77
+ "^react-native$": "react-native-web",
78
+ "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy",
79
+ "^src/(.*)$": "<rootDir>/src/$1"
80
+ },
81
+ "modulePaths": [],
82
+ "resetMocks": true,
83
+ "roots": [
84
+ "<rootDir>/src"
85
+ ],
86
+ "setupFiles": [
87
+ "react-app-polyfill/jsdom"
88
+ ],
89
+ "setupFilesAfterEnv": [
90
+ "<rootDir>/src/setupTests.ts"
91
+ ],
92
+ "testEnvironment": "jsdom",
93
+ "testMatch": [
94
+ "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
95
+ "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
96
+ ],
97
+ "transform": {
98
+ "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
99
+ "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
100
+ "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
101
+ },
102
+ "transformIgnorePatterns": [
103
+ "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
104
+ "^.+\\.module\\.(css|sass|scss)$"
105
+ ],
106
+ "watchPlugins": [
107
+ "jest-watch-typeahead/filename",
108
+ "jest-watch-typeahead/testname"
109
+ ]
110
+ },
111
+ "resolutions": {
112
+ "@formatjs/fast-memoize": "2.2.2",
113
+ "types-ramda": "0.29.4"
114
+ },
115
+ "overrides": {
116
+ "@formatjs/fast-memoize": "2.2.2",
117
+ "types-ramda": "0.29.4"
118
+ },
8
119
  "dependencies": {
9
- "@babel/core": "^7.16.0",
10
120
  "@craco/craco": "^7.1.0",
11
121
  "@mdi/font": "^5.9.55",
12
122
  "@mdi/js": "^5.9.55",
13
123
  "@mdi/react": "^1.6.1",
14
124
  "@monaco-editor/react": "^4.7.0",
15
- "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
16
- "@svgr/webpack": "^5.5.0",
17
- "@testing-library/jest-dom": "^5.17.0",
18
- "@testing-library/react": "^13.4.0",
19
- "@testing-library/user-event": "^13.5.0",
20
- "@types/node": "^16.18.90",
21
- "@types/react": "^18.2.67",
22
- "@types/react-date-range": "^1.4.9",
23
- "@types/react-dom": "^18.2.22",
24
125
  "antd": "^4.24.16",
25
- "babel-jest": "^27.4.2",
26
- "babel-loader": "^8.2.3",
27
- "babel-plugin-named-asset-import": "^0.3.8",
28
- "babel-preset-react-app": "^10.0.1",
29
- "bfj": "^7.0.2",
30
126
  "browserslist": "^4.18.1",
31
127
  "camelcase": "^6.2.1",
32
- "case-sensitive-paths-webpack-plugin": "^2.4.0",
33
128
  "classnames": "^2.5.1",
34
- "css-loader": "^6.5.1",
35
- "css-minimizer-webpack-plugin": "^3.2.0",
36
129
  "date-fns": "^2.30.0",
37
130
  "dotenv": "^10.0.0",
38
131
  "dotenv-expand": "^5.1.0",
39
132
  "dynamic-antd-theme": "^0.8.7",
40
- "file-loader": "^6.2.0",
41
- "fs-extra": "^10.0.0",
42
- "html-webpack-plugin": "^5.5.0",
43
133
  "identity-obj-proxy": "^3.0.0",
44
- "jest": "^27.4.3",
45
- "jest-resolve": "^27.4.2",
46
- "jest-watch-typeahead": "^1.0.0",
47
134
  "lodash": "^4.17.21",
48
- "mini-css-extract-plugin": "^2.4.5",
49
135
  "moment": "^2.30.1",
50
- "postcss": "^8.4.4",
51
- "postcss-flexbugs-fixes": "^5.0.2",
52
- "postcss-loader": "^6.2.1",
53
- "postcss-normalize": "^10.0.1",
54
- "postcss-preset-env": "^7.0.1",
55
136
  "prompts": "^2.4.2",
56
137
  "query-string": "^9.0.0",
57
138
  "ramda": "^0.29.1",
@@ -59,7 +140,6 @@
59
140
  "react": "18.2",
60
141
  "react-app-polyfill": "^3.0.0",
61
142
  "react-date-range": "^1.4.0",
62
- "react-dev-utils": "^12.0.1",
63
143
  "react-dom": "18.2",
64
144
  "react-hook-form": "~7.54.0",
65
145
  "react-intl": "^6.8.9",
@@ -69,71 +149,17 @@
69
149
  "react-spring": "^9.7.5",
70
150
  "react-toastify": "^11.0.3",
71
151
  "react-use-gesture": "^9.1.3",
72
- "resolve": "^1.20.0",
73
- "resolve-url-loader": "^4.0.0",
74
- "semver": "^7.3.5",
75
152
  "slick-carousel": "^1.8.1",
76
- "source-map-loader": "^3.0.0",
77
- "style-loader": "^3.3.1",
78
153
  "styled-components": "^5.3.11",
79
154
  "tailwindcss": "^3.0.2",
80
155
  "tailwindcss-animate": "^1.0.7",
81
- "terser-webpack-plugin": "^5.2.5",
82
- "typescript": "^4.9.5",
83
- "web-vitals": "^2.1.4",
84
- "webpack-dev-server": "^4.6.0",
85
- "webpack-manifest-plugin": "^4.0.2",
86
- "workbox-webpack-plugin": "^6.4.1"
87
- },
88
- "scripts": {
89
- "start": "node scripts/start.js --PORT 3004",
90
- "types": "tsc --emitDeclarationOnly && tscpaths -p ./tsconfig.json -s ./src -o ./build",
91
- "build": "node scripts/build.js && npm run types",
92
- "test": "node node scripts/test.js",
93
- "storybook": "storybook dev -p 6006",
94
- "build-storybook": "storybook build",
95
- "deploy-storybook": "gh-pages -d storybook-static -r https://gzithub.com/nexr/neb-ui.git",
96
- "lint": "eslint ./src/**/*.{ts,tsx}",
97
- "lint:css": "stylelint --ignore-path .gitignore '**/*.scss'",
98
- "prepare": "husky install",
99
- "precommit": "lint-staged"
100
- },
101
- "lint-staged": {
102
- "**/*.{ts,tsx}": [
103
- "eslint --fix",
104
- "prettier --write"
105
- ],
106
- "**/*.{scss,css}": [
107
- "stylelint --fix",
108
- "prettier --write"
109
- ]
110
- },
111
- "eslintConfig": {
112
- "extends": [
113
- "react-app",
114
- "react-app/jest",
115
- "plugin:storybook/recommended"
116
- ],
117
- "rules": {
118
- "react-hooks/exhaustive-deps": "off",
119
- "jsx-a11y/anchor-is-valid": 0
120
- }
121
- },
122
- "browserslist": {
123
- "production": [
124
- ">0.2%",
125
- "not dead",
126
- "not op_mini all"
127
- ],
128
- "development": [
129
- "last 1 chrome version",
130
- "last 1 firefox version",
131
- "last 1 safari version"
132
- ]
156
+ "web-vitals": "^2.1.4"
133
157
  },
134
158
  "devDependencies": {
159
+ "@babel/core": "^7.16.0",
135
160
  "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
136
161
  "@chromatic-com/storybook": "^3.2.2",
162
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
137
163
  "@storybook/addon-actions": "^8.4.7",
138
164
  "@storybook/addon-essentials": "^8.4.7",
139
165
  "@storybook/addon-interactions": "^8.4.7",
@@ -146,15 +172,31 @@
146
172
  "@storybook/react": "^8.4.7",
147
173
  "@storybook/react-webpack5": "^8.4.7",
148
174
  "@storybook/test": "^8.4.7",
175
+ "@svgr/webpack": "^5.5.0",
176
+ "@testing-library/jest-dom": "^5.17.0",
177
+ "@testing-library/react": "^13.4.0",
178
+ "@testing-library/user-event": "^13.5.0",
149
179
  "@types/jest": "^29.5.14",
150
180
  "@types/lodash": "^4.17.0",
181
+ "@types/node": "^16.18.90",
151
182
  "@types/ramda": "^0.29.11",
183
+ "@types/react": "^18.2.67",
184
+ "@types/react-date-range": "^1.4.9",
185
+ "@types/react-dom": "^18.2.22",
152
186
  "@types/react-slick": "^0.23.13",
153
187
  "@types/slick-carousel": "^1.6.40",
154
188
  "@types/styled-components": "^5.1.34",
155
189
  "@typescript-eslint/eslint-plugin": "^5.47.1",
156
190
  "@typescript-eslint/parser": "^5.47.1",
191
+ "babel-jest": "^27.4.2",
192
+ "babel-loader": "^8.2.3",
193
+ "babel-plugin-named-asset-import": "^0.3.8",
194
+ "babel-preset-react-app": "^10.0.1",
195
+ "bfj": "^7.0.2",
196
+ "case-sensitive-paths-webpack-plugin": "^2.4.0",
157
197
  "clean-webpack-plugin": "^4.0.0",
198
+ "css-loader": "^6.5.1",
199
+ "css-minimizer-webpack-plugin": "^3.2.0",
158
200
  "eslint": "^8.3.0",
159
201
  "eslint-config-airbnb": "^19.0.4",
160
202
  "eslint-config-airbnb-typescript": "^17.0.0",
@@ -167,84 +209,42 @@
167
209
  "eslint-plugin-react-hooks": "^4.6.0",
168
210
  "eslint-plugin-storybook": "^0.11.1",
169
211
  "eslint-webpack-plugin": "^3.1.1",
212
+ "file-loader": "^6.2.0",
213
+ "fs-extra": "^10.0.0",
214
+ "html-webpack-plugin": "^5.5.0",
170
215
  "husky": "^8.0.0",
216
+ "jest": "^27.4.3",
217
+ "jest-resolve": "^27.4.2",
218
+ "jest-watch-typeahead": "^1.0.0",
171
219
  "lint-staged": "^13.1.0",
220
+ "mini-css-extract-plugin": "^2.4.5",
221
+ "postcss": "^8.4.4",
222
+ "postcss-flexbugs-fixes": "^5.0.2",
223
+ "postcss-loader": "^6.2.1",
224
+ "postcss-normalize": "^10.0.1",
225
+ "postcss-preset-env": "^7.0.1",
172
226
  "prettier": "^3.5.1",
173
227
  "prop-types": "^15.8.1",
228
+ "react-dev-utils": "^12.0.1",
229
+ "resolve": "^1.20.0",
230
+ "resolve-url-loader": "^4.0.0",
174
231
  "sass": "^1.72.0",
175
232
  "sass-loader": "^16.0.3",
233
+ "semver": "^7.3.5",
234
+ "source-map-loader": "^3.0.0",
176
235
  "storybook": "^8.4.7",
236
+ "style-loader": "^3.3.1",
177
237
  "stylelint": "^16.14.1",
178
238
  "stylelint-config-prettier-scss": "^1.0.0",
179
239
  "stylelint-config-standard-scss": "^14.0.0",
240
+ "terser-webpack-plugin": "^5.2.5",
180
241
  "ts-loader": "^9.5.1",
181
242
  "tscpaths": "^0.0.9",
243
+ "typescript": "^4.9.5",
182
244
  "url-loader": "^4.1.1",
183
- "webpack": "^5.94.0"
184
- },
185
- "resolutions": {
186
- "types-ramda": "0.29.4",
187
- "@formatjs/fast-memoize": "2.2.2"
188
- },
189
- "overrides": {
190
- "types-ramda": "0.29.4",
191
- "@formatjs/fast-memoize": "2.2.2"
192
- },
193
- "jest": {
194
- "roots": [
195
- "<rootDir>/src"
196
- ],
197
- "collectCoverageFrom": [
198
- "src/**/*.{js,jsx,ts,tsx}",
199
- "!src/**/*.d.ts"
200
- ],
201
- "setupFiles": [
202
- "react-app-polyfill/jsdom"
203
- ],
204
- "setupFilesAfterEnv": [
205
- "<rootDir>/src/setupTests.ts"
206
- ],
207
- "testMatch": [
208
- "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
209
- "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
210
- ],
211
- "testEnvironment": "jsdom",
212
- "transform": {
213
- "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
214
- "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
215
- "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
216
- },
217
- "transformIgnorePatterns": [
218
- "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
219
- "^.+\\.module\\.(css|sass|scss)$"
220
- ],
221
- "modulePaths": [],
222
- "moduleNameMapper": {
223
- "^react-native$": "react-native-web",
224
- "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy",
225
- "^src/(.*)$": "<rootDir>/src/$1"
226
- },
227
- "moduleFileExtensions": [
228
- "web.js",
229
- "js",
230
- "web.ts",
231
- "ts",
232
- "web.tsx",
233
- "tsx",
234
- "json",
235
- "web.jsx",
236
- "jsx",
237
- "node"
238
- ],
239
- "watchPlugins": [
240
- "jest-watch-typeahead/filename",
241
- "jest-watch-typeahead/testname"
242
- ],
243
- "resetMocks": true
244
- },
245
- "babel": {
246
- "presets": [
247
- "react-app"
248
- ]
245
+ "webpack": "^5.94.0",
246
+ "webpack-dev-server": "^4.6.0",
247
+ "webpack-manifest-plugin": "^4.0.2",
248
+ "workbox-webpack-plugin": "^6.4.1"
249
249
  }
250
250
  }
@@ -1,18 +0,0 @@
1
- 🩺 The doctor is checking the health of your Storybook..
2
- ╭ Incompatible packages found ───────────────────────────────────────────────────────────────────────────────────────────────────────╮
3
- │ │
4
- │ The following packages are incompatible with Storybook 8.0.4 as they depend on different major versions of Storybook packages: │
5
- │ - @storybook/addon-knobs@7.0.2 │
6
- │ │
7
- │ │
8
- │ Please consider updating your packages or contacting the maintainers for compatibility details. │
9
- │ For more on Storybook 8 compatibility, see the linked GitHub issue: │
10
- │ https://github.com/storybookjs/storybook/issues/26031 │
11
- │ │
12
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
13
-
14
- You can always recheck the health of your project by running:
15
- npx storybook doctor
16
-
17
- Full logs are available in /Users/yoon/WebstormProjects/nexr/neb-ui-new/doctor-storybook.log
18
-
@@ -1,98 +0,0 @@
1
- 🔎 checking possible migrations..
2
-
3
- 🔎 found a 'upgradeStorybookRelatedDependencies' migration:
4
- ╭ Automigration detected ────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
5
- │ │
6
- │ You're upgrading to the latest version of Storybook. We recommend upgrading the following packages: │
7
- │ - @chromatic-com/storybook: 1.2.25 => 3.2.2 │
8
- │ - @storybook/addon-knobs: 7.0.2 => 8.0.1 │
9
- │ - eslint-plugin-storybook: 0.8.0 => 0.11.1 │
10
- │ │
11
- │ After upgrading, we will run the dedupe command, which could possibly have effects on dependencies that are not Storybook related. │
12
- │ see: https://docs.npmjs.com/cli/commands/npm-dedupe │
13
- │ │
14
- │ Do you want to proceed (upgrade the detected packages)? │
15
- │ │
16
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
17
- ? Do you want to run the 'upgradeStorybookRelatedDependencies' migration on your project? › (y/N)✔ Do you want to run the 'upgradeStorybookRelatedDependencies' migration on your project? … yes
18
- Installing dependencies...
19
-
20
- An error occurred while installing dependencies.
21
- ❌ error when running upgradeStorybookRelatedDependencies migration
22
- HandledError: Error: Command failed with exit code 1: npm install
23
- at Ar.installDependencies (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/core/dist/common/index.cjs:18947:75)
24
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
25
- at async Object.run (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/cli/dist/bin/index.cjs:448:541)
26
- ... 2 lines matching cause stack trace ...
27
- at async doUpgrade (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/cli/dist/bin/index.cjs:600:1612)
28
- at async withTelemetry (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/core/dist/core-server/index.cjs:35757:12)
29
- at async upgrade (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/cli/dist/bin/index.cjs:600:2078) {
30
- handled: true,
31
- cause: Error: Command failed with exit code 1: npm install
32
- at makeError (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/core/dist/common/index.cjs:18141:67)
33
- at handlePromise (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/core/dist/common/index.cjs:18759:16)
34
- at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
35
- at async Ar.executeCommand (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/core/dist/common/index.cjs:19205:15)
36
- at async Ar.runInstall (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/core/dist/common/index.cjs:19339:5)
37
- at async Ar.installDependencies (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/core/dist/common/index.cjs:18945:7)
38
- at async Object.run (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/cli/dist/bin/index.cjs:448:541)
39
- at async runFixes (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/cli/dist/bin/index.cjs:533:1801)
40
- at async automigrate (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/cli/dist/bin/index.cjs:531:1625)
41
- at async doUpgrade (/Users/yoon/.npm/_npx/7122ab1f221a777a/node_modules/@storybook/cli/dist/bin/index.cjs:600:1612) {
42
- shortMessage: 'Command failed with exit code 1: npm install',
43
- command: 'npm install',
44
- escapedCommand: 'npm install',
45
- exitCode: 1,
46
- signal: undefined,
47
- signalDescription: undefined,
48
- stdout: undefined,
49
- stderr: undefined,
50
- cwd: '/Users/yoon/WebstormProjects/nexr/gov-ui-core',
51
- failed: true,
52
- timedOut: false,
53
- isCanceled: false,
54
- killed: false
55
- }
56
- }
57
-
58
-
59
- 🔎 found a 'autodocs-tags' migration:
60
- ╭ Automigration detected ───────────────────────────────────────────────────────────────────────────────────────────╮
61
- │ │
62
- │ The docs.autodocs setting in .storybook/main.ts is deprecated. │
63
- │ │
64
- │ Learn more: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-docsautodocs-is-deprecated │
65
- │ │
66
- │ Remove docs.autodocs and update .storybook/preview.tsx? │
67
- │ │
68
- ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
69
- ? Do you want to run the 'autodocs-tags' migration on your project? › (Y/n)✔ Do you want to run the 'autodocs-tags' migration on your project? … yes
70
- ✅ Adding "autodocs" tag to .storybook/preview.tsx
71
- ✅ Removing "docs.autodocs" from .storybook/main.ts
72
- ✅ ran autodocs-tags migration
73
- WARN An issue occurred while trying to find dependencies metadata using npm.
74
-
75
- ╭ Migration check ran with failures ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
76
- │ │
77
- │ Successful migrations: │
78
- │ │
79
- │ autodocs-tags │
80
- │ │
81
- │ Failed migrations: │
82
- │ │
83
- │ upgradeStorybookRelatedDependencies: │
84
- │ Error: Command failed with exit code 1: npm install │
85
- │ │
86
- │ You can find the full logs in /Users/yoon/WebstormProjects/nexr/gov-ui-core/migration-storybook.log │
87
- │ │
88
- │ ───────────────────────────────────────────────── │
89
- │ │
90
- │ If you'd like to run the migrations again, you can do so by running 'npx storybook automigrate' │
91
- │ │
92
- │ The automigrations try to migrate common patterns in your project, but might not contain everything needed to migrate to the latest version of Storybook. │
93
- │ │
94
- │ Please check the changelog and migration guide for manual migrations and more information: https://storybook.js.org/docs/migration-guide │
95
- │ And reach out on Discord if you need help: https://discord.gg/storybook │
96
- │ │
97
- ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
98
-