- Frontend build output: - change the Angular application output path from `dist/booklore` to `dist/grimmory` - keep the workspace folder layout unchanged while aligning the emitted artifact name with Grimmory - Packaging pipeline: - update the Docker frontend copy step to consume `dist/grimmory/browser` - update the backend Gradle default frontend dist path to the same location so local packaging and container builds stay in sync
139 lines
3.7 KiB
JSON
139 lines
3.7 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"grimmory": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss",
|
|
"standalone": true
|
|
},
|
|
"@schematics/angular:directive": {
|
|
"standalone": true
|
|
},
|
|
"@schematics/angular:pipe": {
|
|
"standalone": true
|
|
}
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular/build:application",
|
|
"options": {
|
|
"outputPath": "dist/grimmory",
|
|
"index": "src/index.html",
|
|
"browser": "src/main.ts",
|
|
"polyfills": [
|
|
"zone.js"
|
|
],
|
|
"tsConfig": "tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
"src/assets",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "public"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/ngx-extended-pdf-viewer/assets/",
|
|
"output": "/assets/"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "libs/foliate-js",
|
|
"output": "/assets/foliate/"
|
|
}
|
|
],
|
|
"styles": [
|
|
"src/styles.scss"
|
|
],
|
|
"scripts": [],
|
|
"allowedCommonJsDependencies": [
|
|
"lodash",
|
|
"quill-delta",
|
|
"event-emitter",
|
|
"showdown",
|
|
"@xmldom/xmldom",
|
|
"path-webpack",
|
|
"jszip/dist/jszip",
|
|
"localforage",
|
|
"marks-pane"
|
|
]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "5.75MB",
|
|
"maximumError": "6MB"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "25kB",
|
|
"maximumError": "25kB"
|
|
}
|
|
],
|
|
"outputHashing": "all",
|
|
"serviceWorker": "ngsw-config.json"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular/build:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "grimmory:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "grimmory:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular/build:extract-i18n"
|
|
},
|
|
"test": {
|
|
"builder": "@angular/build:unit-test",
|
|
"options": {
|
|
"runnerConfig": "vitest-base.config.ts"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"src/**/*.ts",
|
|
"src/**/*.html"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {
|
|
"schematicCollections": [
|
|
"angular-eslint"
|
|
],
|
|
"analytics": false
|
|
}
|
|
}
|