mirror of
https://github.com/angular/angular-cli.git
synced 2025-04-20 13:31:44 +08:00
When performing a release via the dev-infra `ng-dev` tooling, the release builds for the packages that will be published are now performed using bazel. Prior to this, the release builds were performed using a custom build script that programmatically invoked TypeScript APIs. The Bazel build and discovery process for the releasable packages is performed by a script that is based on the scripts from components and framework repositories. Several small modifications were performed to match the behavior and structure of the cli repository: * Use of `packages` as the source root in the bazel query * Use of `pkg_npm` rule in the bazel query * Partial transition to native Node.js `fs` APIs instead of `shelljs` * Directory creation per package when copying output (supports multiple package scopes) * Copying of archives (tgz) for each package The snapshot and local build capabilities are not modified as part of this change but will be merged in a followup as part of a larger transition to use bazel throughout the package build process.
28 lines
819 B
JSON
28 lines
819 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"types": ["node"]
|
|
},
|
|
"exclude": [
|
|
"packages/angular_devkit/build_angular/src/bazel-babel.d.ts",
|
|
"bazel-out/**/*",
|
|
"dist/**/*",
|
|
"dist-schema/**",
|
|
"goldens/**/*",
|
|
"**/node_modules/**/*",
|
|
"**/third_party/**/*",
|
|
"packages/angular_devkit/schematics_cli/blank/*-files/**/*",
|
|
"packages/angular_devkit/schematics_cli/schematic/files/**/*",
|
|
"packages/angular_devkit/build_angular/src/*/tests/**/*",
|
|
"packages/angular_devkit/build_angular/src/builders/*/tests/**/*",
|
|
"packages/angular_devkit/build_angular/src/testing/**/*",
|
|
"packages/angular_devkit/*/test/**/*",
|
|
"packages/schematics/*/*/*files/**/*",
|
|
"tests/**/*",
|
|
"tools/**/*",
|
|
".ng-dev/**/*",
|
|
"**/*_spec.ts",
|
|
"scripts/**/*.mts"
|
|
]
|
|
}
|