- Recherche simultanée dans les dossiers (filtrage client-side) et les APIs (backend) via forkJoin — affiche dossiers en tuiles puis APIs en cartes, avec labels "Dossiers"/"APIs" si les deux ont des résultats - Loader instantané dès la frappe (avant le debounce 400ms) - Fix angular.json : ajout du mapping dist/icons/ → assets/dsfr/icons/ pour servir les SVG référencés par le CSS DSFR (tous les icônes étaient cassés car le chemin relatif ../../icons/ donnait 404) Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
81 lines
2.5 KiB
JSON
81 lines
2.5 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"front-public": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss",
|
|
"standalone": true,
|
|
"changeDetection": "OnPush"
|
|
}
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:application",
|
|
"options": {
|
|
"outputPath": "dist/front-public",
|
|
"index": "src/index.html",
|
|
"browser": "src/main.ts",
|
|
"polyfills": ["zone.js"],
|
|
"tsConfig": "tsconfig.json",
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/assets",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/@gouvfr/dsfr/dist/dsfr",
|
|
"output": "assets/dsfr"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/@gouvfr/dsfr/dist/utility",
|
|
"output": "assets/dsfr/utility"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "node_modules/@gouvfr/dsfr/dist/icons",
|
|
"output": "assets/dsfr/icons"
|
|
}
|
|
],
|
|
"styles": ["src/styles.scss"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{ "type": "initial", "maximumWarning": "500kB", "maximumError": "1MB" },
|
|
{ "type": "anyComponentStyle", "maximumWarning": "4kB", "maximumError": "8kB" }
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"configurations": {
|
|
"production": { "buildTarget": "front-public:build:production" },
|
|
"development": { "buildTarget": "front-public:build:development" }
|
|
},
|
|
"defaultConfiguration": "development",
|
|
"options": {
|
|
"proxyConfig": "proxy.conf.json",
|
|
"allowedHosts": ["datacat.dev.chmod777.dev"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|