Skip to content

Commit c6d64ca

Browse files
committed
chore: 🤖 Upgrade to Angular 18
✅ Closes: #3 #4
1 parent 15d7c47 commit c6d64ca

File tree

8 files changed

+2975
-2086
lines changed

8 files changed

+2975
-2086
lines changed

Diff for: ‎angular.json

+9-7
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,15 @@
4444
"prefix": "app",
4545
"architect": {
4646
"build": {
47-
"builder": "@angular-devkit/build-angular:browser",
47+
"builder": "@angular-devkit/build-angular:application",
4848
"options": {
49-
"outputPath": "dist/angular-library-starter-showcase",
49+
"outputPath": {
50+
"base": "dist/angular-library-starter-showcase"
51+
},
5052
"index": "projects/angular-library-starter-showcase/src/index.html",
51-
"main": "projects/angular-library-starter-showcase/src/main.ts",
52-
"polyfills": "projects/angular-library-starter-showcase/src/polyfills.ts",
53+
"polyfills": [
54+
"projects/angular-library-starter-showcase/src/polyfills.ts"
55+
],
5356
"tsConfig": "projects/angular-library-starter-showcase/tsconfig.app.json",
5457
"inlineStyleLanguage": "scss",
5558
"assets": [
@@ -59,7 +62,8 @@
5962
"styles": [
6063
"projects/angular-library-starter-showcase/src/styles.scss"
6164
],
62-
"scripts": []
65+
"scripts": [],
66+
"browser": "projects/angular-library-starter-showcase/src/main.ts"
6367
},
6468
"configurations": {
6569
"production": {
@@ -84,9 +88,7 @@
8488
"outputHashing": "all"
8589
},
8690
"development": {
87-
"buildOptimizer": false,
8891
"optimization": false,
89-
"vendorChunk": true,
9092
"extractLicenses": false,
9193
"sourceMap": true,
9294
"namedChunks": true

Diff for: ‎jest.config.js

-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
module.exports = {
22
preset: 'jest-preset-angular',
33
setupFilesAfterEnv: ['<rootDir>../../setup-jest.ts'],
4-
globalSetup: 'jest-preset-angular/global-setup',
54
};
6-
7-

0 commit comments

Comments
 (0)