
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
@bazel/angular
Advanced tools
This package is moving from rules_nodejs to https://github.com/just-jeb/angular-builders. It will no longer be maintained in rules_nodejs and will be removed in the next major (5.0)
This package is a replacement for parts of the deprecated @angular/bazel package previously maintained by the Angular team.
Currently, this only provides an Angular CLI Builder, which can execute Bazel when triggered by ng build
, ng test
, etc.
See https://angular.io/guide/cli-builder for more info about Builders.
This builder assumes you have already created Bazel configurations (WORKSPACE and BUILD files).
There is presently no tooling to generate these automatically that's supported by either Angular team or rules_nodejs maintainers.
See the @bazel/create
package for a quickstart to creating a Bazel workspace, or look at examples in rules_nodejs.
To use it, you would just install this package (it doesn't hook into ng add
because it has no schematics):
$ npm install --save-dev @bazel/angular
Then edit your angular.json
to invoke Bazel. For example, to have ng build
do bazel build //:all
you would edit the architect
block to have:
"architect": {
"build": {
"builder": "@bazel/angular:build",
"options": {
"targetLabel": "//:all",
"bazelCommand": "build"
}
}
}
FAQs
Run Bazel under the Angular CLI
The npm package @bazel/angular receives a total of 248 weekly downloads. As such, @bazel/angular popularity was classified as not popular.
We found that @bazel/angular demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.