Squashed commit of the following:
commit c8f20f6ff0dee2257a4191d8e6771ed2fc364326
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Wed Jun 30 12:04:40 2021 +0200
Removed current from currentUser and currentToken/currentExpiration
commit fef6b046861efe8cfacb5b5b1e9dbb86bff42336
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Wed Jun 30 10:42:27 2021 +0200
Fixed some tests
commit f357546d3a61ad66d804a7cb36807985c8435974
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Wed Jun 30 09:41:47 2021 +0200
Fixed linting
commit 85fdbaed8d922bec235e4987cc34464c1419a093
Merge: c93dd92 c06452d
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Wed Jun 30 09:29:55 2021 +0200
Merged develop and resolved conflicts
commit c93dd925b06a0b8a0361a687165e9c3954e2050b
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Wed Jun 30 07:43:57 2021 +0200
Moved some components to shared folder
commit aa1cc2b6240236149b0367363d4175fbdacf94dc
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Wed Jun 30 07:32:28 2021 +0200
Removed comments and some unused code
commit 7b83eb9d9d368b7466189ab3588fa91697db49c0
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Tue Jun 29 14:56:02 2021 +0200
Login-flow now works locally and against API
commit dab5a76f2b6e24447d85e237233053a3f23b1b39
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Tue Jun 29 12:50:24 2021 +0200
Adjusted login-functionality to use a guard
162 lines
4.7 KiB
JSON
162 lines
4.7 KiB
JSON
{
|
|
"version": 1,
|
|
"cli": {
|
|
"defaultCollection": "@nrwl/angular"
|
|
},
|
|
"defaultProject": "dafa-web",
|
|
"schematics": {
|
|
"@nrwl/angular": {
|
|
"application": {
|
|
"linter": "eslint"
|
|
},
|
|
"library": {
|
|
"linter": "eslint"
|
|
},
|
|
"storybook-configuration": {
|
|
"linter": "eslint"
|
|
}
|
|
},
|
|
"@nrwl/angular:application": {
|
|
"style": "scss",
|
|
"linter": "eslint",
|
|
"unitTestRunner": "jest",
|
|
"e2eTestRunner": "cypress"
|
|
},
|
|
"@nrwl/angular:library": {
|
|
"style": "scss",
|
|
"linter": "eslint",
|
|
"unitTestRunner": "jest"
|
|
},
|
|
"@nrwl/angular:component": {
|
|
"style": "scss",
|
|
"changeDetection": "OnPush"
|
|
}
|
|
},
|
|
"projects": {
|
|
"dafa-web": {
|
|
"projectType": "application",
|
|
"root": "apps/dafa-web",
|
|
"sourceRoot": "apps/dafa-web/src",
|
|
"prefix": "dafa",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/apps/dafa-web",
|
|
"index": "apps/dafa-web/src/index.html",
|
|
"main": "apps/dafa-web/src/main.ts",
|
|
"polyfills": "apps/dafa-web/src/polyfills.ts",
|
|
"tsConfig": "apps/dafa-web/tsconfig.app.json",
|
|
"aot": true,
|
|
"assets": ["apps/dafa-web/src/assets"],
|
|
"styles": ["apps/dafa-web/src/styles/styles.scss"],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["apps/dafa-web/src/styles"]
|
|
},
|
|
"scripts": ["node_modules/marked/lib/marked.js"]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/dafa-web/src/environments/environment.ts",
|
|
"with": "apps/dafa-web/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "10kb"
|
|
}
|
|
]
|
|
},
|
|
"api": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/dafa-web/src/environments/environment.ts",
|
|
"with": "apps/dafa-web/src/environments/environment.api.ts"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "dafa-web:build",
|
|
"proxyConfig": "./config/proxy.conf.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "dafa-web:build:production"
|
|
},
|
|
"api": {
|
|
"browserTarget": "dafa-web:build:api",
|
|
"proxyConfig": "./config/proxy.conf.api.json"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "dafa-web:build"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["apps/dafa-web/src/**/*.ts", "apps/dafa-web/src/**/*.html"]
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/apps/dafa-web"],
|
|
"options": {
|
|
"jestConfig": "apps/dafa-web/jest.config.js",
|
|
"passWithNoTests": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"dafa-web-e2e": {
|
|
"root": "apps/dafa-web-e2e",
|
|
"sourceRoot": "apps/dafa-web-e2e/src",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@nrwl/cypress:cypress",
|
|
"options": {
|
|
"cypressConfig": "apps/dafa-web-e2e/cypress.json",
|
|
"tsConfig": "apps/dafa-web-e2e/tsconfig.e2e.json",
|
|
"devServerTarget": "dafa-web:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "dafa-web:serve:production"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["apps/dafa-web-e2e/**/*.{js,ts}"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|