Squashed commit of the following: commit 3c4abbe69605caff2a39efafd90550d93e9e1447 Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se> Date: Mon Oct 4 15:56:41 2021 +0200 Updated npm scripts and built/serve shell commit 00525a666fb6b3146ea5f85c7c3ad741378401de Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se> Date: Mon Oct 4 13:59:12 2021 +0200 Updated nginx-conf commit a9945c14cc93eebf8812c075fe8ca67e39ab8ae8 Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se> Date: Mon Oct 4 12:59:49 2021 +0200 Added elastics serverUrl to environment files and fixed nginx-conf commit 38872cea957ce54c5cb496890e4be88fb019be58 Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se> Date: Mon Oct 4 12:49:41 2021 +0200 Added Elastic APM with error handling commit d3db5e8703e3b0a1d0d0b24230dc52a64bee252c Merge: a3bc70e9d139f750Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se> Date: Mon Oct 4 12:22:16 2021 +0200 Merge branch 'develop' into feature/TV-316-RUM commit a3bc70e9420dc5d309325cfcf1221c6760d18c38 Merge: 3f98a66bc2a02dbaAuthor: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se> Date: Mon Oct 4 09:07:11 2021 +0200 Merge branch 'develop' into feature/TV-316-RUM commit 3f98a66bfda3af315c5417e2d2902ab80877b98b Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se> Date: Fri Oct 1 16:05:43 2021 +0200 Added @elastic/apm-rum-angular to log errors and api-requests
194 lines
6.0 KiB
JSON
194 lines
6.0 KiB
JSON
{
|
|
"version": 1,
|
|
"cli": {
|
|
"defaultCollection": "@nrwl/angular"
|
|
},
|
|
"defaultProject": "mina-sidor-fa",
|
|
"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": {
|
|
"mina-sidor-fa": {
|
|
"projectType": "application",
|
|
"root": "apps/mina-sidor-fa",
|
|
"sourceRoot": "apps/mina-sidor-fa/src",
|
|
"prefix": "msfa",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/apps/mina-sidor-fa",
|
|
"index": "apps/mina-sidor-fa/src/index.html",
|
|
"main": "apps/mina-sidor-fa/src/main.ts",
|
|
"polyfills": "apps/mina-sidor-fa/src/polyfills.ts",
|
|
"tsConfig": "apps/mina-sidor-fa/tsconfig.app.json",
|
|
"aot": true,
|
|
"assets": ["apps/mina-sidor-fa/src/assets"],
|
|
"styles": ["apps/mina-sidor-fa/src/styles/styles.scss"],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["apps/mina-sidor-fa/src/styles"]
|
|
},
|
|
"scripts": ["node_modules/marked/lib/marked.js"],
|
|
"allowedCommonJsDependencies": ["opentracing/lib/span", "opentracing/lib/tracer", "error-stack-parser"]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/mina-sidor-fa/src/environments/environment.ts",
|
|
"with": "apps/mina-sidor-fa/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"
|
|
}
|
|
]
|
|
},
|
|
"acc": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/mina-sidor-fa/src/environments/environment.ts",
|
|
"with": "apps/mina-sidor-fa/src/environments/environment.acc.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"
|
|
}
|
|
]
|
|
},
|
|
"mock": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/mina-sidor-fa/src/environments/environment.ts",
|
|
"with": "apps/mina-sidor-fa/src/environments/environment.mock.ts"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "mina-sidor-fa:build",
|
|
"proxyConfig": "./config/proxy.conf.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "mina-sidor-fa:build:production"
|
|
},
|
|
"acc": {
|
|
"browserTarget": "mina-sidor-fa:build:acc",
|
|
"proxyConfig": "./config/proxy.conf.json"
|
|
},
|
|
"mock": {
|
|
"browserTarget": "mina-sidor-fa:build:mock",
|
|
"proxyConfig": "./config/proxy.conf.mock.json"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "mina-sidor-fa:build"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["apps/mina-sidor-fa/src/**/*.ts", "apps/mina-sidor-fa/src/**/*.html"]
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/apps/mina-sidor-fa"],
|
|
"options": {
|
|
"jestConfig": "apps/mina-sidor-fa/jest.config.js",
|
|
"passWithNoTests": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"mina-sidor-fa-e2e": {
|
|
"root": "apps/mina-sidor-fa-e2e",
|
|
"sourceRoot": "apps/mina-sidor-fa-e2e/src",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@nrwl/cypress:cypress",
|
|
"options": {
|
|
"cypressConfig": "apps/mina-sidor-fa-e2e/cypress.json",
|
|
"tsConfig": "apps/mina-sidor-fa-e2e/tsconfig.e2e.json",
|
|
"devServerTarget": "mina-sidor-fa:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "mina-sidor-fa:serve:production"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["apps/mina-sidor-fa-e2e/**/*.{js,ts}"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|