Skip to content

Commit

Permalink
Merge pull request #876 from numbersprotocol/feature-upgrade-dependen…
Browse files Browse the repository at this point in the history
…cies

Feature upgrade dependencies
  • Loading branch information
shc261392 committed Sep 3, 2021
2 parents 54e57b0 + bd4d305 commit 742b86e
Show file tree
Hide file tree
Showing 27 changed files with 17,461 additions and 20,262 deletions.
10 changes: 7 additions & 3 deletions .eslintrc.json
Expand Up @@ -31,7 +31,7 @@
}
],
"class-methods-use-this": "error",
"no-magic-numbers": "off", // must disable the base rule as it can report incorrect errors
"no-magic-numbers": "off",
"@typescript-eslint/no-magic-numbers": [
"error",
{
Expand All @@ -45,7 +45,9 @@
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_" }
{
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/array-type": "error",
"no-constant-condition": "off",
Expand All @@ -68,7 +70,9 @@
"@typescript-eslint/prefer-ts-expect-error": "error",
"@typescript-eslint/promise-function-async": [
"error",
{ "checkArrowFunctions": false }
{
"checkArrowFunctions": false
}
],
"@typescript-eslint/member-ordering": [
"error",
Expand Down
32 changes: 23 additions & 9 deletions angular.json
Expand Up @@ -19,7 +19,6 @@
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
{
"glob": "**/*",
Expand All @@ -43,7 +42,13 @@
"input": "node_modules/material-design-icons-iconfont/dist/material-design-icons.css"
}
],
"scripts": []
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
Expand All @@ -70,22 +75,28 @@
},
"ci": {
"progress": false
}
}
},
"development": {}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "app:build"
"browserTarget": "app:build:development"
},
"configurations": {
"production": {
"browserTarget": "app:build:production"
},
"ci": {
"progress": false
},
"development": {
"browserTarget": "app:build:development"
}
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
Expand Down Expand Up @@ -136,17 +147,20 @@
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "app:serve"
"protractorConfig": "e2e/protractor.conf.js"
},
"configurations": {
"production": {
"devServerTarget": "app:serve:production"
},
"ci": {
"devServerTarget": "app:serve:ci"
},
"development": {
"devServerTarget": "app:serve:development"
}
}
},
"defaultConfiguration": "development"
},
"ionic-cordova-build": {
"builder": "@ionic/angular-toolkit:cordova-build",
Expand Down

0 comments on commit 742b86e

Please sign in to comment.