You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
384 lines
11 KiB
384 lines
11 KiB
{
|
|
"version": 1,
|
|
"projects": {
|
|
"api": {
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"root": "apps/api",
|
|
"sourceRoot": "apps/api/src",
|
|
"projectType": "application",
|
|
"prefix": "api",
|
|
"schematics": {},
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@nrwl/node:webpack",
|
|
"options": {
|
|
"outputPath": "dist/apps/api",
|
|
"main": "apps/api/src/main.ts",
|
|
"tsConfig": "apps/api/tsconfig.app.json",
|
|
"assets": ["apps/api/src/assets"]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"generatePackageJson": true,
|
|
"optimization": true,
|
|
"extractLicenses": true,
|
|
"inspect": false,
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/api/src/environments/environment.ts",
|
|
"with": "apps/api/src/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"outputs": ["{options.outputPath}"]
|
|
},
|
|
"serve": {
|
|
"builder": "@nrwl/node:node",
|
|
"options": {
|
|
"buildTarget": "api:build"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["apps/api/**/*.ts"]
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"options": {
|
|
"jestConfig": "apps/api/jest.config.ts",
|
|
"passWithNoTests": true
|
|
},
|
|
"outputs": ["coverage/apps/api"]
|
|
}
|
|
},
|
|
"tags": []
|
|
},
|
|
"client": {
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "apps/client",
|
|
"sourceRoot": "apps/client/src",
|
|
"prefix": "gf",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/apps/client",
|
|
"index": "apps/client/src/index.html",
|
|
"main": "apps/client/src/main.ts",
|
|
"polyfills": "apps/client/src/polyfills.ts",
|
|
"tsConfig": "apps/client/tsconfig.app.json",
|
|
"assets": [
|
|
{
|
|
"glob": "assetlinks.json",
|
|
"input": "apps/client/src/assets",
|
|
"output": "./../.well-known"
|
|
},
|
|
{
|
|
"glob": "CHANGELOG.md",
|
|
"input": "",
|
|
"output": "./../assets"
|
|
},
|
|
{
|
|
"glob": "LICENSE",
|
|
"input": "",
|
|
"output": "./../assets"
|
|
},
|
|
{
|
|
"glob": "robots.txt",
|
|
"input": "apps/client/src/assets",
|
|
"output": "./../"
|
|
},
|
|
{
|
|
"glob": "sitemap.xml",
|
|
"input": "apps/client/src/assets",
|
|
"output": "./../"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/ionicons/dist/ionicons",
|
|
"output": "./../ionicons"
|
|
},
|
|
{
|
|
"glob": "**/*.js",
|
|
"input": "node_modules/ionicons/dist/",
|
|
"output": "./../"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "apps/client/src/assets",
|
|
"output": "./../assets/"
|
|
}
|
|
],
|
|
"styles": ["apps/client/src/styles.scss"],
|
|
"scripts": ["node_modules/marked/marked.min.js"],
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"buildOptimizer": false,
|
|
"sourceMap": true,
|
|
"optimization": false,
|
|
"namedChunks": true
|
|
},
|
|
"configurations": {
|
|
"development-de": {
|
|
"baseHref": "/de/",
|
|
"localize": ["de"]
|
|
},
|
|
"development-en": {
|
|
"baseHref": "/en/",
|
|
"localize": ["en"]
|
|
},
|
|
"development-it": {
|
|
"baseHref": "/it/",
|
|
"localize": ["it"]
|
|
},
|
|
"development-nl": {
|
|
"baseHref": "/nl/",
|
|
"localize": ["nl"]
|
|
},
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/client/src/environments/environment.ts",
|
|
"with": "apps/client/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"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"outputs": ["{options.outputPath}"],
|
|
"defaultConfiguration": ""
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "client:build",
|
|
"proxyConfig": "apps/client/proxy.conf.json"
|
|
},
|
|
"configurations": {
|
|
"development-de": {
|
|
"browserTarget": "client:build:development-de"
|
|
},
|
|
"development-en": {
|
|
"browserTarget": "client:build:development-en"
|
|
},
|
|
"development-it": {
|
|
"browserTarget": "client:build:development-it"
|
|
},
|
|
"development-nl": {
|
|
"browserTarget": "client:build:development-nl"
|
|
},
|
|
"production": {
|
|
"browserTarget": "client:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "ng-extract-i18n-merge:ng-extract-i18n-merge",
|
|
"options": {
|
|
"browserTarget": "client:build",
|
|
"includeContext": true,
|
|
"outputPath": "src/locales",
|
|
"targetFiles": [
|
|
"messages.de.xlf",
|
|
"messages.it.xlf",
|
|
"messages.nl.xlf"
|
|
]
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["apps/client/**/*.ts"]
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"options": {
|
|
"jestConfig": "apps/client/jest.config.ts",
|
|
"passWithNoTests": true
|
|
},
|
|
"outputs": ["coverage/apps/client"]
|
|
}
|
|
},
|
|
"i18n": {
|
|
"locales": {
|
|
"de": {
|
|
"baseHref": "/de/",
|
|
"translation": "apps/client/src/locales/messages.de.xlf"
|
|
},
|
|
"it": {
|
|
"baseHref": "/it/",
|
|
"translation": "apps/client/src/locales/messages.it.xlf"
|
|
},
|
|
"nl": {
|
|
"baseHref": "/nl/",
|
|
"translation": "apps/client/src/locales/messages.nl.xlf"
|
|
}
|
|
},
|
|
"sourceLocale": "en"
|
|
},
|
|
"tags": []
|
|
},
|
|
"client-e2e": {
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"root": "apps/client-e2e",
|
|
"sourceRoot": "apps/client-e2e/src",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@nrwl/cypress:cypress",
|
|
"options": {
|
|
"cypressConfig": "apps/client-e2e/cypress.json",
|
|
"tsConfig": "apps/client-e2e/tsconfig.e2e.json",
|
|
"devServerTarget": "client:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "client:serve:production"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tags": [],
|
|
"implicitDependencies": ["client"]
|
|
},
|
|
"common": {
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"root": "libs/common",
|
|
"sourceRoot": "libs/common/src",
|
|
"projectType": "library",
|
|
"architect": {
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["libs/common/**/*.ts"]
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/libs/common"],
|
|
"options": {
|
|
"jestConfig": "libs/common/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
},
|
|
"ui": {
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "library",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "libs/ui",
|
|
"sourceRoot": "libs/ui/src",
|
|
"prefix": "gf",
|
|
"architect": {
|
|
"test": {
|
|
"builder": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/libs/ui"],
|
|
"options": {
|
|
"jestConfig": "libs/ui/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["libs/ui/src/**/*.ts", "libs/ui/src/**/*.html"]
|
|
}
|
|
},
|
|
"storybook": {
|
|
"builder": "@storybook/angular:start-storybook",
|
|
"options": {
|
|
"port": 4400,
|
|
"configDir": "libs/ui/.storybook",
|
|
"browserTarget": "ui:build-storybook",
|
|
"compodoc": false
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"quiet": true
|
|
}
|
|
}
|
|
},
|
|
"build-storybook": {
|
|
"builder": "@storybook/angular:build-storybook",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputDir": "dist/storybook/ui",
|
|
"configDir": "libs/ui/.storybook",
|
|
"browserTarget": "ui:build-storybook",
|
|
"compodoc": false
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"quiet": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
},
|
|
"ui-e2e": {
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"root": "apps/ui-e2e",
|
|
"sourceRoot": "apps/ui-e2e/src",
|
|
"projectType": "application",
|
|
"architect": {
|
|
"e2e": {
|
|
"builder": "@nrwl/cypress:cypress",
|
|
"options": {
|
|
"cypressConfig": "apps/ui-e2e/cypress.json",
|
|
"devServerTarget": "ui:storybook",
|
|
"tsConfig": "apps/ui-e2e/tsconfig.json"
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"devServerTarget": "ui:storybook:ci"
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@nrwl/linter:eslint",
|
|
"options": {
|
|
"lintFilePatterns": ["apps/ui-e2e/**/*.{js,ts}"]
|
|
}
|
|
}
|
|
},
|
|
"tags": [],
|
|
"implicitDependencies": ["ui"]
|
|
}
|
|
}
|
|
}
|