Skip to content

Commit 3451a34

Browse files
authored
feat(angular): build for angular 12.0 (#23970)
1 parent e3996cf commit 3451a34

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+54941
-29199
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
- attach_workspace:
102102
at: /tmp/workspace
103103
- run:
104-
command: npm install --legacy-peer-deps
104+
command: npm ci
105105
working_directory: /tmp/workspace/angular
106106
- run:
107107
command: sudo npm link
@@ -125,7 +125,7 @@ jobs:
125125
- attach_workspace:
126126
at: /tmp/workspace
127127
- run:
128-
command: npm install --legacy-peer-deps
128+
command: npm ci
129129
working_directory: /tmp/workspace/packages/angular-server
130130
- run:
131131
command: npm run build.prod
@@ -433,7 +433,7 @@ jobs:
433433
- attach_workspace:
434434
at: /tmp/workspace
435435
- run:
436-
command: npm install --legacy-peer-deps
436+
command: npm ci
437437
working_directory: /tmp/workspace/angular/test/test-app
438438
- run:
439439
command: npm run test

angular/.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dist
2+
virtual-scroll
3+
scripts
4+
proxies.ts

angular/.eslintrc.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": ["test/**/*", "src/directives/virtual-scroll/**/*"],
4+
"overrides": [
5+
{
6+
"files": ["*.ts"],
7+
"parserOptions": {
8+
"project": ["tsconfig.json"],
9+
"createDefaultProgram": true
10+
},
11+
"extends": [
12+
"@ionic/eslint-config/recommended",
13+
"plugin:@angular-eslint/recommended",
14+
"plugin:@angular-eslint/template/process-inline-templates"
15+
],
16+
"rules": {
17+
"@typescript-eslint/consistent-type-imports": "off",
18+
"@angular-eslint/component-class-suffix": "off",
19+
"@angular-eslint/component-selector": [
20+
"error",
21+
{
22+
"type": "element",
23+
"prefix": "ion",
24+
"style": "kebab-case"
25+
}
26+
]
27+
}
28+
}
29+
]
30+
}

angular/.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dist
2+
virtual-scroll
3+
scripts
4+
test
5+
src/directives/proxies.ts
6+
src/directives/angular-component-lib/utils.ts

0 commit comments

Comments
 (0)