gov-ui-core 1.0.25 → 1.0.26

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.
@@ -0,0 +1,18 @@
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
+
@@ -0,0 +1,98 @@
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
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gov-ui-core",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.js",
6
6
  "types": "./build/modules.d.ts",
@@ -61,7 +61,7 @@
61
61
  "react-date-range": "^1.4.0",
62
62
  "react-dev-utils": "^12.0.1",
63
63
  "react-dom": "18.2",
64
- "react-hook-form": "^7.51.1",
64
+ "react-hook-form": "~7.54.0",
65
65
  "react-intl": "^6.8.9",
66
66
  "react-refresh": "^0.11.0",
67
67
  "react-router-dom": "^6.22.3",