Skip to content

Commit

Permalink
Merge pull request #80 from ljw980105/angular-update-2024
Browse files Browse the repository at this point in the history
Update to Angular 15
  • Loading branch information
ljw980105 authored May 19, 2024
2 parents c2bd58a + 0049963 commit cf77d96
Show file tree
Hide file tree
Showing 14 changed files with 12,984 additions and 13,161 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1 #this will install Node and npm on Ubuntu
with:
node-version: '16.x'
node-version: '20.x'
- run: npm install -g @angular/cli > /dev/null
- run: npm install
- run: npm install --legacy-peer-deps
- run: ng build

build_succeeded_notify:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ speed-measure-plugin*.json
.history/*

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down
26 changes: 9 additions & 17 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,20 @@
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/assets/favicon2.png",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"scripts": []
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
Expand Down Expand Up @@ -59,7 +64,8 @@
}
]
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
Expand Down Expand Up @@ -95,19 +101,6 @@
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
Expand All @@ -123,7 +116,6 @@
}
}
},
"defaultProject": "jingweili-me",
"cli": {
"analytics": "e6c30df6-e9fb-474d-a9a5-6175571b52f4"
}
Expand Down
Loading

0 comments on commit cf77d96

Please sign in to comment.