Skip to content

Commit c862829

Browse files
ctranctran
ctran
authored and
ctran
committed
update
1 parent d680aac commit c862829

File tree

6 files changed

+5024
-2082
lines changed

6 files changed

+5024
-2082
lines changed

.eslintrc.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,18 @@
2424
{
2525
"files": ["*.ts", "*.tsx"],
2626
"extends": ["plugin:@nx/typescript"],
27-
"rules": {}
27+
"rules": {
28+
"@typescript-eslint/no-extra-semi": "error",
29+
"no-extra-semi": "off"
30+
}
2831
},
2932
{
3033
"files": ["*.js", "*.jsx"],
3134
"extends": ["plugin:@nx/javascript"],
32-
"rules": {}
35+
"rules": {
36+
"@typescript-eslint/no-extra-semi": "error",
37+
"no-extra-semi": "off"
38+
}
3339
},
3440
{
3541
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ Thumbs.db
4141
.angular
4242
.env
4343

44-
.nx/cache
44+
.nx/cache
45+
.nx/workspace-data

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ libs/soba/.storybook/public/**/*.js
88
apps/sandbox/src/assets/**/*.js
99
apps/examples/src/assets/**/*.js
1010

11-
/.nx/cache
11+
/.nx/cache
12+
/.nx/workspace-data

migrations.json

Lines changed: 72 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,109 @@
11
{
22
"migrations": [
3+
{
4+
"version": "18.1.0-beta.3",
5+
"description": "Moves affected.defaultBase to defaultBase in `nx.json`",
6+
"implementation": "./src/migrations/update-17-2-0/move-default-base",
7+
"package": "nx",
8+
"name": "move-default-base-to-nx-json-root"
9+
},
310
{
411
"cli": "nx",
5-
"version": "17.3.0-beta.6",
6-
"description": "Updates the nx wrapper.",
7-
"implementation": "./src/migrations/update-17-3-0/update-nxw",
12+
"version": "19.2.0-beta.2",
13+
"description": "Updates the default workspace data directory to .nx/workspace-data",
14+
"implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory",
815
"package": "nx",
9-
"name": "17.3.0-update-nx-wrapper"
16+
"name": "19-2-0-move-graph-cache-directory"
1017
},
1118
{
1219
"cli": "nx",
13-
"version": "18.0.0-beta.2",
14-
"description": "Updates .env to disabled adding plugins when generating projects in an existing Nx workspace",
15-
"implementation": "./src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces",
16-
"x-repair-skip": true,
20+
"version": "19.2.2-beta.0",
21+
"description": "Updates the nx wrapper.",
22+
"implementation": "./src/migrations/update-17-3-0/update-nxw",
1723
"package": "nx",
18-
"name": "18.0.0-disable-adding-plugins-for-existing-workspaces"
24+
"name": "19-2-2-update-nx-wrapper"
1925
},
2026
{
21-
"version": "17.3.0-beta.0",
22-
"description": "Move the vitest coverage thresholds in their own object if exists and add reporters.",
23-
"implementation": "./src/migrations/update-17-3-0/vitest-coverage-and-reporters",
24-
"package": "@nx/vite",
25-
"name": "vitest-coverage-and-reporters"
27+
"version": "19.2.4-beta.0",
28+
"description": "Set project name in nx.json explicitly",
29+
"implementation": "./src/migrations/update-19-2-4/set-project-name",
30+
"x-repair-skip": true,
31+
"package": "nx",
32+
"name": "19-2-4-set-project-name"
2633
},
2734
{
28-
"version": "17.2.9",
29-
"description": "Move executor options to target defaults",
30-
"implementation": "./src/migrations/update-17-2-9/move-options-to-target-defaults",
31-
"package": "@nx/eslint",
32-
"name": "move-options-to-target-defaults"
35+
"cli": "nx",
36+
"version": "19.1.0-beta.6",
37+
"description": "Migrate no-extra-semi rules into user config, out of nx extendable configs",
38+
"implementation": "./src/migrations/update-19-1-0-migrate-no-extra-semi/migrate-no-extra-semi",
39+
"package": "@nx/eslint-plugin",
40+
"name": "update-19-1-0-rename-no-extra-semi"
3341
},
3442
{
3543
"cli": "nx",
36-
"version": "17.3.0-beta.10",
44+
"version": "18.1.0-beta.1",
3745
"requires": {
38-
"@angular/core": ">=17.1.0"
46+
"@angular/core": ">=17.2.0"
3947
},
40-
"description": "Update the @angular/cli package version to ~17.1.0.",
41-
"factory": "./src/migrations/update-17-3-0/update-angular-cli",
48+
"description": "Update the @angular/cli package version to ~17.2.0.",
49+
"factory": "./src/migrations/update-18-1-0/update-angular-cli",
4250
"package": "@nx/angular",
43-
"name": "update-angular-cli-version-17-1-0"
51+
"name": "update-angular-cli-version-17-2-0"
4452
},
4553
{
4654
"cli": "nx",
47-
"version": "17.3.0-beta.10",
55+
"version": "18.1.1-beta.0",
56+
"description": "Ensure targetDefaults inputs for task hashing when '@nx/angular:webpack-browser' is used are correct for Module Federation.",
57+
"factory": "./src/migrations/update-18-1-1/fix-target-defaults-inputs",
58+
"package": "@nx/angular",
59+
"name": "fix-target-defaults-for-webpack-browser"
60+
},
61+
{
62+
"cli": "nx",
63+
"version": "18.2.0-beta.0",
4864
"requires": {
49-
"@angular/core": ">=17.1.0"
65+
"@angular/core": ">=17.3.0"
5066
},
51-
"description": "Add 'browser-sync' as dev dependency when '@angular-devkit/build-angular:ssr-dev-server' or '@nx/angular:module-federation-dev-ssr' is used.",
52-
"factory": "./src/migrations/update-17-3-0/add-browser-sync-dependency",
67+
"description": "Update the @angular/cli package version to ~17.3.0.",
68+
"factory": "./src/migrations/update-18-2-0/update-angular-cli",
5369
"package": "@nx/angular",
54-
"name": "add-browser-sync-dependency"
70+
"name": "update-angular-cli-version-17-3-0"
5571
},
5672
{
5773
"cli": "nx",
58-
"version": "17.3.0-beta.10",
74+
"version": "19.1.0-beta.2",
5975
"requires": {
60-
"@angular/core": ">=17.1.0"
76+
"@angular/core": ">=18.0.0"
6177
},
62-
"description": "Add 'autoprefixer' as dev dependency when '@nx/angular:ng-packagr-lite' or '@nx/angular:package` is used.",
63-
"factory": "./src/migrations/update-17-3-0/add-autoprefixer-dependency",
78+
"description": "Update the @angular/cli package version to ~18.0.0.",
79+
"factory": "./src/migrations/update-19-1-0/update-angular-cli",
6480
"package": "@nx/angular",
65-
"name": "add-autoprefixer-dependency"
81+
"name": "update-angular-cli-version-18-0-0"
6682
},
6783
{
6884
"cli": "nx",
69-
"version": "18.0.0-beta.0",
70-
"description": "Add NX_MF_DEV_SERVER_STATIC_REMOTES to inputs for task hashing when '@nx/angular:webpack-browser' is used for Module Federation.",
71-
"factory": "./src/migrations/update-18-0-0/add-mf-env-var-to-target-defaults",
85+
"version": "19.2.1-beta.0",
86+
"requires": {
87+
"@angular-eslint/eslint-plugin": ">=18.0.0"
88+
},
89+
"description": "Installs the '@typescript-eslint/utils' package when having installed '@angular-eslint/eslint-plugin' or '@angular-eslint/eslint-plugin-template' with version >=18.0.0.",
90+
"factory": "./src/migrations/update-19-2-1/add-typescript-eslint-utils",
7291
"package": "@nx/angular",
73-
"name": "add-module-federation-env-var-to-target-defaults"
92+
"name": "add-typescript-eslint-utils"
93+
},
94+
{
95+
"version": "18.0.0",
96+
"description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.",
97+
"factory": "./migrations/invalid-two-way-bindings/bundle",
98+
"package": "@angular/core",
99+
"name": "invalid-two-way-bindings"
100+
},
101+
{
102+
"version": "18.0.0",
103+
"description": "Replace deprecated HTTP related modules with provider functions",
104+
"factory": "./migrations/http-providers/bundle",
105+
"package": "@angular/core",
106+
"name": "migration-http-providers"
74107
}
75108
]
76-
}
109+
}

package.json

Lines changed: 43 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,30 @@
1616
"devDependencies": {
1717
"@analogjs/platform": "^0.2.39",
1818
"@analogjs/vite-plugin-angular": "^0.2.39",
19-
"@angular-devkit/build-angular": "17.2.0",
20-
"@angular-devkit/core": "17.2.0",
21-
"@angular-devkit/schematics": "17.2.0",
22-
"@angular-eslint/eslint-plugin": "17.2.1",
23-
"@angular-eslint/eslint-plugin-template": "17.2.1",
24-
"@angular-eslint/template-parser": "17.2.1",
25-
"@angular/cli": "~17.2.0",
26-
"@angular/compiler-cli": "17.2.1",
27-
"@angular/language-service": "17.2.1",
28-
"@nx/angular": "18.0.4",
29-
"@nx/devkit": "18.0.4",
30-
"@nx/eslint-plugin": "18.0.4",
31-
"@nx/jest": "18.0.4",
32-
"@nx/js": "18.0.4",
33-
"@nx/plugin": "18.0.4",
34-
"@nx/storybook": "18.0.4",
35-
"@nx/vite": "18.0.4",
36-
"@nx/web": "18.0.4",
37-
"@nx/workspace": "18.0.4",
19+
"@angular-devkit/build-angular": "18.0.4",
20+
"@angular-devkit/core": "18.0.4",
21+
"@angular-devkit/schematics": "18.0.4",
22+
"@angular-eslint/eslint-plugin": "18.0.1",
23+
"@angular-eslint/eslint-plugin-template": "18.0.1",
24+
"@angular-eslint/template-parser": "18.0.1",
25+
"@angular/cli": "~18.0.0",
26+
"@angular/compiler-cli": "18.0.3",
27+
"@angular/language-service": "18.0.3",
28+
"@nx/angular": "19.3.0",
29+
"@nx/devkit": "19.3.0",
30+
"@nx/eslint": "19.3.0",
31+
"@nx/eslint-plugin": "19.3.0",
32+
"@nx/jest": "19.3.0",
33+
"@nx/js": "19.3.0",
34+
"@nx/plugin": "19.3.0",
35+
"@nx/storybook": "19.3.0",
36+
"@nx/vite": "19.3.0",
37+
"@nx/web": "19.3.0",
38+
"@nx/workspace": "19.3.0",
3839
"@phenomnomnominal/tsquery": "^6.1.3",
3940
"@release-it/bumper": "^6.0.1",
4041
"@release-it/conventional-changelog": "^8.0.1",
41-
"@schematics/angular": "17.2.0",
42+
"@schematics/angular": "18.0.4",
4243
"@storybook/addon-essentials": "7.6.17",
4344
"@storybook/addon-interactions": "7.6.17",
4445
"@storybook/angular": "7.6.17",
@@ -48,29 +49,30 @@
4849
"@storybook/test-runner": "0.16.0",
4950
"@storybook/testing-library": "0.2.2",
5051
"@storybook/theming": "^7.6.17",
51-
"@swc-node/register": "1.8.0",
52-
"@swc/cli": "~0.3.9",
53-
"@swc/core": "1.4.2",
52+
"@swc-node/register": "1.9.2",
53+
"@swc/cli": "0.3.12",
54+
"@swc/core": "1.5.7",
5455
"@types/jest": "^29.5.12",
5556
"@types/node": "20.11.19",
5657
"@types/three": "^0.161.2",
57-
"@typescript-eslint/eslint-plugin": "7.0.2",
58-
"@typescript-eslint/parser": "7.0.2",
58+
"@typescript-eslint/eslint-plugin": "7.9.0",
59+
"@typescript-eslint/parser": "7.9.0",
60+
"@typescript-eslint/utils": "^8.0.0-alpha.28",
5961
"autoprefixer": "^10.4.17",
6062
"dotenv-cli": "^7.3.0",
6163
"enquirer": "^2.4.1",
62-
"eslint": "8.56.0",
64+
"eslint": "8.57.0",
6365
"eslint-config-prettier": "9.1.0",
6466
"glsl-noise": "^0.0.0",
6567
"glslify-loader": "^2.0.0",
6668
"jest": "^29.7.0",
6769
"jest-environment-jsdom": "^29.7.0",
68-
"jest-preset-angular": "14.0.3",
70+
"jest-preset-angular": "14.1.0",
6971
"jsdom": "^24.0.0",
7072
"jsonc-eslint-parser": "^2.4.0",
71-
"ng-packagr": "17.2.0",
73+
"ng-packagr": "18.0.0",
7274
"ngx-resize": "^2.0.0",
73-
"nx": "18.0.4",
75+
"nx": "19.3.0",
7476
"postcss": "^8.4.35",
7577
"postcss-import": "~16.0.1",
7678
"postcss-preset-env": "~9.4.0",
@@ -84,28 +86,27 @@
8486
"three": "^0.161.0",
8587
"ts-jest": "^29.1.2",
8688
"ts-node": "10.9.2",
87-
"typescript": "5.3.3",
89+
"typescript": "5.4.5",
8890
"vite": "5.1.3",
8991
"vite-plugin-glslify": "^2.0.2",
9092
"vite-tsconfig-paths": "^4.3.1",
91-
"vitest": "1.3.1",
92-
"@nx/eslint": "18.0.4"
93+
"vitest": "1.6.0"
9394
},
9495
"dependencies": {
9596
"@analogjs/content": "^0.2.39",
9697
"@analogjs/router": "^0.2.39",
97-
"@angular/animations": "17.2.1",
98-
"@angular/common": "17.2.1",
99-
"@angular/compiler": "17.2.1",
100-
"@angular/core": "17.2.1",
101-
"@angular/forms": "17.2.1",
102-
"@angular/platform-browser": "17.2.1",
103-
"@angular/platform-browser-dynamic": "17.2.1",
104-
"@angular/platform-server": "17.2.1",
105-
"@angular/router": "17.2.1",
98+
"@angular/animations": "18.0.3",
99+
"@angular/common": "18.0.3",
100+
"@angular/compiler": "18.0.3",
101+
"@angular/core": "18.0.3",
102+
"@angular/forms": "18.0.3",
103+
"@angular/platform-browser": "18.0.3",
104+
"@angular/platform-browser-dynamic": "18.0.3",
105+
"@angular/platform-server": "18.0.3",
106+
"@angular/router": "18.0.3",
106107
"@dimforge/rapier3d-compat": "^0.12.0",
107108
"@pmndrs/cannon-worker-api": "^2.4.0",
108-
"@swc/helpers": "0.5.6",
109+
"@swc/helpers": "0.5.11",
109110
"cannon-es": "^0.20.0",
110111
"cannon-es-debugger": "^1.0.0",
111112
"front-matter": "^4.0.2",

0 commit comments

Comments
 (0)