@@ -116,37 +116,44 @@ const SLICES = [
116
116
// https://github.com/merceyz/TypeScript/tree/merceyz/pnp-4.8-stable
117
117
{
118
118
from : `623a7ac5aa49250155d39e604b09b4d015468a9c` ,
119
- to : `623a7ac5aa49250155d39e604b09b4d015468a9c ` ,
119
+ to : `30840e0c2ad8e115c518f87379b7cb55fdf77f03 ` ,
120
120
onto : `60b5167a2a7015759d048cdd4655d1f66a8416a2` ,
121
121
range : `>=4.8.1-rc <4.8.4` ,
122
122
} ,
123
123
// https://github.com/merceyz/TypeScript/tree/merceyz/pnp-4.8
124
124
{
125
125
from : `d3747e92c3cd2d1f98739382c14226a725df38fd` ,
126
- to : `d3747e92c3cd2d1f98739382c14226a725df38fd ` ,
126
+ to : `5b9a74243e47db6113e857eabe5d26589fa0b64f ` ,
127
127
onto : `a614119c1921ca61d549a7eee65c0b8c69c28752` ,
128
128
range : `>=4.8.4 <4.9.1-beta` ,
129
129
} ,
130
130
// https://github.com/merceyz/TypeScript/tree/merceyz/pnp-4.9-beta
131
131
{
132
132
from : `69c84aacfcea603c4d74721366cdcbbebd1c1681` ,
133
- to : `69c84aacfcea603c4d74721366cdcbbebd1c1681 ` ,
133
+ to : `18b67922d3dcc5215541a38bf6417972270bf60f ` ,
134
134
onto : `549b5429d4837344e8c99657109bb6538fd2dbb5` ,
135
135
range : `>=4.9.1-beta <4.9.2-rc` ,
136
136
} ,
137
137
// https://github.com/merceyz/TypeScript/tree/merceyz/pnp-4.9-rc
138
138
{
139
139
from : `5613f8d8e30dfa9fb3da15e2b8432ed7e2347a12` ,
140
- to : `5613f8d8e30dfa9fb3da15e2b8432ed7e2347a12 ` ,
140
+ to : `d3a8a86ce4774d607c5a4a225cc5b59b1f96f42f ` ,
141
141
onto : `107f832b80df2dc97748021cb00af2b6813db75b` ,
142
142
range : `>=4.9.2-rc <4.9.4` ,
143
143
} ,
144
144
// https://github.com/merceyz/TypeScript/tree/merceyz/pnp-4.9
145
145
{
146
146
from : `a0859a75a408ec95222a3f0175ba0644d60396f1` ,
147
- to : `a0859a75a408ec95222a3f0175ba0644d60396f1 ` ,
147
+ to : `2b8a9b1c21a6d2c0aa26437c2636414be950aa79 ` ,
148
148
onto : `e2868216f637e875a74c675845625eb15dcfe9a2` ,
149
- range : `>=4.9.4` ,
149
+ range : `>=4.9.4 <5.0.0-beta` ,
150
+ } ,
151
+ // https://github.com/merceyz/TypeScript/tree/merceyz/pnp-5.0
152
+ {
153
+ from : `65bff6fadce4736bb9a77213ba8016f1ac7d25e5` ,
154
+ to : `65bff6fadce4736bb9a77213ba8016f1ac7d25e5` ,
155
+ onto : `dcad07ffd29854e2b93a86da0ba197f6eec21698` ,
156
+ range : `>=5.0.0-beta` ,
150
157
} ,
151
158
] ;
152
159
@@ -181,7 +188,13 @@ async function execFile(binary, args, {checkExitCode = true, ...opts} = {}) {
181
188
console . log ( `${ binary } ${ args . join ( ` ` ) } ` ) ;
182
189
183
190
return new Promise ( ( resolve , reject ) => {
184
- const child = cp . spawn ( binary , args , opts ) ;
191
+ const child = cp . spawn ( binary , args , {
192
+ ...opts ,
193
+ env : {
194
+ ...process . env ,
195
+ NODE_OPTIONS : undefined ,
196
+ } ,
197
+ } ) ;
185
198
186
199
const outChunks = [ ] ;
187
200
const allChunks = [ ] ;
@@ -299,7 +312,7 @@ async function buildRepository({from, to, onto}) {
299
312
}
300
313
}
301
314
302
- await execFile ( `./node_modules/.bin/gulp` , [ `local` , `LKG` ] , TS_REPO_SPAWN ) ;
315
+ await execFile ( fs . existsSync ( ` ${ TS_REPO } /node_modules/.bin/hereby` ) ? `./node_modules/.bin/hereby` : `./node_modules/.bin/gulp` , [ `local` , `LKG` ] , TS_REPO_SPAWN ) ;
303
316
304
317
// It seems that in some circumstances the build can produce incorrect artifacts. When
305
318
// that happens, the final binary is very small. We try to detect that.
0 commit comments