Skip to content

Conversation

@devversion
Copy link
Member

Patch port of #30697

This version of `angular-linking` has the new license (MIT), and also
disables Babel config lookups. That potentially fixes the flakiness
where Babel fails reading some incomplete config file
Migrates the theming tests to `rules_js`. This also requires us to bring
in the Jasmine ruleset, and fix some issues with the test tsconfig.
This commit migrates more targets from `ts_library` to `ts_project`.
This will allow pnpm to identifiy dependencies like `parse5` to be
understood as non-dev dependencies, so that they are propagated with
`rules_js` even when `cdk` is linked as `npm_package`. This is necessary
when using the npm package of CDK in the Material schematic tests.

To do this we need to give up on our non-statically readable
substitutions for tslib and RxJS but this is acceptable as those don't
change often and the benefits of the pnpm workspace are more important.

We move `parse5` from `optionalDependencies` to `dependencies` so that
pnpm recognizes this as non-dev dependency for the runtime execution of
the CDK package. `parse5` doesn't have any native code, so
`optionalDependencies` vs `dependencies` doesn't make a difference.

Long-term we should consider simply bundling `parse5` here.
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Mar 25, 2025
@devversion devversion force-pushed the rjs-3-patch branch 3 times, most recently from 6d83268 to c43ecaa Compare March 25, 2025 08:46
@devversion devversion requested a review from crisbeto March 25, 2025 11:42
@devversion devversion added target: patch This PR is targeted for the next patch release action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 25, 2025
Migrates all schematics code to `ts_project` and simplifies
complexity/confusion around devmode,prodmode ESM and CommonJS.
@devversion devversion added the action: merge The PR is ready for merge by the caretaker label Mar 25, 2025
@devversion devversion marked this pull request as ready for review March 25, 2025 12:38
@devversion devversion requested review from a team as code owners March 25, 2025 12:38
@devversion devversion requested review from andrewseguin and mmalerba and removed request for a team, andrewseguin and mmalerba March 25, 2025 12:38
@devversion devversion merged commit 0e18581 into angular:19.2.x Mar 25, 2025
23 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 Apr 25, 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 action: review The PR is still awaiting reviews from at least one requested reviewer area: build & ci Related the build and CI infrastructure of the project target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants