Skip to content

Commit ea7dc9a

Browse files
committed
chore: upgrade nx
1 parent 6b9c4fa commit ea7dc9a

File tree

5 files changed

+1498
-11967
lines changed

5 files changed

+1498
-11967
lines changed

debug-storybook.log

Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
[23:50:49.206] [INFO] Storybook Upgrade - v9.0.14
2+
[23:50:49.220] [INFO] detect-projects-spinner-start: Detecting projects...
3+
[23:50:49.222] [INFO] detect-projects-spinner: Detecting projects: 1 projects
4+
[23:50:49.223] [DEBUG] Getting Storybook data...
5+
[23:50:49.223] [DEBUG] Getting Storybook info...
6+
[23:50:49.223] [DEBUG] Loading main config...
7+
[23:50:49.266] [DEBUG] Getting stories paths...
8+
[23:50:49.284] [DEBUG] Getting package manager...
9+
[23:50:49.617] [DEBUG] Getting Storybook version...
10+
[23:50:49.617] [DEBUG] libs/soba/.storybook - Validating before version... 9.0.14
11+
[23:50:49.617] [DEBUG] libs/soba/.storybook - Validating upgrade compatibility...
12+
[23:50:49.617] [DEBUG] libs/soba/.storybook - Fetching NPM version information...
13+
[23:50:49.617] [DEBUG] Getting CLI versions from NPM for storybook...
14+
[23:50:49.619] [DEBUG] Getting CLI versions from NPM for storybook@next...
15+
[23:50:50.241] [DEBUG] libs/soba/.storybook - Evaluating blockers...
16+
[23:50:50.242] [DEBUG] Getting installed version for @storybook/experimental-addon-test...
17+
[23:50:50.442] [INFO] detect-projects-spinner-stop: 1 project detected
18+
[23:50:50.443] [DEBUG] Found 1 valid projects and 0 error projects
19+
[23:50:50.443] [INFO] Upgrading from 9.0.14 to 9.0.14
20+
[23:50:50.454] [INFO] upgrade-dependencies-task-start: Fetching versions to update package.json files..
21+
[23:50:50.454] [DEBUG] Updating dependencies in libs/soba/.storybook...
22+
[23:50:50.463] [INFO] upgrade-dependencies-task: /libs/soba/package.json
23+
/package.json
24+
[23:50:50.463] [DEBUG] {
25+
"upgradedDependencies": []
26+
}
27+
[23:50:50.463] [DEBUG] {
28+
"upgradedDevDependencies": []
29+
}
30+
[23:50:50.463] [DEBUG] {
31+
"upgradedPeerDependencies": []
32+
}
33+
[23:50:50.464] [DEBUG] Getting CLI versions from NPM for @chromatic-com/storybook...
34+
[23:50:50.465] [DEBUG] Getting CLI versions from NPM for @storybook/test-runner...
35+
[23:50:51.593] [DEBUG] {
36+
"upgradedDependencies": []
37+
}
38+
[23:50:51.593] [DEBUG] {
39+
"upgradedDevDependencies": [
40+
"@storybook/addon-docs@^9.0.14",
41+
"@storybook/angular@9.0.14",
42+
"eslint-plugin-storybook@9.0.14",
43+
"storybook@9.0.14",
44+
"@chromatic-com/storybook@^4.0.1",
45+
"@storybook/test-runner@0.23.0"
46+
]
47+
}
48+
[23:50:51.593] [DEBUG] {
49+
"upgradedPeerDependencies": []
50+
}
51+
[23:50:51.594] [DEBUG] Getting CLI versions from NPM for @storybook/addon-docs...
52+
[23:50:52.151] [DEBUG] Getting CLI versions from NPM for @storybook/angular...
53+
[23:50:52.765] [DEBUG] Getting CLI versions from NPM for eslint-plugin-storybook...
54+
[23:50:53.223] [DEBUG] Using cached version for storybook...
55+
[23:50:53.223] [DEBUG] Using cached version for @chromatic-com/storybook...
56+
[23:50:53.223] [DEBUG] Using cached version for @storybook/test-runner...
57+
[23:50:53.224] [INFO] upgrade-dependencies-task-success: Updated package versions in package.json files
58+
[23:50:53.224] [INFO] detect-automigrations-task-start: Detecting automigrations...
59+
[23:50:53.224] [DEBUG] Starting automigration collection across 1 projects and 15 fixes...
60+
[23:50:53.232] [INFO] detect-automigrations-task: Checking automigrations for libs/soba/.storybook...
61+
[23:50:53.233] [DEBUG] Processing project: libs/soba/.storybook
62+
[23:50:53.233] [DEBUG] Checking fix eslintPlugin for project libs/soba/.storybook...
63+
[23:50:53.235] [DEBUG] Checking fix addon-mdx-gfm-remove for project libs/soba/.storybook...
64+
[23:50:53.236] [DEBUG] Checking fix addon-storysource-code-panel for project libs/soba/.storybook...
65+
[23:50:53.236] [DEBUG] Checking fix upgrade-storybook-related-dependencies for project libs/soba/.storybook...
66+
[23:50:53.236] [DEBUG] Checking for incompatible storybook packages...
67+
[23:50:53.238] [DEBUG] Getting installed version for @nx/storybook...
68+
[23:50:53.238] [DEBUG] Getting installed version for storybook-addon-deep-controls...
69+
[23:50:53.459] [DEBUG] Getting CLI versions from NPM for @nx/storybook...
70+
[23:50:53.487] [DEBUG] Getting CLI versions from NPM for storybook-addon-deep-controls...
71+
[23:50:54.242] [DEBUG] Checking fix initial-globals for project libs/soba/.storybook...
72+
[23:50:54.252] [DEBUG] Checking fix addon-a11y-addon-test for project libs/soba/.storybook...
73+
[23:50:54.252] [DEBUG] Checking fix consolidated-imports for project libs/soba/.storybook...
74+
[23:50:54.253] [DEBUG] Checking fix addon-experimental-test for project libs/soba/.storybook...
75+
[23:50:54.253] [DEBUG] Using cached installed version for @storybook/experimental-addon-test...
76+
[23:50:54.253] [DEBUG] Checking fix rnstorybook-config for project libs/soba/.storybook...
77+
[23:50:54.253] [DEBUG] Checking fix remove-addon-interactions for project libs/soba/.storybook...
78+
[23:50:54.253] [DEBUG] Checking fix renderer-to-framework for project libs/soba/.storybook...
79+
[23:50:54.254] [DEBUG] Checking fix remove-essential-addons for project libs/soba/.storybook...
80+
[23:50:54.254] [DEBUG] Checking fix addon-a11y-parameters for project libs/soba/.storybook...
81+
[23:50:54.254] [DEBUG] Checking fix remove-docs-autodocs for project libs/soba/.storybook...
82+
[23:50:54.259] [DEBUG] Checking fix wrap-require for project libs/soba/.storybook...
83+
[23:50:54.272] [INFO] detect-automigrations-task:
84+
Automigrations detected:
85+
[23:50:54.272] [INFO] detect-automigrations-task-success: No automigrations detected
86+
[23:50:54.272] [DEBUG] Completed automigrations for libs/soba/.storybook
87+
[23:50:54.272] [INFO] Installing dependencies...
88+
[23:50:54.272] [INFO] install-dependencies-task-start: Installing dependencies...
89+
[23:50:54.627] [INFO] Lockfile is up to date, resolution step is skipped
90+
[23:50:54.637] [INFO] install-dependencies-task: Lockfile is up to date, resolution step is skipped
91+
[23:50:54.821] [INFO] Already up to date
92+
[23:50:54.832] [INFO] install-dependencies-task: Already up to date
93+
[23:50:56.184] [INFO]
94+
[23:50:56.193] [INFO] install-dependencies-task:
95+
[23:50:56.213] [INFO] Done in 1.8s using pnpm v10.12.1
96+
[23:50:56.221] [INFO] install-dependencies-task: Done in 1.8s using pnpm v10.12.1
97+
[23:50:56.224] [INFO] Dependencies installed
98+
[23:50:56.224] [INFO] install-dependencies-task-success: Dependencies installed
99+
[23:50:56.224] [WARN] Since you are in a monorepo, we advise you to deduplicate your dependencies. We can do this for you but it might take some time.
100+
[23:51:21.867] [PROMPT] Execute pnpm run dedupe? {"choice":true}
101+
[23:51:21.867] [INFO] Deduplicating dependencies...
102+
[23:51:21.867] [INFO] dedupe-dependencies-task-start: Deduplicating dependencies...
103+
[23:51:22.253] [INFO] Progress: resolved 1, reused 0, downloaded 0, added 0
104+
[23:51:22.261] [INFO] dedupe-dependencies-task: Progress: resolved 1, reused 0, downloaded 0, added 0
105+
[23:51:23.255] [INFO] Progress: resolved 108, reused 108, downloaded 0, added 0
106+
[23:51:23.264] [INFO] dedupe-dependencies-task: Progress: resolved 108, reused 108, downloaded 0, added 0
107+
[23:51:24.255] [INFO] Progress: resolved 260, reused 259, downloaded 0, added 0
108+
[23:51:24.265] [INFO] dedupe-dependencies-task: Progress: resolved 260, reused 259, downloaded 0, added 0
109+
[23:51:25.255] [INFO] Progress: resolved 506, reused 488, downloaded 0, added 0
110+
[23:51:25.267] [INFO] dedupe-dependencies-task: Progress: resolved 506, reused 488, downloaded 0, added 0
111+
[23:51:26.255] [INFO] Progress: resolved 837, reused 770, downloaded 0, added 0
112+
[23:51:26.263] [INFO] dedupe-dependencies-task: Progress: resolved 837, reused 770, downloaded 0, added 0
113+
[23:51:27.256] [INFO] Progress: resolved 1174, reused 1069, downloaded 0, added 0
114+
[23:51:27.266] [INFO] dedupe-dependencies-task: Progress: resolved 1174, reused 1069, downloaded 0, added 0
115+
[23:51:28.262] [INFO] Progress: resolved 1610, reused 1450, downloaded 0, added 0
116+
[23:51:28.271] [INFO] dedupe-dependencies-task: Progress: resolved 1610, reused 1450, downloaded 0, added 0
117+
[23:51:29.263] [INFO] Progress: resolved 2007, reused 1835, downloaded 0, added 0
118+
[23:51:29.271] [INFO] dedupe-dependencies-task: Progress: resolved 2007, reused 1835, downloaded 0, added 0
119+
[23:51:29.941] [INFO] WARN  6 deprecated subdependencies found: abab@2.0.6, domexception@4.0.0, glob@7.2.3, inflight@1.0.6, read-pkg-up@11.0.0, rimraf@3.0.2
120+
[23:51:29.951] [INFO] dedupe-dependencies-task: WARN  6 deprecated subdependencies found: abab@2.0.6, domexception@4.0.0,
121+
glob@7.2.3, inflight@1.0.6, read-pkg-up@11.0.0, rimraf@3.0.2
122+
[23:51:29.979] [INFO] Packages: -71
123+
-----------------------------------------------------------------------
124+
[23:51:29.987] [INFO] dedupe-dependencies-task: Packages: -71
125+
-----------------------------------------------------------------------
126+
[23:51:30.143] [INFO] Progress: resolved 2162, reused 1968, downloaded 0, added 2, done
127+
[23:51:30.152] [INFO] dedupe-dependencies-task: Progress: resolved 2162, reused 1968, downloaded 0, added 2, done
128+
[23:51:30.751] [INFO] WARN  Issues with peer dependencies found
129+
.
130+
├─┬ @angular-devkit/build-angular 20.0.2
131+
│ └─┬ @angular/build 20.0.2
132+
│ └── ✕ unmet peer vitest@^3.1.1: found 1.6.0
133+
├─┬ @angular/build 20.0.2
134+
│ ├── ✕ unmet peer vitest@^3.1.1: found 1.6.0
135+
│ └── ✕ unmet peer less@^4.2.0: found 4.1.3
136+
├─┬ @storybook/types 8.3.6
137+
│ └── ✕ unmet peer storybook@^8.3.6: found 9.0.14
138+
├─┬ @storybook/addon-controls 8.6.14
139+
│ └── ✕ unmet peer storybook@^8.6.14: found 9.0.14
140+
├─┬ storybook-addon-deep-controls 0.9.3
141+
│ └── ✕ unmet peer storybook@"7.x.x || 8.x.x": found 9.0.14
142+
└─┬ @nx/angular 21.2.1
143+
└─┬ @nx/rspack 21.2.1
144+
└── ✕ unmet peer @module-federation/enhanced@^0.9.0: found 0.10.0
145+
[23:51:30.767] [INFO] dedupe-dependencies-task: WARN  Issues with peer dependencies found
146+
.
147+
├─┬ @angular-devkit/build-angular 20.0.2
148+
│ └─┬ @angular/build 20.0.2
149+
│ └── ✕ unmet peer vitest@^3.1.1: found 1.6.0
150+
├─┬ @angular/build 20.0.2
151+
│ ├── ✕ unmet peer vitest@^3.1.1: found 1.6.0
152+
│ └── ✕ unmet peer less@^4.2.0: found 4.1.3
153+
├─┬ @storybook/types 8.3.6
154+
│ └── ✕ unmet peer storybook@^8.3.6: found 9.0.14
155+
├─┬ @storybook/addon-controls 8.6.14
156+
│ └── ✕ unmet peer storybook@^8.6.14: found 9.0.14
157+
├─┬ storybook-addon-deep-controls 0.9.3
158+
│ └── ✕ unmet peer storybook@"7.x.x || 8.x.x": found 9.0.14
159+
└─┬ @nx/angular 21.2.1
160+
└─┬ @nx/rspack 21.2.1
161+
└── ✕ unmet peer @module-federation/enhanced@^0.9.0: found 0.10.0
162+
[23:51:30.767] [INFO]
163+
[23:51:30.776] [INFO] dedupe-dependencies-task:
164+
[23:51:30.794] [INFO] Dependencies deduplicated
165+
[23:51:30.794] [INFO] dedupe-dependencies-task-success: Dependencies deduplicated
166+
[23:51:30.794] [INFO] Checking the health of your project(s)..
167+
[23:51:31.014] [WARN] libs/soba/.storybook: 1 issue found
168+
[23:51:31.023] [INFO] You are currently using Storybook 9.0.14 but you have packages which are incompatible with it:
169+
170+
- storybook-addon-deep-controls@0.9.3 which depends on 7.x.x || 8.x.x
171+
Repo: https://github.com/eliasm307/storybook-addon-deep-controls#readme
172+
173+
Please consider updating your packages or contacting the maintainers for compatibility details.
174+
175+
For more on Storybook 9 compatibility, see the linked GitHub issue:
176+
https://github.com/storybookjs/storybook/issues/30944
177+
[23:51:31.023] [INFO] Incompatible Packages
178+
[23:51:31.031] [INFO] You are currently using Storybook 9.0.14 but you have packages which are incompatible with it:
179+
180+
- storybook-addon-deep-controls@0.9.3 which depends on 7.x.x || 8.x.x
181+
Repo: https://github.com/eliasm307/storybook-addon-deep-controls#readme
182+
183+
Please consider updating your packages or contacting the maintainers for compatibility details.
184+
185+
For more on Storybook 9 compatibility, see the linked GitHub issue:
186+
https://github.com/storybookjs/storybook/issues/30944
187+
[23:51:31.040] [INFO] Storybook doctor is complete!
188+
[23:51:31.048] [INFO] You can always recheck the health of your project(s) by running:
189+
npx storybook doctor
190+
[23:51:31.055] [INFO] The upgrade is complete!
191+
[23:51:31.064] [INFO] Your project(s) have been upgraded successfully, but some issues were found which need your attention, please check Storybook doctor logs above.
192+
[23:51:31.072] [INFO] For a full list of changes, please check our migration guide: https://storybook.js.org/docs/migration-guide
193+
[23:51:31.082] [INFO] Attention: Storybook now collects completely anonymous telemetry regarding usage. This information is used to shape Storybook's roadmap and prioritize features.
194+
[23:51:31.090] [INFO] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
195+
[23:51:31.099] [INFO] https://storybook.js.org/telemetry
196+
[23:51:31.106] [INFO]

libs/soba/.storybook/main.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1+
import { createRequire } from "node:module";
2+
import { dirname, join } from "node:path";
13
import { StorybookConfig } from '@storybook/angular';
24

5+
const require = createRequire(import.meta.url);
6+
37
const config: StorybookConfig = {
48
stories: ['../**/*.mdx', '../**/*.stories.@(js|ts)'],
59

610
addons: [
7-
'storybook-addon-deep-controls',
8-
'@chromatic-com/storybook',
9-
'@storybook/addon-docs'
11+
getAbsolutePath("storybook-addon-deep-controls"),
12+
getAbsolutePath("@chromatic-com/storybook"),
13+
getAbsolutePath("@storybook/addon-docs")
1014
],
1115

1216
staticDirs: ['./public', './public/cube'],
13-
framework: '@storybook/angular',
17+
framework: getAbsolutePath("@storybook/angular"),
1418

1519
webpackFinal: async (config) => {
1620
// Handle Node.js polyfills for webpack 5
@@ -27,3 +31,7 @@ const config: StorybookConfig = {
2731
};
2832

2933
export default config;
34+
35+
function getAbsolutePath(value: string): any {
36+
return dirname(require.resolve(join(value, "package.json")));
37+
}

libs/soba/package.json

Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,85 @@
11
{
2-
"name": "angular-three-soba",
3-
"version": "0.0.0-replace",
4-
"publishConfig": {
5-
"access": "public"
6-
},
7-
"repository": {
8-
"type": "git",
9-
"url": "https://github.com/angular-threejs/angular-three/tree/main/libs/soba"
10-
},
11-
"author": {
12-
"name": "Chau Tran",
13-
"email": "nartc7789@gmail.com",
14-
"url": "https://nartc.me"
15-
},
16-
"description": "Utilities for Angular Three",
17-
"keywords": [
18-
"angular",
19-
"threejs",
20-
"renderer",
21-
"utilities",
22-
"shaders"
23-
],
24-
"license": "MIT",
25-
"exports": {
26-
"./assets/*": "./assets/*"
27-
},
28-
"peerDependencies": {
29-
"@angular/common": ">=19.0.0 <21.0.0",
30-
"@angular/core": ">=19.0.0 <21.0.0",
31-
"@monogrid/gainmap-js": "^3.0.0",
32-
"@pmndrs/vanilla": "^1.19.0",
33-
"camera-controls": "^2.8.0",
34-
"hls.js": ">=1.5.0",
35-
"maath": ">=0.10.0 <0.11.0",
36-
"meshline": "^3.1.0",
37-
"stats-gl": ">=2.0.0",
38-
"three": ">=0.157.0 <0.177.0",
39-
"three-custom-shader-material": ">=5.5.0 <6.4.0",
40-
"three-mesh-bvh": ">=0.5.0 <0.10.0",
41-
"three-stdlib": "^2.0.0",
42-
"troika-three-text": ">=0.47.0 <0.53.0"
43-
},
44-
"peerDependenciesMeta": {
45-
"@monogrid/gainmap-js": {
46-
"optional": true
47-
},
48-
"@pmndrs/vanilla": {
49-
"optional": true
50-
},
51-
"hls.js": {
52-
"optional": true
53-
},
54-
"troika-three-text": {
55-
"optional": true
56-
},
57-
"three-custom-shader-material": {
58-
"optional": true
59-
},
60-
"three-mesh-bvh": {
61-
"optional": true
62-
},
63-
"maath": {
64-
"optional": true
65-
},
66-
"meshline": {
67-
"optional": true
68-
},
69-
"camera-controls": {
70-
"optional": true
71-
},
72-
"stats-gl": {
73-
"optional": true
74-
}
75-
},
76-
"dependencies": {
77-
"tslib": "^2.3.0"
78-
},
79-
"sideEffects": false,
80-
"web-types": [
81-
"../../node_modules/angular-three/web-types.json",
82-
"../../node_modules/angular-three-soba/web-types.json",
83-
"./web-types.json"
84-
]
2+
"name": "angular-three-soba",
3+
"version": "0.0.0-replace",
4+
"publishConfig": {
5+
"access": "public"
6+
},
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/angular-threejs/angular-three/tree/main/libs/soba"
10+
},
11+
"author": {
12+
"name": "Chau Tran",
13+
"email": "nartc7789@gmail.com",
14+
"url": "https://nartc.me"
15+
},
16+
"description": "Utilities for Angular Three",
17+
"keywords": [
18+
"angular",
19+
"threejs",
20+
"renderer",
21+
"utilities",
22+
"shaders"
23+
],
24+
"license": "MIT",
25+
"exports": {
26+
"./assets/*": "./assets/*"
27+
},
28+
"peerDependencies": {
29+
"@angular/common": ">=19.0.0 <21.0.0",
30+
"@angular/core": ">=19.0.0 <21.0.0",
31+
"@monogrid/gainmap-js": "^3.0.0",
32+
"@pmndrs/vanilla": "^1.19.0",
33+
"camera-controls": "^2.8.0",
34+
"hls.js": ">=1.5.0",
35+
"maath": ">=0.10.0 <0.11.0",
36+
"meshline": "^3.1.0",
37+
"stats-gl": ">=2.0.0",
38+
"three": ">=0.157.0 <0.177.0",
39+
"three-custom-shader-material": ">=5.5.0 <6.4.0",
40+
"three-mesh-bvh": ">=0.5.0 <0.10.0",
41+
"three-stdlib": "^2.0.0",
42+
"troika-three-text": ">=0.47.0 <0.53.0"
43+
},
44+
"peerDependenciesMeta": {
45+
"@monogrid/gainmap-js": {
46+
"optional": true
47+
},
48+
"@pmndrs/vanilla": {
49+
"optional": true
50+
},
51+
"hls.js": {
52+
"optional": true
53+
},
54+
"troika-three-text": {
55+
"optional": true
56+
},
57+
"three-custom-shader-material": {
58+
"optional": true
59+
},
60+
"three-mesh-bvh": {
61+
"optional": true
62+
},
63+
"maath": {
64+
"optional": true
65+
},
66+
"meshline": {
67+
"optional": true
68+
},
69+
"camera-controls": {
70+
"optional": true
71+
},
72+
"stats-gl": {
73+
"optional": true
74+
}
75+
},
76+
"dependencies": {
77+
"tslib": "^2.3.0"
78+
},
79+
"sideEffects": false,
80+
"web-types": [
81+
"../../node_modules/angular-three/web-types.json",
82+
"../../node_modules/angular-three-soba/web-types.json",
83+
"./web-types.json"
84+
]
8585
}

0 commit comments

Comments
 (0)