Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into paul/refactor/remove-pnpDataPath
  • Loading branch information
paul-soporan committed Aug 18, 2022
commit 3a91512a93bf4d167c54d40bd613627bf2ad2992
16 changes: 4 additions & 12 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Yarn now accepts sponsorships! Please give a look at our [OpenCollective](https:
- `yarn workspaces foreach` now automatically enables the `-v,--verbose` flag in interactive terminal environments.
- `yarn npm audit` no longer takes into account publish registries. Use [`npmAuditRegistry`](https://yarnpkg.com/configuration/yarnrc#npmAuditRegistry) instead.
- The `--assume-fresh-project` flag of `yarn init` has been removed. Should only affect people initializing Yarn 4+ projects using a Yarn 2 binary.
- Yarn will no longer remove the old Yarn 2.x `.pnp.js` file when migrating.
- The `pnpDataPath` option has been removed to adhere to our new [PnP specification](https://yarnpkg.com/advanced/pnp-spec). For consistency, all PnP files will now be hardcoded to a single value so that third-party tools can implement the PnP specification without relying on the Yarn configuration.

### **API Changes**
Expand Down
1 change: 0 additions & 1 deletion packages/plugin-pnp/sources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export {pnpUtils};
export const getPnpPath = (project: Project) => {
return {
cjs: ppath.join(project.cwd, Filename.pnpCjs),
cjsLegacy: ppath.join(project.cwd, Filename.pnpJs),
data: ppath.join(project.cwd, Filename.pnpData),
esmLoader: ppath.join(project.cwd, Filename.pnpEsmLoader),
};
Expand Down
2 changes: 1 addition & 1 deletion packages/yarnpkg-pnp/sources/hook.js

Large diffs are not rendered by default.

You are viewing a condensed version of this merge commit. You can view the full changes here.