8000 Add the missing 'environmentVariables' property to the pnpn-config.js… · mstomar698/rushstack@ba0c1e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit ba0c1e2

Browse files
committed
Add the missing 'environmentVariables' property to the pnpn-config.json template.
1 parent ccb4962 commit ba0c1e2

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"type": "none",
6+
"packageName": "@microsoft/rush"
7+
}
8+
],
9+
"packageName": "@microsoft/rush",
10+
"email": "iclanton@users.noreply.github.com"
11+
}

libraries/rush-lib/assets/rush-init/common/config/rush/pnpm-config.json

Lines changed: 14 additions & 4 deletions
820C
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,18 @@
3333
*/
3434
/*[LINE "DEMO"]*/ "strictPeerDependencies": true,
3535

36+
/**
37+
* Environment variables that will be provided to PNPM.
38+
*/
39+
/*[BEGIN "DEMO"]*/
40+
"environmentVariables": {
41+
"NODE_OPTIONS": {
42+
"value": "--max-old-space-size=4096",
43+
"override": false
44+
}
45+
},
46+
/*[END "DEMO"]*/
47+
3648
/**
3749
* Specifies the location of the PNPM store. There are two possible values:
3850
*
@@ -145,9 +157,7 @@
145157
*
146158
* PNPM documentation: https://pnpm.io/package_json#pnpmneverbuiltdependencies
147159
*/
148-
"globalNeverBuiltDependencies": [
149-
/*[LINE "HYPOTHETICAL"]*/ "fsevents"
150-
],
160+
"globalNeverBuiltDependencies": [/*[LINE "HYPOTHETICAL"]*/ "fsevents"],
151161

152162
/**
153163
* The `globalAllowedDeprecatedVersions` setting suppresses installation warnings for package
@@ -161,7 +171,7 @@
161171
* If you are working to eliminate a deprecated version, it's better to specify `allowedDeprecatedVersions`
162172
* in the package.json file for individual Rush projects.
163173
*/
164-
"globalAllowedDeprecatedVersions": {
174+
"globalAllowedDeprecatedVersions": {
165175
/*[LINE "HYPOTHETICAL"]*/ "request": "*"
166176
},
167177

0 commit comments

Comments
 (0)
0