question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

@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/bazel

Description

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:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
THE-VR7commented, May 13, 2020

Hello. I am new and would love to contribute. I would like to fix this issue, if no one is already on it.

0reactions
angular-automatic-lock-bot[bot]commented, Apr 14, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found