Skip to content

Commit a3b1294

Browse files
eamodioarcanis
authored andcommitted
Adds vscode keys - since they can be large (#5420) (#7419)
1 parent 2f08a74 commit a3b1294

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa
44

55
## Master
66

7+
- Ignores potentially large vscode keys in package.json to avoid E2BIG errors.
8+
9+
[#7419](https://github.com/yarnpkg/yarn/pull/7419) - [**Eric Amodio**](https://twitter.com/eamodio)
10+
711
- Enforces https for the Yarn and npm registries.
812

913
[#7393](https://github.com/yarnpkg/yarn/pull/7393) - [**Maël Nison**](https://twitter.com/arcanis)

src/util/execute-lifecycle-script.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ export type LifecycleReturn = Promise<{
1818
stdout: string,
1919
}>;
2020

21-
export const IGNORE_MANIFEST_KEYS: Set<string> = new Set(['readme', 'notice', 'licenseText']);
21+
export const IGNORE_MANIFEST_KEYS: Set<string> = new Set([
22+
'readme',
23+
'notice',
24+
'licenseText',
25+
'activationEvents',
26+
'contributes',
27+
]);
2228

2329
// We treat these configs as internal, thus not expose them to process.env.
2430
// This helps us avoid some gyp issues when building native modules.

0 commit comments

Comments
 (0)