Skip to content

Conversation

devversion
Copy link
Member

See individual commits

@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Jan 10, 2025
@devversion devversion added action: review The PR is still awaiting reviews from at least one requested reviewer target: rc This PR is targeted for the next release-candidate labels Jan 10, 2025
@devversion devversion marked this pull request as ready for review January 10, 2025 13:02
Copy link
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

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

LGTM, one minor NIT

@devversion devversion force-pushed the npm_package_2 branch 2 times, most recently from 5634087 to ef33340 Compare January 10, 2025 14:40
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

@clydin clydin removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Jan 10, 2025
@alan-agius4 alan-agius4 force-pushed the npm_package_2 branch 2 times, most recently from 9bc67e3 to 88e2933 Compare January 10, 2025 19:09
This allows us to use the package in the RJS pnpm workspace.
This allows this package to be used in the pnpm workspace, and is a step
further with the `rules_js` migration.
@devversion devversion force-pushed the npm_package_2 branch 2 times, most recently from df82ca5 to 8a0f8a4 Compare January 13, 2025 15:19
@devversion devversion added the action: merge The PR is ready for merge by the caretaker label Jan 13, 2025
Similart to `pkg_npm` from `rules_nodejs`, we should have a way to make
use of the stamp constants/placeholders throughout individual package
files. This is not possible at all with `rules_js`'s `npm_package` rule,
nor does it support stamp substitutions out of the box at all.

We have our own `expand_template` machinery to substitute `package.json`
files of npm archives, but we need to expand this to support arbitrary
files inside a package. This will be opt-in for explicitly listed files;
which is a good compromise for simplicity of supporting this.

This commit adds the necessary functionality and demonstrates the
feature by fixing `@angular/build`.
@devversion devversion merged commit e31be73 into angular:main Jan 13, 2025
30 checks passed
@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 Feb 13, 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 target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants