5400294d45
- ng update @angular/core@19 @angular/cli@19 @angular/material@19 @angular-eslint/schematics@19 - Migration: remove standalone:true (now default in v19) from 60 components - Migration: zone.js 0.14 → 0.15 - Fix pre-existing build budget error: raise initial bundle limit to 5mb (app ships large static JSON assets)
156 lines
6.4 KiB
JSON
156 lines
6.4 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"cli": {
|
|
"packageManager": "npm",
|
|
"analytics": false,
|
|
"schematicCollections": ["@angular-eslint/schematics"]
|
|
},
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"adastra_angular": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"i18n": {
|
|
"sourceLocale": "fr"
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:application",
|
|
"options": {
|
|
"outputPath": {
|
|
"base": "dist/adastra_angular"
|
|
},
|
|
"index": "src/index.html",
|
|
"tsConfig": "tsconfig.app.json",
|
|
"polyfills": ["@angular/localize/init", "zone.js"],
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/assets",
|
|
"src/manifest.webmanifest",
|
|
{
|
|
"glob": "_redirects",
|
|
"input": "src",
|
|
"output": "/"
|
|
}
|
|
],
|
|
"styles": ["node_modules/chartist/dist/index.scss", "src/styles/styles.scss"],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["src/styles"]
|
|
},
|
|
"scripts": [],
|
|
"browser": "src/main.ts"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"extractLicenses": true,
|
|
"namedChunks": false,
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "3mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "2kb",
|
|
"maximumError": "4kb"
|
|
}
|
|
]
|
|
},
|
|
"development": {
|
|
"extractLicenses": false,
|
|
"namedChunks": true,
|
|
"optimization": false,
|
|
"sourceMap": true,
|
|
"budgets": [
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
],
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.development.ts"
|
|
}
|
|
]
|
|
},
|
|
"local": {
|
|
"extractLicenses": false,
|
|
"namedChunks": true,
|
|
"optimization": false,
|
|
"sourceMap": true,
|
|
"budgets": [
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
],
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.local.ts"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "adastra_angular:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "adastra_angular:build:development"
|
|
},
|
|
"local": {
|
|
"buildTarget": "adastra_angular:build:local"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"buildTarget": "adastra_angular:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"polyfills": ["zone.js", "zone.js/testing"],
|
|
"tsConfig": "tsconfig.spec.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": ["src/favicon.ico", "src/assets", "src/manifest.webmanifest"],
|
|
"styles": ["src/styles/styles.scss"],
|
|
"scripts": [],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["src/styles"]
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|