refactor: add package.json exports to architect and schematics - #34108
Merged
Merged
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces explicit package exports maps in the package.json files for both @angular-devkit/architect and @angular-devkit/schematics to properly expose their subpaths (such as ./node, ./testing, ./tasks, and ./tools) and configuration files. It also adds corresponding API golden files for the newly exposed architect subpaths. The feedback recommends adding ./builders/builders.json to the exports map of @angular-devkit/architect to ensure compatibility with external tools resolving the builders file directly via its declared path.
alan-agius4
approved these changes
Sep 17, 2026
Adds package.json exports fields to @angular-devkit/architect and @angular-devkit/schematics to explicitly define their public entry points and encapsulation in preparation for ESM conversion. @angular-devkit/architect exports the root, node, testing, builders.json, and package.json. @angular-devkit/schematics exports the root, tasks, testing, tools, collection-schema.json, and package.json. Also adds the corresponding public API golden definitions for @angular-devkit/architect.
clydin
force-pushed
the
refactor/devkit-package-exports
branch
from
September 17, 2026 16:25
aac154c to
1288984
Compare
Member
Author
|
This PR was merged into the repository. The changes were merged into the following branches:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds package.json exports fields to @angular-devkit/architect and @angular-devkit/schematics to explicitly define their public entry points and encapsulation in preparation for ESM conversion.
@angular-devkit/architect exports the root, node, testing, builders.json, and package.json. @angular-devkit/schematics exports the root, tasks, testing, tools, collection-schema.json, and package.json. Also adds the corresponding public API golden definitions for @angular-devkit/architect.