diff --git a/.yarn/versions/256bdd8e.yml b/.yarn/versions/256bdd8e.yml new file mode 100644 index 000000000000..6782e6cf1d62 --- /dev/null +++ b/.yarn/versions/256bdd8e.yml @@ -0,0 +1,8 @@ +releases: + "@yarnpkg/pnpify": patch + +declined: + - "@yarnpkg/plugin-node-modules" + - vscode-zipfs + - "@yarnpkg/builder" + - "@yarnpkg/cli" diff --git a/CHANGELOG.md b/CHANGELOG.md index 46341aa373f5..f3928bc6835d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ - The patched fs now supports file URLs. - The node-modules linker now ensures that hoisting result is terminal, by doing several hoisting rounds when needed - +- Prettier SDK does not use in memory node_modules anymore, instead it relies on prettier plugins to be specified in `plugins` prettier config property. ### Settings - Various `initFields` edge cases have been fixed. diff --git a/packages/yarnpkg-pnpify/sources/sdks/base.ts b/packages/yarnpkg-pnpify/sources/sdks/base.ts index 5d796b7f7848..99c52c208a78 100644 --- a/packages/yarnpkg-pnpify/sources/sdks/base.ts +++ b/packages/yarnpkg-pnpify/sources/sdks/base.ts @@ -19,7 +19,7 @@ export const generatePrettierBaseWrapper: GenerateBaseWrapper = async (pnpApi: P await wrapper.writeManifest(); - await wrapper.writeBinary(`index.js` as PortablePath, {usePnpify: true}); + await wrapper.writeBinary(`index.js` as PortablePath); return wrapper; };