2023-11-06 16:42:56 +00:00
|
|
|
{
|
2023-12-11 19:17:28 +00:00
|
|
|
"$schema": "../node_modules/@angular/cli/lib/config/schema.json",
|
2023-11-06 16:42:56 +00:00
|
|
|
"version": 1,
|
2023-12-07 20:57:21 +00:00
|
|
|
"newProjectRoot": ".",
|
2023-11-06 16:42:56 +00:00
|
|
|
"projects": {
|
|
|
|
|
"angular-dev": {
|
|
|
|
|
"projectType": "application",
|
|
|
|
|
"schematics": {
|
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
|
"style": "scss",
|
|
|
|
|
"standalone": true,
|
|
|
|
|
"changeDetection": "OnPush"
|
|
|
|
|
}
|
|
|
|
|
},
|
2023-12-11 19:17:28 +00:00
|
|
|
"root": ".",
|
|
|
|
|
"sourceRoot": "src",
|
2023-12-07 20:57:21 +00:00
|
|
|
"prefix": "adev",
|
2023-11-06 16:42:56 +00:00
|
|
|
"architect": {
|
|
|
|
|
"build": {
|
2024-05-03 16:58:51 +00:00
|
|
|
"builder": "@angular/build:application",
|
2023-11-06 16:42:56 +00:00
|
|
|
"options": {
|
2024-04-10 14:01:18 +00:00
|
|
|
"externalDependencies": ["path"],
|
2024-04-13 14:06:30 +00:00
|
|
|
"define": {
|
|
|
|
|
// We need this until xterm 5.6.0 is released
|
|
|
|
|
// see https://github.com/xtermjs/xterm.js/pull/4940
|
|
|
|
|
"self": "this"
|
|
|
|
|
},
|
2025-04-10 09:40:30 +00:00
|
|
|
// Ensures we don't escape sandbox to the workspace root with the full node modules that
|
|
|
|
|
// might contain e.g. `@angular/core` from npm.
|
|
|
|
|
"preserveSymlinks": true,
|
2024-10-23 09:01:56 +00:00
|
|
|
"outputMode": "static",
|
2023-11-06 16:42:56 +00:00
|
|
|
"outputPath": "dist/angular-dev",
|
2023-12-11 19:17:28 +00:00
|
|
|
"index": "src/index.html",
|
|
|
|
|
"browser": "src/main.ts",
|
|
|
|
|
"server": "src/main.server.ts",
|
2024-04-13 14:06:30 +00:00
|
|
|
"polyfills": [],
|
2023-12-11 19:17:28 +00:00
|
|
|
"tsConfig": "tsconfig.app.json",
|
2023-11-06 16:42:56 +00:00
|
|
|
"inlineStyleLanguage": "scss",
|
2025-05-15 00:06:33 +00:00
|
|
|
"assets": [
|
|
|
|
|
"src/favicon.ico",
|
|
|
|
|
"src/robots.txt",
|
|
|
|
|
"src/assets",
|
|
|
|
|
"src/llms.txt",
|
|
|
|
|
"src/llms-full.txt"
|
|
|
|
|
],
|
2024-05-02 18:06:21 +00:00
|
|
|
"styles": ["@angular/docs/styles/global-styles.scss", "./src/local-styles.scss"],
|
2023-11-06 16:42:56 +00:00
|
|
|
"scripts": [],
|
2023-12-11 19:17:28 +00:00
|
|
|
"webWorkerTsConfig": "tsconfig.worker.json",
|
2023-12-07 20:57:21 +00:00
|
|
|
"optimization": {
|
|
|
|
|
"fonts": {
|
2024-02-22 17:54:01 +00:00
|
|
|
// TODO(josephperrott): enabled inline scripts
|
|
|
|
|
"inline": false
|
2023-12-07 20:57:21 +00:00
|
|
|
}
|
|
|
|
|
}
|
2023-11-06 16:42:56 +00:00
|
|
|
},
|
|
|
|
|
"configurations": {
|
|
|
|
|
"production": {
|
|
|
|
|
"outputHashing": "all"
|
|
|
|
|
},
|
|
|
|
|
"development": {
|
|
|
|
|
"optimization": false,
|
|
|
|
|
"extractLicenses": false,
|
2023-12-07 20:57:21 +00:00
|
|
|
"sourceMap": true
|
2023-11-06 16:42:56 +00:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"defaultConfiguration": "production"
|
|
|
|
|
},
|
|
|
|
|
"serve": {
|
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
|
"configurations": {
|
|
|
|
|
"production": {
|
|
|
|
|
"buildTarget": "angular-dev:build:production"
|
|
|
|
|
},
|
|
|
|
|
"development": {
|
|
|
|
|
"buildTarget": "angular-dev:build:development"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"defaultConfiguration": "development",
|
|
|
|
|
"options": {
|
|
|
|
|
"buildTarget": "web-ui:build",
|
|
|
|
|
"headers": {
|
|
|
|
|
"Cross-Origin-Opener-Policy": "same-origin",
|
|
|
|
|
"Cross-Origin-Embedder-Policy": "require-corp"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"extract-i18n": {
|
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
|
"options": {
|
|
|
|
|
"buildTarget": "angular-dev:build"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"test": {
|
2025-06-04 21:05:08 +00:00
|
|
|
"builder": "@angular/build:karma",
|
2023-11-06 16:42:56 +00:00
|
|
|
"options": {
|
|
|
|
|
"tsConfig": "tsconfig.spec.json",
|
|
|
|
|
"include": ["src/app"],
|
2024-01-09 16:45:52 +00:00
|
|
|
"karmaConfig": "karma.conf.js",
|
2024-07-23 16:24:50 +00:00
|
|
|
"main": "test-main.ts",
|
2023-11-06 16:42:56 +00:00
|
|
|
"inlineStyleLanguage": "scss",
|
|
|
|
|
"assets": ["src/favicon.ico", "src/assets"],
|
2023-12-07 20:57:21 +00:00
|
|
|
"styles": ["@angular/docs/styles/global-styles.scss"],
|
2023-11-06 16:42:56 +00:00
|
|
|
"scripts": [],
|
|
|
|
|
"webWorkerTsConfig": "tsconfig.worker.json"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"cli": {
|
2024-04-10 14:01:18 +00:00
|
|
|
"analytics": "dca119a9-da31-47f7-a6cb-b60541037021",
|
|
|
|
|
"cache": {
|
|
|
|
|
// Disable build caching as the cache folder will just be dropped
|
|
|
|
|
// when run under Bazel sandboxed execution.
|
|
|
|
|
"enabled": false
|
|
|
|
|
}
|
2023-11-06 16:42:56 +00:00
|
|
|
}
|
|
|
|
|
}
|