Skip to content

Commit 59c8899

Browse files
committed
feat: angular 21.2.9
migrates nx to latest
1 parent 0699edb commit 59c8899

15 files changed

Lines changed: 8860 additions & 9150 deletions

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,7 @@ Thumbs.db
5151
.nx/workspace-data
5252
.cursor/rules/nx-rules.mdc
5353
.github/instructions/nx.instructions.md
54+
55+
.claude/worktrees
56+
.nx/polygraph
57+
.nx/self-healing

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ packages/angular/dist
2020
**/xplat/nativescript/scss/fonticons/*.css
2121
**/xplat/nativescript*/plugins/**/*
2222
/.nx/cache
23-
/.nx/workspace-data
23+
/.nx/workspace-data
24+
.nx/self-healing

apps/nativescript-demo-ng/.eslintrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
},
1111
"rules": {
1212
"@angular-eslint/directive-selector": [
13-
"error",
13+
"warn",
1414
{
1515
"type": "attribute",
1616
"prefix": "",
1717
"style": "camelCase"
1818
}
1919
],
2020
"@angular-eslint/component-selector": [
21-
"error",
21+
"warn",
2222
{
2323
"type": "element",
2424
"prefix": "",

apps/nativescript-demo-ng/tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
}
1515
],
1616
"compilerOptions": {
17-
"target": "es2020"
17+
"target": "es2020",
18+
"module": "preserve",
19+
"moduleResolution": "bundler"
1820
},
1921
"angularCompilerOptions": {
2022
"strictTemplates": true,

apps/nativescript-demo-ng/tsconfig.spec.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"@nativescript/angular/polyfills": ["../../packages/angular/polyfills/src/index.ts"],
1313
"@nativescript/zone-js": ["../../packages/zone-js/dist/index.ts"],
1414
"@nativescript/zone-js/*": ["../../packages/zone-js/*"]
15-
}
15+
},
16+
"isolatedModules": true
1617
},
1718
"files": ["src/test.ts", "./references.d.ts", "../../packages/angular/references.d.ts"],
1819
"exclude": ["node_modules", "platforms"],

jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
const { getJestProjectsAsync } = require('@nx/jest');
22

3-
export default async () => ({ projects: await getJestProjectsAsync() });
3+
module.exports = async () => ({ projects: await getJestProjectsAsync() });

migrations.json

Lines changed: 0 additions & 111 deletions
This file was deleted.

nx.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
}
3737
},
3838
"@nx/eslint:lint": {
39-
"inputs": ["default", "{workspaceRoot}/.eslintrc.json"],
39+
"inputs": ["default", "^default", "{workspaceRoot}/.eslintrc.json", "{workspaceRoot}/tools/eslint-rules/**/*"],
4040
"cache": true
4141
}
4242
},
@@ -117,5 +117,6 @@
117117
"@schematics/angular:resolver": {
118118
"typeSeparator": "."
119119
}
120-
}
120+
},
121+
"analytics": false
121122
}

0 commit comments

Comments
 (0)