-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add export
fields to manifests to prevent deep imports
#4834
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
0aff756
Add `export` fields to manifests to prevent deep imports
Larry1123 c51cc09
fix test polyfills from failing to resolve
Larry1123 a4bbd11
fix two test files that were not importing right.
Larry1123 21c6fc0
temp workaround to rollup not supporting the exports right
Larry1123 c4c6a57
fix gatsby build
Larry1123 0bcd587
workaround for `pnp-esm.test.ts` failing to import
Larry1123 576c09a
fix imports in `prunedNativeDeps.test.ts`
Larry1123 856428a
fix `test-typescript-patch.js`
Larry1123 b2c2ad1
removed `./command/*` from exports
Larry1123 e99ee1f
remove `types` condition from `exports`
Larry1123 bd59b29
remove `types` in root and `publishConfig`
Larry1123 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
releases: | ||
"@yarnpkg/builder": major | ||
"@yarnpkg/cli": major | ||
"@yarnpkg/core": major | ||
"@yarnpkg/doctor": major | ||
"@yarnpkg/eslint-config": minor | ||
"@yarnpkg/extensions": major | ||
"@yarnpkg/fslib": major | ||
"@yarnpkg/libzip": major | ||
"@yarnpkg/nm": major | ||
"@yarnpkg/parsers": major | ||
"@yarnpkg/plugin-compat": major | ||
"@yarnpkg/plugin-constraints": major | ||
"@yarnpkg/plugin-dlx": major | ||
"@yarnpkg/plugin-essentials": major | ||
"@yarnpkg/plugin-exec": major | ||
"@yarnpkg/plugin-file": major | ||
"@yarnpkg/plugin-git": major | ||
"@yarnpkg/plugin-github": major | ||
"@yarnpkg/plugin-http": major | ||
"@yarnpkg/plugin-init": major | ||
"@yarnpkg/plugin-interactive-tools": major | ||
"@yarnpkg/plugin-link": major | ||
"@yarnpkg/plugin-nm": major | ||
"@yarnpkg/plugin-npm": major | ||
"@yarnpkg/plugin-npm-cli": major | ||
"@yarnpkg/plugin-pack": major | ||
"@yarnpkg/plugin-patch": major | ||
"@yarnpkg/plugin-pnp": major | ||
"@yarnpkg/plugin-pnpm": major | ||
"@yarnpkg/plugin-stage": major | ||
"@yarnpkg/plugin-typescript": major | ||
"@yarnpkg/plugin-version": major | ||
"@yarnpkg/plugin-workspace-tools": major | ||
"@yarnpkg/pnp": major | ||
"@yarnpkg/pnpify": major | ||
"@yarnpkg/sdks": major | ||
"@yarnpkg/shell": major | ||
vscode-zipfs: patch |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,10 @@ | |
"private": true, | ||
"license": "BSD-2-Clause", | ||
"main": "./sources/index.js", | ||
"exports": { | ||
".": "./sources/index.ts", | ||
"./package.json": "./package.json" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "ssh://[email protected]/yarnpkg/berry.git", | ||
|
6 changes: 4 additions & 2 deletions
6
packages/acceptance-tests/pkg-tests-specs/sources/features/prunedNativeDeps.test.ts
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for cleaning all this, btw!