Skip to content

Conversation

@devversion
Copy link
Member

Currently when trying to import @devinfra// in a workspace that doesn't use rules_nodejs anymore, we will surface errors.

This is because the top-level BUILD target/package is loaded for the shared tsconfig defaults, while this Bzl package imports from defaults.bzl which inherently triggers various load statements for rules_nodejs.

This shouldn't be the case, and this commit fixes this.

Currently when trying to import `@devinfra//` in a workspace that
doesn't use `rules_nodejs` anymore, we will surface errors.

This is because the top-level BUILD target/package is loaded for the shared
tsconfig defaults, while this Bzl package imports from `defaults.bzl`
which inherently triggers various load statements for `rules_nodejs`.

This shouldn't be the case, and this commit fixes this.
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Feb 25, 2025
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@josephperrott josephperrott removed the request for review from crisbeto February 25, 2025 15:24
@josephperrott josephperrott added the action: merge The PR is ready for merge by the caretaker label Feb 25, 2025
@josephperrott
Copy link
Member

This PR was merged into the repository by commit 07dba2a.

The changes were merged into the following branches: main

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants