Skip to content

Commit

Permalink
Spike/upgrade to angular v13 (#85)
Browse files Browse the repository at this point in the history
* upgrade workspace to v12

* upgrade to v13

* fix project configs

* fix minor configs
  • Loading branch information
Vugar authored Nov 11, 2021
1 parent c6ce780 commit 83d9351
Show file tree
Hide file tree
Showing 26 changed files with 5,464 additions and 10,607 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
!.vscode/extensions.json

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down
79 changes: 27 additions & 52 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
Expand All @@ -32,6 +32,14 @@
"scripts": []
},
"configurations": {
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
},
"production": {
"budgets": [
{
Expand All @@ -45,17 +53,10 @@
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
"outputHashing": "all"
}
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
Expand All @@ -65,8 +66,12 @@
"configurations": {
"production": {
"browserTarget": "ngx-awesome-uploader:build:production"
},
"development": {
"browserTarget": "ngx-awesome-uploader:build:development"
}
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
Expand All @@ -79,7 +84,7 @@
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"src/styles.scss"
Expand All @@ -90,18 +95,6 @@
"src/assets"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
Expand All @@ -120,15 +113,6 @@
"devServerTarget": "ngx-awesome-uploader:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
}
}
}
},
Expand All @@ -139,36 +123,27 @@
"prefix": "ngx",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/file-picker/tsconfig.lib.json",
"project": "projects/file-picker/ng-package.json"
}
, "configurations": {
},
"configurations": {
"production": {
"tsConfig": "projects/file-picker/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/file-picker/tsconfig.lib.json"
}
}
},
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/file-picker/src/test.ts",
"tsConfig": "projects/file-picker/tsconfig.spec.json",
"karmaConfig": "projects/file-picker/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/file-picker/tsconfig.lib.json",
"projects/file-picker/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
Expand Down
Loading

0 comments on commit 83d9351

Please sign in to comment.