@angular/bazel use `bazelisk` instead of `bazel` as it is deprecated.
See original GitHub issueπ feature request
Relevant Package
This feature request is for @angular/bazelDescription
The @angular/bazel:build
is using @bazel/bazel
to execute the bazel commands under the hood. bazelbuild/rules_nodejs/issues/1784
Switch to bazelisk
instead of bazel
as dependency.
Furthermore, this would solve the issue of having an old version of bazel
(2.1.0) current bazel version (3.1.0).
Describe the solution youβd like
Instead of using bazel
use bazelisk
https://github.com/angular/angular/blob/master/packages/bazel/src/builders/bazel.ts#L16
export type Executable = 'bazelisk'|'ibazel';
Maybe add with the ng-add
schematic a .bazelversion
file to configure the bazel version in use. As it does not make sense to configure it on a build target level in the angular cli.
Are you willing to take contributions on this?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Installing / Updating Bazel using Bazelisk
Bazelisk is the recommended way to install Bazel on Ubuntu, Windows, and macOS. It automatically downloads and installs the appropriate versionΒ ...
Read more >@bazel/bazel - npm
Start using @bazel/bazel in your project by running `npm i @bazel/bazel`. ... @bazel/bazel is deprecated, please use @bazel/bazelisk instead ...
Read more >Angular β€οΈ Bazel leaving Angular Labs - DEV Community β β
Here's a short summary of changes happening now: Angular is deprecating the @angular/bazel package for v10, see the Pull Request; The AngularΒ ...
Read more >Upgrade to rules_nodejs version >=2.0.0 / build for arm64
To use a different version of Bazel, you should change the .bazelversion file in the root folder. Use Bazelisk to retrieve the specifiedΒ ......
Read more >angular-builders/bazel NPM
This package is a replacement for parts of the deprecated @angular/bazel ... To use it, you would just install this package (it doesn't...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello. I am new and would love to contribute. I would like to fix this issue, if no one is already on it.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.