Skip to content

Commit daf680c

Browse files
authored
chore: update dependencies (#107)
* chore: update to ng13 * chore: update to ng14 * chore: update to ng15 * chore: update to ng17 * chore: update more dependencies
1 parent 37bb492 commit daf680c

23 files changed

+33884
-71074
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,5 @@ jspm_packages/
3737
!.vscode/tasks.json
3838
!.vscode/launch.json
3939
!.vscode/extensions.json
40+
41+
.angular/

src/client/todo-details/package-lock.json

+13,749-24,835
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/client/todo-details/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"material-icons": "^0.3.1",
88
"react": "^16.8.6",
99
"react-dom": "^16.8.6",
10-
"react-scripts": "^3.0.1"
10+
"react-scripts": "^5.0.1"
1111
},
1212
"scripts": {
1313
"start": "react-scripts start",

src/client/todo-details/public/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
To create a production bundle, use `npm run build` or `yarn build`.
3838
-->
3939
</body>
40-
<script type="text/javascript" src="./ng-todolist/runtime-es5.js"></script>
41-
<script type="text/javascript" src="./ng-todolist/polyfills-es5.js"></script>
42-
<script type="text/javascript" src="./ng-todolist/main-es5.js"></script>
40+
<script type="text/javascript" src="./ng-todolist/runtime.js"></script>
41+
<script type="text/javascript" src="./ng-todolist/polyfills.js"></script>
42+
<script type="text/javascript" src="./ng-todolist/main.js"></script>
4343

4444
</html>

src/client/todo-details/yarn.lock

+9,804-9,965
Large diffs are not rendered by default.

src/client/todolist/.browserslistrc

-11
This file was deleted.

src/client/todolist/angular.json

+17-37
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,26 @@
1515
},
1616
"architect": {
1717
"build": {
18-
"builder": "@angular-devkit/build-angular:browser",
18+
"builder": "ngx-build-plus:browser",
1919
"options": {
2020
"outputPath": "dist/todolist",
2121
"index": "src/index.html",
2222
"main": "src/main.ts",
23-
"polyfills": "src/polyfills.ts",
23+
"polyfills": ["zone.js"],
2424
"tsConfig": "src/tsconfig.app.json",
25-
"assets": [
26-
"src/favicon.ico",
27-
"src/assets"
28-
],
29-
"styles": [
30-
"src/styles.scss"
31-
],
25+
"assets": ["src/favicon.ico", "src/assets"],
26+
"styles": ["src/styles.scss"],
3227
"scripts": [
3328
{
3429
"input": "node_modules/document-register-element/build/document-register-element.js",
3530
"inject": true
3631
}
3732
],
38-
"vendorChunk": true,
3933
"extractLicenses": false,
40-
"buildOptimizer": false,
4134
"sourceMap": true,
4235
"optimization": false,
43-
"namedChunks": true
36+
"namedChunks": true,
37+
"buildOptimizer": false
4438
},
4539
"configurations": {
4640
"production": {
@@ -55,7 +49,6 @@
5549
"sourceMap": false,
5650
"namedChunks": false,
5751
"extractLicenses": true,
58-
"vendorChunk": false,
5952
"buildOptimizer": true,
6053
"budgets": [
6154
{
@@ -65,7 +58,7 @@
6558
},
6659
{
6760
"type": "anyComponentStyle",
68-
"maximumWarning": "6kb"
61+
"maximumWarning": "200kb"
6962
}
7063
]
7164
}
@@ -75,47 +68,37 @@
7568
"serve": {
7669
"builder": "@angular-devkit/build-angular:dev-server",
7770
"options": {
78-
"browserTarget": "todolist:build"
71+
"buildTarget": "todolist:build"
7972
},
8073
"configurations": {
8174
"production": {
82-
"browserTarget": "todolist:build:production"
75+
"buildTarget": "todolist:build:production"
8376
}
8477
}
8578
},
8679
"extract-i18n": {
8780
"builder": "@angular-devkit/build-angular:extract-i18n",
8881
"options": {
89-
"browserTarget": "todolist:build"
82+
"buildTarget": "todolist:build"
9083
}
9184
},
9285
"test": {
9386
"builder": "@angular-devkit/build-angular:karma",
9487
"options": {
9588
"main": "src/test.ts",
96-
"polyfills": "src/polyfills.ts",
89+
"polyfills": ["zone.js"],
9790
"tsConfig": "src/tsconfig.spec.json",
9891
"karmaConfig": "src/karma.conf.js",
99-
"styles": [
100-
"src/styles.scss"
101-
],
92+
"styles": ["src/styles.scss"],
10293
"scripts": [],
103-
"assets": [
104-
"src/favicon.ico",
105-
"src/assets"
106-
]
94+
"assets": ["src/favicon.ico", "src/assets"]
10795
}
10896
},
10997
"lint": {
11098
"builder": "@angular-devkit/build-angular:tslint",
11199
"options": {
112-
"tsConfig": [
113-
"src/tsconfig.app.json",
114-
"src/tsconfig.spec.json"
115-
],
116-
"exclude": [
117-
"**/node_modules/**"
118-
]
100+
"tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"],
101+
"exclude": ["**/node_modules/**"]
119102
}
120103
}
121104
}
@@ -141,13 +124,10 @@
141124
"builder": "@angular-devkit/build-angular:tslint",
142125
"options": {
143126
"tsConfig": "e2e/tsconfig.e2e.json",
144-
"exclude": [
145-
"**/node_modules/**"
146-
]
127+
"exclude": ["**/node_modules/**"]
147128
}
148129
}
149130
}
150131
}
151-
},
152-
"defaultProject": "todolist"
132+
}
153133
}

0 commit comments

Comments
 (0)