Skip to content

Commit

Permalink
Merge pull request #807 from mobi/ng9
Browse files Browse the repository at this point in the history
[Chore] Upgrade to Angular 9
  • Loading branch information
grahamhency authored Jun 17, 2021
2 parents 548575b + 16c473a commit 98cbe59
Show file tree
Hide file tree
Showing 99 changed files with 5,146 additions and 2,825 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
language: node_js
node_js:
- "12"
- "10.16.3"
addons:
chrome: stable
before_install:
- npm i -g npm@latest
- npm install -g @angular/cli@8
- npm i -g npm@6.9.0
- npm i -g @angular/cli@9
cache:
npm: false
script:
- ng build go-lib && ng test go-lib --watch=false --browsers=ChromeHeadless
- npm run build_lib && npm run test_lib -- --watch=false
19 changes: 17 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"options": {
"tsConfig": "projects/go-lib/tsconfig.lib.json",
"project": "projects/go-lib/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/go-lib/tsconfig.lib.prod.json"
}
}
},
"test": {
Expand Down Expand Up @@ -45,13 +50,14 @@
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
"style": "scss"
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist/go-tester",
"index": "projects/go-tester/src/index.html",
"main": "projects/go-tester/src/main.ts",
Expand Down Expand Up @@ -88,6 +94,10 @@
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
}
Expand Down Expand Up @@ -176,13 +186,14 @@
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
"style": "scss"
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist/go-style-guide",
"index": "projects/go-style-guide/src/index.html",
"main": "projects/go-style-guide/src/main.ts",
Expand Down Expand Up @@ -226,6 +237,10 @@
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb"
}
]
}
Expand Down
Loading

0 comments on commit 98cbe59

Please sign in to comment.