Skip to content

Commit c47813c

Browse files
authored
Angular 17 and esbuild (#1270)
* angular 17 * material 17 * upgrade eslint * bump version to 7.0.0 * update lock file * switch to esbuild * update lib dependencies
1 parent 20908e9 commit c47813c

File tree

14 files changed

+7196
-9063
lines changed

14 files changed

+7196
-9063
lines changed

.eslintrc.json

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
{
22
"root": true,
3-
"ignorePatterns": [
4-
"projects/**/*"
5-
],
3+
"ignorePatterns": ["projects/**/*"],
64
"overrides": [
75
{
8-
"files": [
9-
"*.ts"
10-
],
6+
"files": ["*.ts"],
117
"parserOptions": {
12-
"project": [
13-
"tsconfig.json",
14-
"e2e/tsconfig.json"
15-
],
8+
"project": ["tsconfig.json", "e2e/tsconfig.json"],
169
"createDefaultProgram": true
1710
},
1811
"extends": [
@@ -39,12 +32,8 @@
3932
}
4033
},
4134
{
42-
"files": [
43-
"*.html"
44-
],
45-
"extends": [
46-
"plugin:@angular-eslint/template/recommended"
47-
],
35+
"files": ["*.html"],
36+
"extends": ["plugin:@angular-eslint/template/recommended"],
4837
"rules": {}
4938
}
5039
]

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*.launch
1717
.settings/
1818
*.sublime-workspace
19+
.nx
1920

2021
# IDE - VSCode
2122
.vscode/*

angular.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@
1717
"schematics": {},
1818
"architect": {
1919
"build": {
20-
"builder": "@angular-devkit/build-angular:browser",
20+
"builder": "@angular-devkit/build-angular:application",
2121
"options": {
22-
"outputPath": "dist/app",
22+
"outputPath": {
23+
"base": "dist/app"
24+
},
2325
"index": "src/index.html",
24-
"main": "src/main.ts",
25-
"polyfills": "src/polyfills.ts",
26+
"polyfills": [
27+
"src/polyfills.ts"
28+
],
2629
"tsConfig": "src/tsconfig.app.json",
2730
"assets": [
2831
"src/favicon.ico",
@@ -46,12 +49,11 @@
4649
"src/styles.css"
4750
],
4851
"scripts": [],
49-
"vendorChunk": true,
5052
"extractLicenses": false,
51-
"buildOptimizer": false,
5253
"sourceMap": true,
5354
"optimization": false,
54-
"namedChunks": true
55+
"namedChunks": true,
56+
"browser": "src/main.ts"
5557
},
5658
"configurations": {
5759
"production": {
@@ -71,21 +73,19 @@
7173
"outputHashing": "all",
7274
"sourceMap": false,
7375
"namedChunks": false,
74-
"extractLicenses": true,
75-
"vendorChunk": false,
76-
"buildOptimizer": true
76+
"extractLicenses": true
7777
}
7878
},
7979
"defaultConfiguration": ""
8080
},
8181
"serve": {
8282
"builder": "@angular-devkit/build-angular:dev-server",
8383
"options": {
84-
"browserTarget": "app:build"
84+
"buildTarget": "app:build"
8585
},
8686
"configurations": {
8787
"production": {
88-
"browserTarget": "app:build:production"
88+
"buildTarget": "app:build:production"
8989
}
9090
}
9191
},
@@ -167,12 +167,15 @@
167167
"prefix": "app",
168168
"architect": {
169169
"build": {
170-
"builder": "@angular-devkit/build-angular:browser",
170+
"builder": "@angular-devkit/build-angular:application",
171171
"options": {
172-
"outputPath": "dist/multiple-editors",
172+
"outputPath": {
173+
"base": "dist/multiple-editors"
174+
},
173175
"index": "projects/multiple-editors/src/index.html",
174-
"main": "projects/multiple-editors/src/main.ts",
175-
"polyfills": "projects/multiple-editors/src/polyfills.ts",
176+
"polyfills": [
177+
"projects/multiple-editors/src/polyfills.ts"
178+
],
176179
"tsConfig": "projects/multiple-editors/tsconfig.app.json",
177180
"assets": [
178181
"projects/multiple-editors/src/favicon.ico",
@@ -192,12 +195,11 @@
192195
"projects/multiple-editors/src/styles.css"
193196
],
194197
"scripts": [],
195-
"vendorChunk": true,
196198
"extractLicenses": false,
197-
"buildOptimizer": false,
198199
"sourceMap": true,
199200
"optimization": false,
200-
"namedChunks": true
201+
"namedChunks": true,
202+
"browser": "projects/multiple-editors/src/main.ts"
201203
},
202204
"configurations": {
203205
"production": {
@@ -212,8 +214,6 @@
212214
"sourceMap": false,
213215
"namedChunks": false,
214216
"extractLicenses": true,
215-
"vendorChunk": false,
216-
"buildOptimizer": true,
217217
"budgets": [
218218
{
219219
"type": "initial",
@@ -233,11 +233,11 @@
233233
"serve": {
234234
"builder": "@angular-devkit/build-angular:dev-server",
235235
"options": {
236-
"browserTarget": "multiple-editors:build"
236+
"buildTarget": "multiple-editors:build"
237237
},
238238
"configurations": {
239239
"production": {
240-
"browserTarget": "multiple-editors:build:production"
240+
"buildTarget": "multiple-editors:build:production"
241241
}
242242
}
243243
},

0 commit comments

Comments
 (0)