Skip to content

Commit

Permalink
Adds vscode keys - since they can be large (#5420)
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Jul 22, 2019
1 parent 2f08a74 commit ff7a2cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -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)
Expand Down
8 changes: 7 additions & 1 deletion src/util/execute-lifecycle-script.js
Expand Up @@ -18,7 +18,13 @@ export type LifecycleReturn = Promise<{
stdout: string,
}>;

export const IGNORE_MANIFEST_KEYS: Set<string> = new Set(['readme', 'notice', 'licenseText']);
export const IGNORE_MANIFEST_KEYS: Set<string> = 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.
Expand Down

0 comments on commit ff7a2cc

Please sign in to comment.