Skip to content

rules_js v3 BREAKING CHANGES #1993

@jbedard

Description

@jbedard

BREAKING CHANGES for next major release of rules_js:

MAYBE:

  • remove bazel v7 support
  • simplify internal package store rules and make circular-dep handling opt-in? remove support for circular deps on packages with lifecycle hooks (this could remove some complications with /pkg vs /ref targets etc)?
  • split npm_link_all_packages store vs link targets into different marcos: store targets (root only), :node_modules/{pkg} targets within each package directory such as @npm//my/project:defs.bzl
  • switch reading pnpm settings from package.json to pnpm-workspace.yaml (followup to [FR]: support pnpm-workspace.yaml for pnpm settings #2469)
  • remove npm_import(extract_full_archive)? used internally still, but no longer public

LARGE (but should be non-breaking):

Metadata

Metadata

Assignees

Labels

breakingRequires a semver-major release due to breaking public API changestracking issueThis is a tracking issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions