Files
angular/adev/angular.json
T
Shuaib Hasan Akib 6b0ef037b8 fix(docs-infra): remove duplicate event image asset entries
The v21 and v22 event images were listed as separate asset entries
(`src/assets/images/v21-event` and `src/assets/images/v22-event`) next to
`src/assets`, which already contains them. They were added when the
images were moved into their own Bazel packages, but the Bazel targets in
`APPLICATION_FILES` are what place the files under `src/assets`; the
extra entries only copy the same files to the same output location
(`assets/images/v2x-event/`) a second time.

The unit-test builder reuses these assets and copies them into the test
output. Since the first copy is read-only in the Bazel sandbox, the
duplicate copy fails with `EACCES: permission denied, copyfile`, which
breaks running `//adev:test` locally.

Remove the redundant entries. The production build output is unchanged
(all non-HTML files, including the event images, are byte-identical) and
`//adev:test` runs again without errors.

(cherry picked from commit b7280d0263)
2026-09-29 19:52:18 +00:00

88 lines
2.5 KiB
JSON

{
"$schema": "../node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": ".",
"projects": {
"angular-dev": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"root": ".",
"sourceRoot": "src",
"prefix": "adev",
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"externalDependencies": ["path", "xhr2"],
"outputMode": "static",
"outputPath": "dist",
"index": "src/index.html",
"browser": "src/main.ts",
"server": "src/main.server.ts",
"polyfills": [],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": ["src/favicon.ico", "src/robots.txt", "src/llms.txt", "src/assets"],
"styles": ["@angular/docs/styles/global-styles.scss", "./src/local-styles.scss"],
"scripts": [],
"webWorkerTsConfig": "tsconfig.worker.json",
"optimization": {
"fonts": {
"inline": false
}
}
},
"configurations": {
"production": {
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular/build: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": "credentialless"
}
}
},
"test": {
"builder": "@angular/build:unit-test",
"options": {
"runner": "karma",
"browsers": ["ChromeHeadlessNoSandbox"],
"include": ["src/app/**/*.spec.ts"]
}
}
}
}
},
"cli": {
"analytics": "dca119a9-da31-47f7-a6cb-b60541037021",
"cache": {
"enabled": false
}
}
}