Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Apr 26, 2022

The @schematics/angular package now contains a defined set of package exports including a utility subpath export.
A wildcard export is also temporarily defined to support transition away from existing deep-import usage.
The @schematics/angular/utility subpath export will contain supported utility methods used by the first-party schematics
contained within the @schematics/angular package and can be considered public API that will follow SemVer stability constraints.
The first group of utilities introduced in this change are used to modify the angular.json workspace file
within the schematics and include the updateWorkspace rule and readWorkspace/writeWorkspace helpers.

@clydin clydin added the target: major This PR is targeted for the next major release label Apr 26, 2022
@clydin clydin force-pushed the schematics/utility/angular-workspace branch 8 times, most recently from f5be224 to b7359ba Compare April 28, 2022 14:11
@clydin clydin marked this pull request as ready for review April 28, 2022 14:25
@clydin clydin added this to the v14 milestone Apr 28, 2022
@clydin clydin force-pushed the schematics/utility/angular-workspace branch from b7359ba to 29b4432 Compare April 28, 2022 18:53
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label May 2, 2022
@dgp1130 dgp1130 self-requested a review May 2, 2022 17:52
@clydin clydin force-pushed the schematics/utility/angular-workspace branch from 29b4432 to f287290 Compare May 3, 2022 17:44
@clydin clydin requested a review from dgp1130 May 3, 2022 17:56
clydin added 2 commits May 3, 2022 15:37
…ular rules and utilities

The `@schematics/angular` package now contains a defined set of package `exports` including a `utility` subpath export.
A wildcard export is also temporarily defined to support transition away from existing deep-import usage.
The `@schematics/angular/utility` subpath export will contain supported utility methods used by the first-party schematics
contained within the `@schematics/angular` package and can be considered public API that will follow SemVer stability constraints.
The first group of utilities introduced in this change are used to modify the `angular.json` workspace file
within the schematics and include the `updateWorkspace` rule and `readWorkspace`/`writeWorkspace` helpers.
…sage

Workspace helper utilties are now exported from `@schematics/angular/utility`.
The previously used deep imports are not considered part of the public API and may change in any version.
@clydin clydin force-pushed the schematics/utility/angular-workspace branch from f287290 to 5aaf303 Compare May 3, 2022 19:37
@clydin clydin added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels May 3, 2022
@dgp1130 dgp1130 merged commit 243cb40 into angular:main May 3, 2022
@clydin clydin deleted the schematics/utility/angular-workspace branch May 3, 2022 21:05
@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 Jun 3, 2022
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 target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants