Squashed commit of the following: commit d76e32cd99e2e823142f4410e66c66df5e096041 Author: Daniel Appelgren <daniel.appelgren@arbetsformedlingen.se> Date: Thu Oct 28 10:28:02 2021 +0200 Move styles to own library commit 85f0a5788ebdd7309499b1b623f4ac1046f45811 Author: Daniel Appelgren <daniel.appelgren@arbetsformedlingen.se> Date: Thu Oct 28 10:09:23 2021 +0200 double quotes in html commit eeb600cd631e3478c136795a8109e8927546b14b Author: Daniel Appelgren <daniel.appelgren@arbetsformedlingen.se> Date: Wed Oct 27 16:42:48 2021 +0200 UI library with copy of digi-ng's skeleton commit 11a24c0eef173e6b2f087eca5e96063036e6394b Author: Daniel Appelgren <daniel.appelgren@arbetsformedlingen.se> Date: Wed Oct 27 16:06:43 2021 +0200 Update .eslintrc.json commit 3c4b2e4823dbd8e9ca8dd332966bd10ac0fc098f Author: Daniel Appelgren <daniel.appelgren@arbetsformedlingen.se> Date: Wed Oct 27 15:08:32 2021 +0200 add nx library
250 lines
7.6 KiB
JSON
250 lines
7.6 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": ["libs/styles/src"]
|
|
},
|
|
"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}"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"ui": {
|
|
"projectType": "library",
|
|
"root": "libs/ui",
|
|
"sourceRoot": "libs/ui/src",
|
|
"prefix": "mina-sidor-fa-web",
|
|
"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",
|
|
"tsConfig": "apps/mina-sidor-fa/tsconfig.app.json",
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["libs/styles/src"]
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["libs/ui/src/**/*.ts", "libs/ui/src/**/*.html"]
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/libs/ui"],
|
|
"options": {
|
|
"jestConfig": "libs/ui/jest.config.js",
|
|
"passWithNoTests": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"styles": {
|
|
"projectType": "library",
|
|
"root": "libs/styles",
|
|
"sourceRoot": "libs/styles/src",
|
|
"prefix": "mina-sidor-fa-web",
|
|
"architect": {
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["libs/styles/src/**/*.ts", "libs/styles/src/**/*.html"]
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/libs/styles"],
|
|
"options": {
|
|
"jestConfig": "libs/styles/jest.config.js",
|
|
"passWithNoTests": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|