diff --git a/CHANGELOG.md b/CHANGELOG.md index 32f46dfc15..806b31d9de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa ## Master +- Ignores potentially large vscode keys in package.json to avoid E2BIG errors. + + [#7419](https://github.com/yarnpkg/yarn/pull/7419) - [**Eric Amodio**](https://twitter.com/eamodio) + - Enforces https for the Yarn and npm registries. [#7393](https://github.com/yarnpkg/yarn/pull/7393) - [**Maƫl Nison**](https://twitter.com/arcanis) diff --git a/src/util/execute-lifecycle-script.js b/src/util/execute-lifecycle-script.js index dcbbc008d2..f5db0821b4 100644 --- a/src/util/execute-lifecycle-script.js +++ b/src/util/execute-lifecycle-script.js @@ -18,7 +18,13 @@ export type LifecycleReturn = Promise<{ stdout: string, }>; -export const IGNORE_MANIFEST_KEYS: Set = new Set(['readme', 'notice', 'licenseText']); +export const IGNORE_MANIFEST_KEYS: Set = new Set([ + 'readme', + 'notice', + 'licenseText', + 'activationEvents', + 'contributes', +]); // We treat these configs as internal, thus not expose them to process.env. // This helps us avoid some gyp issues when building native modules.