Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 08596ab

Browse files
committed
chore: clean codes
1 parent 786ce06 commit 08596ab

File tree

6 files changed

+112
-114
lines changed

6 files changed

+112
-114
lines changed

‎ui/apps/shared-components-e2e/project.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "apps/shared-components-e2e/src",
55
"projectType": "application",
6+
"tags": [],
7+
"implicitDependencies": ["shared-components"],
68
"targets": {
79
"e2e": {
810
"executor": "@nx/cypress:cypress",
@@ -23,7 +25,5 @@
2325
"lintFilePatterns": ["apps/shared-components-e2e/**/*.{js,ts}"]
2426
}
2527
}
26-
},
27-
"tags": [],
28-
"implicitDependencies": ["shared-components"]
28+
}
2929
}

‎ui/apps/todolist-e2e/project.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "apps/todolist-e2e/src",
55
"projectType": "application",
6+
"tags": [],
7+
"implicitDependencies": ["todolist"],
68
"targets": {
79
"e2e": {
810
"executor": "@nx/cypress:cypress",
@@ -23,7 +25,5 @@
2325
"lintFilePatterns": ["apps/todolist-e2e/**/*.{js,ts}"]
2426
}
2527
}
26-
},
27-
"tags": [],
28-
"implicitDependencies": ["todolist"]
28+
}
2929
}

‎ui/apps/todolist/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"name": "todolist",
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"projectType": "application",
5+
"sourceRoot": "apps/todolist/src",
6+
"prefix": "app",
57
"generators": {
68
"@schematics/angular:application": {
79
"strict": true
810
}
911
},
10-
"sourceRoot": "apps/todolist/src",
11-
"prefix": "app",
1212
"targets": {
1313
"build": {
1414
"executor": "@angular-devkit/build-angular:browser",

‎ui/migrations.json

Lines changed: 70 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -2,123 +2,121 @@
22
"migrations": [
33
{
44
"cli": "nx",
5-
"version": "17.0.0-beta.1",
6-
"description": "Updates the default cache directory to .nx/cache",
7-
"implementation": "./src/migrations/update-17-0-0/move-cache-directory",
5+
"version": "17.3.0-beta.6",
6+
"description": "Updates the nx wrapper.",
7+
"implementation": "./src/migrations/update-17-3-0/update-nxw",
88
"package": "nx",
9-
"name": "17.0.0-move-cache-directory"
9+
"name": "17.3.0-update-nx-wrapper"
1010
},
1111
{
1212
"cli": "nx",
13-
"version": "17.0.0-beta.3",
14-
"description": "Use minimal config for tasksRunnerOptions",
15-
"implementation": "./src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options",
13+
"version": "18.0.0-beta.2",
14+
"description": "Updates nx.json 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,
1617
"package": "nx",
17-
"name": "17.0.0-use-minimal-config-for-tasks-runner-options"
18+
"name": "18.0.0-disable-adding-plugins-for-existing-workspaces"
1819
},
1920
{
20-
"version": "17.0.0-rc.1",
21-
"description": "Migration for v17.0.0-rc.1",
22-
"implementation": "./src/migrations/update-17-0-0/rm-default-collection-npm-scope",
21+
"version": "18.1.0-beta.3",
22+
"description": "Moves affected.defaultBase to defaultBase in `nx.json`",
23+
"implementation": "./src/migrations/update-17-2-0/move-default-base",
2324
"package": "nx",
24-
"name": "rm-default-collection-npm-scope"
25+
"name": "move-default-base-to-nx-json-root"
2526
},
2627
{
27-
"version": "17.1.0-beta.2",
28-
"description": "Move jest executor options to nx.json targetDefaults",
29-
"implementation": "./src/migrations/update-17-1-0/move-options-to-target-defaults",
30-
"package": "@nx/jest",
31-
"name": "move-options-to-target-defaults"
28+
"cli": "nx",
29+
"version": "18.1.0-beta.3",
30+
"description": "Update to Cypress ^13.6.6 if the workspace is using Cypress v13 to ensure workspaces don't use v13.6.5 which has an issue when verifying Cypress.",
31+
"implementation": "./src/migrations/update-18-1-0/update-cypress-version-13-6-6",
32+
"package": "@nx/cypress",
33+
"name": "update-cypress-version-13-6-6"
3234
},
3335
{
3436
"cli": "nx",
35-
"version": "17.1.0-beta.5",
36-
"requires": {
37-
"@angular/core": ">=17.0.0"
38-
},
39-
"description": "Update the @angular/cli package version to ~17.0.0.",
40-
"factory": "./src/migrations/update-17-1-0/update-angular-cli",
37+
"version": "17.2.0-beta.2",
38+
"description": "Rename '@nx/angular:webpack-dev-server' executor to '@nx/angular:dev-server'",
39+
"factory": "./src/migrations/update-17-2-0/rename-webpack-dev-server",
4140
"package": "@nx/angular",
42-
"name": "update-angular-cli-version-17-0-0"
41+
"name": "rename-webpack-dev-server-executor"
4342
},
4443
{
4544
"cli": "nx",
46-
"version": "17.1.0-beta.5",
45+
"version": "17.3.0-beta.10",
4746
"requires": {
48-
"@angular/core": ">=17.0.0"
47+
"@angular/core": ">=17.1.0"
4948
},
50-
"description": "Rename 'browserTarget' to 'buildTarget'.",
51-
"factory": "./src/migrations/update-17-1-0/browser-target-to-build-target",
49+
"description": "Update the @angular/cli package version to ~17.1.0.",
50+
"factory": "./src/migrations/update-17-3-0/update-angular-cli",
5251
"package": "@nx/angular",
53-
"name": "rename-browser-target-to-build-target"
52+
"name": "update-angular-cli-version-17-1-0"
5453
},
5554
{
5655
"cli": "nx",
57-
"version": "17.1.0-beta.5",
56+
"version": "17.3.0-beta.10",
5857
"requires": {
59-
"@angular/core": ">=17.0.0"
58+
"@angular/core": ">=17.1.0"
6059
},
61-
"description": "Replace usages of '@nguniversal/builders' with '@angular-devkit/build-angular'.",
62-
"factory": "./src/migrations/update-17-1-0/replace-nguniversal-builders",
60+
"description": "Add 'browser-sync' as dev dependency when '@angular-devkit/build-angular:ssr-dev-server' or '@nx/angular:module-federation-dev-ssr' is used.",
61+
"factory": "./src/migrations/update-17-3-0/add-browser-sync-dependency",
6362
"package": "@nx/angular",
64-
"name": "replace-nguniversal-builders"
63+
"name": "add-browser-sync-dependency"
6564
},
6665
{
6766
"cli": "nx",
68-
"version": "17.1.0-beta.5",
67+
"version": "17.3.0-beta.10",
6968
"requires": {
70-
"@angular/core": ">=17.0.0"
69+
"@angular/core": ">=17.1.0"
7170
},
72-
"description": "Replace usages of '@nguniversal/' packages with '@angular/ssr'.",
73-
"factory": "./src/migrations/update-17-1-0/replace-nguniversal-engines",
71+
"description": "Add 'autoprefixer' as dev dependency when '@nx/angular:ng-packagr-lite' or '@nx/angular:package` is used.",
72+
"factory": "./src/migrations/update-17-3-0/add-autoprefixer-dependency",
73+
"package": "@nx/angular",
74+
"name": "add-autoprefixer-dependency"
75+
},
76+
{
77+
"cli": "nx",
78+
"version": "18.0.0-beta.0",
79+
"description": "Add NX_MF_DEV_SERVER_STATIC_REMOTES to inputs for task hashing when '@nx/angular:webpack-browser' is used for Module Federation.",
80+
"factory": "./src/migrations/update-18-0-0/add-mf-env-var-to-target-defaults",
7481
"package": "@nx/angular",
75-
"name": "replace-nguniversal-engines"
82+
"name": "add-module-federation-env-var-to-target-defaults"
7683
},
7784
{
7885
"cli": "nx",
79-
"version": "17.1.0-beta.5",
86+
"version": "18.1.0-beta.1",
8087
"requires": {
81-
"@angular/core": ">=17.0.0"
88+
"@angular/core": ">=17.2.0"
8289
},
83-
"description": "Replace the deep imports from 'zone.js/dist/zone' and 'zone.js/dist/zone-testing' with 'zone.js' and 'zone.js/testing'.",
84-
"factory": "./src/migrations/update-17-1-0/update-zone-js-deep-import",
90+
"description": "Update the @angular/cli package version to ~17.2.0.",
91+
"factory": "./src/migrations/update-18-1-0/update-angular-cli",
8592
"package": "@nx/angular",
86-
"name": "update-zone-js-deep-import"
93+
"name": "update-angular-cli-version-17-2-0"
8794
},
8895
{
89-
"version": "17.0.0",
90-
"description": "Angular v17 introduces a new control flow syntax that uses the @ and } characters. This migration replaces the existing usages with their corresponding HTML entities.",
91-
"factory": "./migrations/block-template-entities/bundle",
92-
"package": "@angular/core",
93-
"name": "block-template-entities"
96+
"cli": "nx",
97+
"version": "18.1.1-beta.0",
98+
"description": "Ensure targetDefaults inputs for task hashing when '@nx/angular:webpack-browser' is used are correct for Module Federation.",
99+
"factory": "./src/migrations/update-18-1-1/fix-target-defaults-inputs",
100+
"package": "@nx/angular",
101+
"name": "fix-target-defaults-for-webpack-browser"
94102
},
95103
{
96-
"version": "17.0.0",
97-
"description": "CompilerOption.useJit and CompilerOption.missingTranslation are unused under Ivy. This migration removes their usage",
98-
"factory": "./migrations/compiler-options/bundle",
99-
"package": "@angular/core",
100-
"name": "migration-v17-compiler-options"
104+
"cli": "nx",
105+
"version": "18.2.0-beta.0",
106+
"requires": {
107+
"@angular/core": ">=17.3.0"
108+
},
109+
"description": "Update the @angular/cli package version to ~17.3.0.",
110+
"factory": "./src/migrations/update-18-2-0/update-angular-cli",
111+
"package": "@nx/angular",
112+
"name": "update-angular-cli-version-17-3-0"
101113
},
102114
{
103-
"version": "17.0.0",
104-
"description": "Updates `TransferState`, `makeStateKey`, `StateKey` imports from `@angular/platform-browser` to `@angular/core`.",
105-
"factory": "./migrations/transfer-state/bundle",
115+
"version": "17.3.0",
116+
"description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.",
117+
"factory": "./migrations/invalid-two-way-bindings/bundle",
106118
"package": "@angular/core",
107-
"name": "migration-transfer-state"
108-
},
109-
{
110-
"version": "17.0.0-0",
111-
"description": "Updates Angular Material to v17",
112-
"factory": "./ng-update/index_bundled#updateToV17",
113-
"package": "@angular/material",
114-
"name": "migration-v17"
115-
},
116-
{
117-
"version": "17.0.0-0",
118-
"description": "Updates the Angular CDK to v17",
119-
"factory": "./ng-update/index#updateToV17",
120-
"package": "@angular/cdk",
121-
"name": "migration-v17"
119+
"name": "invalid-two-way-bindings"
122120
}
123121
]
124122
}

‎ui/nx.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"affected": {
3-
"defaultBase": "master"
4-
},
52
"targetDefaults": {
63
"build": {
74
"dependsOn": ["^build"],
@@ -70,5 +67,8 @@
7067
"!{projectRoot}/jest.config.[jt]s",
7168
"!{projectRoot}/src/test-setup.[jt]s"
7269
]
73-
}
70+
},
71+
"nxCloudAccessToken": "MDlhOGI4MTYtODdlMy00ZDkyLWJkYWMtNzY0MzFhZDUyNDFlfHJlYWQtd3JpdGU=",
72+
"useInferencePlugins": false,
73+
"defaultBase": "master"
7474
}

‎ui/package.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -14,42 +14,42 @@
1414
},
1515
"private": true,
1616
"dependencies": {
17-
"@angular/animations": "17.0.5",
18-
"@angular/cdk": "17.0.2",
19-
"@angular/common": "17.0.5",
20-
"@angular/compiler": "17.0.5",
21-
"@angular/core": "17.0.5",
22-
"@angular/forms": "17.0.5",
23-
"@angular/material": "17.0.2",
24-
"@angular/platform-browser": "17.0.5",
25-
"@angular/platform-browser-dynamic": "17.0.5",
26-
"@angular/router": "17.0.5",
27-
"@nx/angular": "17.1.3",
17+
"@angular/animations": "17.3.2",
18+
"@angular/cdk": "17.3.2",
19+
"@angular/common": "17.3.2",
20+
"@angular/compiler": "17.3.2",
21+
"@angular/core": "17.3.2",
22+
"@angular/forms": "17.3.2",
23+
"@angular/material": "17.3.2",
24+
"@angular/platform-browser": "17.3.2",
25+
"@angular/platform-browser-dynamic": "17.3.2",
26+
"@angular/router": "17.3.2",
27+
"@nx/angular": "18.2.1",
2828
"rxjs": "7.8.1",
2929
"tslib": "^2.3.0",
3030
"web-animations-js": "^2.3.2",
31-
"zone.js": "0.14.2"
31+
"zone.js": "0.14.4"
3232
},
3333
"devDependencies": {
34-
"@angular-devkit/build-angular": "17.0.5",
35-
"@angular-devkit/core": "17.0.5",
36-
"@angular-devkit/schematics": "17.0.5",
37-
"@angular-eslint/eslint-plugin": "17.1.1",
38-
"@angular-eslint/eslint-plugin-template": "17.0.1",
39-
"@angular-eslint/template-parser": "17.0.1",
40-
"@angular/cli": "~17.0.0",
41-
"@angular/compiler-cli": "17.0.5",
42-
"@angular/language-service": "17.0.5",
43-
"@nx/cypress": "17.1.3",
44-
"@nx/jest": "17.1.3",
45-
"@nx/storybook": "17.1.3",
46-
"@nx/workspace": "17.1.3",
47-
"@schematics/angular": "17.0.5",
34+
"@angular-devkit/build-angular": "17.3.2",
35+
"@angular-devkit/core": "17.3.2",
36+
"@angular-devkit/schematics": "17.3.2",
37+
"@angular-eslint/eslint-plugin": "17.3.0",
38+
"@angular-eslint/eslint-plugin-template": "17.3.0",
39+
"@angular-eslint/template-parser": "17.3.0",
40+
"@angular/cli": "~17.3.0",
41+
"@angular/compiler-cli": "17.3.2",
42+
"@angular/language-service": "17.3.2",
43+
"@nx/cypress": "18.2.1",
44+
"@nx/jest": "18.2.1",
45+
"@nx/storybook": "18.2.1",
46+
"@nx/workspace": "18.2.1",
47+
"@schematics/angular": "17.3.2",
4848
"@storybook/addon-essentials": "7.5.1",
4949
"@storybook/core-server": "7.5.1",
5050
"@types/jasmine": "~4.0.0",
5151
"@types/jest": "29.4.4",
52-
"@types/node": "^20.8.0",
52+
"@types/node": "18.16.9",
5353
"autoprefixer": "^10.4.7",
5454
"codelyzer": "^6.0.0",
5555
"cypress": "^9.1.0",
@@ -60,14 +60,14 @@
6060
"jasmine-spec-reporter": "~5.0.0",
6161
"jest": "^29.5.0",
6262
"jest-environment-jsdom": "^29.5.0",
63-
"jest-preset-angular": "13.1.4",
63+
"jest-preset-angular": "14.0.3",
6464
"karma": "6.4.2",
6565
"karma-chrome-launcher": "~3.1.0",
6666
"karma-coverage": "~2.2.0",
6767
"karma-coverage-istanbul-reporter": "~3.0.2",
6868
"karma-jasmine": "5.1.0",
6969
"karma-jasmine-html-reporter": "2.0.0",
70-
"nx": "17.1.3",
70+
"nx": "18.2.1",
7171
"postcss": "^8.4.14",
7272
"prettier": "^2.6.2",
7373
"react": "^18.2.0",
@@ -76,7 +76,7 @@
7676
"ts-jest": "29.1.1",
7777
"ts-node": "10.9.1",
7878
"tslint": "^6.1.0",
79-
"typescript": "5.2.2",
79+
"typescript": "5.4.3",
8080
"webpack": "^5.64.0"
8181
}
8282
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /