isaacscript 2.9.9 → 2.9.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,14 @@
1
1
  <!-- cspell:ignore lowp mediump -->
2
2
  <shaders>
3
- <shader name="IsaacScriptEmptyShader">
3
+ <!--
4
+ Empty shader; only used as a workaround for rendering sprites on top of the HUD.
5
+
6
+ Even though the shader does nothing, all of the code is mandatory, because the vertex shader has
7
+ to return the correct position and the fragment shader has to return the correct color.
8
+
9
+ This is originally taken from StageAPI.
10
+ -->
11
+ <shader name="IsaacScript-RenderAboveHUD">
4
12
  <parameters />
5
13
  <vertex><![CDATA[
6
14
  attribute vec3 Position;
@@ -8,15 +16,18 @@
8
16
  attribute vec2 TexCoord;
9
17
  attribute vec4 RenderData;
10
18
  attribute float Scale;
11
- varying vec4 Color0;
12
- varying vec2 TexCoord0;
13
- varying vec4 RenderDataOut;
14
- varying float ScaleOut;
19
+
20
+ varying lowp vec4 Color0;
21
+ varying mediump vec2 TexCoord0;
22
+ varying lowp vec4 RenderDataOut;
23
+ varying lowp float ScaleOut;
24
+ uniform sampler2D Texture0;
25
+
15
26
  uniform mat4 Transform;
16
27
  void main(void)
17
28
  {
18
29
  RenderDataOut = RenderData;
19
- ScaleOut = Scale; // Passing data to fragment shader
30
+ ScaleOut = Scale;
20
31
  Color0 = Color;
21
32
  TexCoord0 = TexCoord;
22
33
  gl_Position = Transform * vec4(Position.xyz, 1.0);
@@ -27,9 +38,7 @@
27
38
  varying mediump vec2 TexCoord0;
28
39
  varying lowp vec4 RenderDataOut;
29
40
  varying lowp float ScaleOut;
30
-
31
41
  uniform sampler2D Texture0;
32
-
33
42
  void main(void)
34
43
  {
35
44
  vec4 Color = Color0 * texture2D(Texture0, TexCoord0);
@@ -1,5 +1,4 @@
1
1
  import { ModCallback } from "isaac-typescript-definitions";
2
- import { log } from "isaacscript-common";
3
2
 
4
3
  const MOD_NAME = "MOD-NAME-TO-REPLACE";
5
4
 
@@ -14,9 +13,9 @@ function main() {
14
13
  mod.AddCallback(ModCallback.POST_GAME_STARTED, postGameStarted);
15
14
 
16
15
  // Print an message to the "log.txt" file.
17
- log(`${MOD_NAME} initialized.`);
16
+ Isaac.DebugString(`${MOD_NAME} initialized.`);
18
17
  }
19
18
 
20
19
  function postGameStarted() {
21
- log("Callback triggered: POST_GAME_STARTED");
20
+ Isaac.DebugString("Callback triggered: POST_GAME_STARTED");
22
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript",
3
- "version": "2.9.9",
3
+ "version": "2.9.12",
4
4
  "description": "A command line tool for managing Isaac mods written in TypeScript.",
5
5
  "keywords": [
6
6
  "isaac",
@@ -43,11 +43,11 @@
43
43
  "type": "object"
44
44
  },
45
45
  "baseStage": {
46
- "description": "An integer between 2 and 13, corresponding to the `LevelStage` enum. This is the number of the stage that will be warped to and used as a basis for the stage by the level generation algorithm. Mandatory.\n\n(It is not possible to use Basement 1 as a base stage due to conflicts with the `Game.SetStage` method.)",
46
+ "description": "Optional. An integer between 2 and 13, corresponding to the `LevelStage` enum. This is the number of the stage that will be warped to and used as a basis for the stage by the level generation algorithm.\n\n(It is not possible to use Basement 1 as a base stage due to conflicts with the `Game.SetStage` method.)\n\nIf not specified, `LevelStage.BASEMENT_2` (2) will be used.",
47
47
  "type": "number"
48
48
  },
49
49
  "baseStageType": {
50
- "description": "An integer between 0 and 5, corresponding to the `StageType` enum. This is the number of the stage type that will be warped to and used as a basis for the stage by the level generation algorithm. Mandatory.",
50
+ "description": "Optional. An integer between 0 and 5, corresponding to the `StageType` enum. This is the number of the stage type that will be warped to and used as a basis for the stage by the level generation algorithm.\n\nIf not specified, `StageType.ORIGINAL` (0) will be used.",
51
51
  "type": "number"
52
52
  },
53
53
  "decorationsPNGPath": {
@@ -110,7 +110,7 @@
110
110
  "type": "object"
111
111
  },
112
112
  "name": {
113
- "description": "The name of the custom stage. Mandatory.",
113
+ "description": "Mandatory. The name of the custom stage.",
114
114
  "type": "string"
115
115
  },
116
116
  "pitsPNGPath": {
@@ -122,38 +122,154 @@
122
122
  "type": "string"
123
123
  },
124
124
  "roomVariantPrefix": {
125
- "description": "An arbitrarily chosen prefix in the range of 101-999. Mandatory.",
125
+ "description": "Mandatory. An arbitrarily chosen prefix in the range of 101-999 that will be unique to this stage.\n\nMake sure the chosen prefix does not conflict with any other mods. You can find a list of registered room variant prefixes on the IsaacScript website.",
126
126
  "type": "number"
127
127
  },
128
- "shadowPNGPaths": {
128
+ "shadows": {
129
129
  "additionalProperties": false,
130
- "description": "Optional. A collection of paths that contain graphics for the custom shadows of the floor. (In this context, \"shadows\" are the outlines from things on the roof. For example, in Basement, a shadow of a sideways V is used.) If not specified, no extra shadows will be drawn.",
130
+ "description": "Optional. An array of shadow objects that describe the graphics for the custom shadows of the floor. (In this context, \"shadows\" are the outlines from things on the roof. For example, in Basement, a shadow of a sideways V is used, among others.) If not specified, no extra shadows will be drawn.",
131
131
  "properties": {
132
132
  "1x1": {
133
- "description": "An array containing the full paths to the shadows that are used in rooms of shape `RoomShape.SHAPE_1x1` (1), `RoomShape.IH` (2), and `RoomShape.IV` (3).\n\nIf more than one shadow is specified, one will be randomly chosen for each room.\n\nIf not specified, no extra shadows will be drawn in these room shapes.",
133
+ "description": "Optional. An array containing the shadows that will be used in rooms of shape `RoomShape.SHAPE_1x1` (1), `RoomShape.IH` (2), and `RoomShape.IV` (3).\n\nIf more than one shadow is specified, one will be randomly chosen for each room.\n\nIf not specified, no extra shadows will be drawn in these room shapes.",
134
134
  "items": {
135
- "type": "string"
135
+ "additionalProperties": false,
136
+ "description": "A description of a custom stage shadow. (In this context, \"shadows\" are the outlines from things on the roof. For example, in Basement, a shadow of a sideways V is used, among others.)",
137
+ "properties": {
138
+ "color": {
139
+ "additionalProperties": false,
140
+ "description": "Optional. An object representing the color used for the shadow.\n\nIf not specified, an object of `{ r: 0, g: 0, b: 0, a: 0.25 }` will be used (which corresponds to 75% faded black).",
141
+ "properties": {
142
+ "a": {
143
+ "type": "number"
144
+ },
145
+ "b": {
146
+ "type": "number"
147
+ },
148
+ "g": {
149
+ "type": "number"
150
+ },
151
+ "r": {
152
+ "type": "number"
153
+ }
154
+ },
155
+ "required": ["r", "g", "b", "a"],
156
+ "type": "object"
157
+ },
158
+ "pngPath": {
159
+ "description": "The full path to the shadow overlay PNG file.\n\nFor an example of a vanilla shadow overlay, see: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\overlays\\basement\\1x1_overlay_1.png`",
160
+ "type": "string"
161
+ }
162
+ },
163
+ "required": ["pngPath"],
164
+ "type": "object"
136
165
  },
137
166
  "type": "array"
138
167
  },
139
168
  "1x2": {
140
- "description": "An array containing the full paths to the shadows that are used in rooms of shape `RoomShape.SHAPE_1x2` (4) and `RoomShape.IIV` (5).\n\nIf more than one shadow is specified, one will be randomly chosen for each room.\n\nIf not specified, no extra shadows will be drawn in these room shapes.",
169
+ "description": "Optional. An array containing the shadows that will be used in rooms of shape `RoomShape.SHAPE_1x2` (4) and `RoomShape.IIV` (5).\n\nIf more than one shadow is specified, one will be randomly chosen for each room.\n\nIf not specified, no extra shadows will be drawn in these room shapes.",
141
170
  "items": {
142
- "type": "string"
171
+ "additionalProperties": false,
172
+ "description": "A description of a custom stage shadow. (In this context, \"shadows\" are the outlines from things on the roof. For example, in Basement, a shadow of a sideways V is used, among others.)",
173
+ "properties": {
174
+ "color": {
175
+ "additionalProperties": false,
176
+ "description": "Optional. An object representing the color used for the shadow.\n\nIf not specified, an object of `{ r: 0, g: 0, b: 0, a: 0.25 }` will be used (which corresponds to 75% faded black).",
177
+ "properties": {
178
+ "a": {
179
+ "type": "number"
180
+ },
181
+ "b": {
182
+ "type": "number"
183
+ },
184
+ "g": {
185
+ "type": "number"
186
+ },
187
+ "r": {
188
+ "type": "number"
189
+ }
190
+ },
191
+ "required": ["r", "g", "b", "a"],
192
+ "type": "object"
193
+ },
194
+ "pngPath": {
195
+ "description": "The full path to the shadow overlay PNG file.\n\nFor an example of a vanilla shadow overlay, see: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\overlays\\basement\\1x1_overlay_1.png`",
196
+ "type": "string"
197
+ }
198
+ },
199
+ "required": ["pngPath"],
200
+ "type": "object"
143
201
  },
144
202
  "type": "array"
145
203
  },
146
204
  "2x1": {
147
- "description": "An array containing the full paths to the shadows that are used in rooms of shape `RoomShape.SHAPE_2x1` (6) and `RoomShape.IIH` (7).\n\nIf more than one shadow is specified, one will be randomly chosen for each room.\n\nIf not specified, no extra shadows will be drawn in these room shapes.",
205
+ "description": "Optional. An array containing the shadows that will be used in rooms of shape `RoomShape.SHAPE_2x1` (6) and `RoomShape.IIH` (7).\n\nIf more than one shadow is specified, one will be randomly chosen for each room.\n\nIf not specified, no extra shadows will be drawn in these room shapes.",
148
206
  "items": {
149
- "type": "string"
207
+ "additionalProperties": false,
208
+ "description": "A description of a custom stage shadow. (In this context, \"shadows\" are the outlines from things on the roof. For example, in Basement, a shadow of a sideways V is used, among others.)",
209
+ "properties": {
210
+ "color": {
211
+ "additionalProperties": false,
212
+ "description": "Optional. An object representing the color used for the shadow.\n\nIf not specified, an object of `{ r: 0, g: 0, b: 0, a: 0.25 }` will be used (which corresponds to 75% faded black).",
213
+ "properties": {
214
+ "a": {
215
+ "type": "number"
216
+ },
217
+ "b": {
218
+ "type": "number"
219
+ },
220
+ "g": {
221
+ "type": "number"
222
+ },
223
+ "r": {
224
+ "type": "number"
225
+ }
226
+ },
227
+ "required": ["r", "g", "b", "a"],
228
+ "type": "object"
229
+ },
230
+ "pngPath": {
231
+ "description": "The full path to the shadow overlay PNG file.\n\nFor an example of a vanilla shadow overlay, see: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\overlays\\basement\\1x1_overlay_1.png`",
232
+ "type": "string"
233
+ }
234
+ },
235
+ "required": ["pngPath"],
236
+ "type": "object"
150
237
  },
151
238
  "type": "array"
152
239
  },
153
240
  "2x2": {
154
- "description": "An array containing the full paths to the shadows that are used in rooms of shape `RoomShape.SHAPE_2x2` (8), `RoomShape.LTL` (9), `RoomShape.LTR` (10), `RoomShape.LBL` (11), and `RoomShape.LBR` (12).\n\nIf more than one shadow is specified, one will be randomly chosen for each room.\n\nIf not specified, no extra shadows will be drawn in these room shapes.",
241
+ "description": "Optional. An array containing the shadows that will be used in rooms of shape `RoomShape.SHAPE_2x2` (8), `RoomShape.LTL` (9), `RoomShape.LTR` (10), `RoomShape.LBL` (11), and `RoomShape.LBR` (12).\n\nIf more than one shadow is specified, one will be randomly chosen for each room.\n\nIf not specified, no extra shadows will be drawn in these room shapes.",
155
242
  "items": {
156
- "type": "string"
243
+ "additionalProperties": false,
244
+ "description": "A description of a custom stage shadow. (In this context, \"shadows\" are the outlines from things on the roof. For example, in Basement, a shadow of a sideways V is used, among others.)",
245
+ "properties": {
246
+ "color": {
247
+ "additionalProperties": false,
248
+ "description": "Optional. An object representing the color used for the shadow.\n\nIf not specified, an object of `{ r: 0, g: 0, b: 0, a: 0.25 }` will be used (which corresponds to 75% faded black).",
249
+ "properties": {
250
+ "a": {
251
+ "type": "number"
252
+ },
253
+ "b": {
254
+ "type": "number"
255
+ },
256
+ "g": {
257
+ "type": "number"
258
+ },
259
+ "r": {
260
+ "type": "number"
261
+ }
262
+ },
263
+ "required": ["r", "g", "b", "a"],
264
+ "type": "object"
265
+ },
266
+ "pngPath": {
267
+ "description": "The full path to the shadow overlay PNG file.\n\nFor an example of a vanilla shadow overlay, see: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\overlays\\basement\\1x1_overlay_1.png`",
268
+ "type": "string"
269
+ }
270
+ },
271
+ "required": ["pngPath"],
272
+ "type": "object"
157
273
  },
158
274
  "type": "array"
159
275
  }
@@ -168,6 +284,9 @@
168
284
  "additionalProperties": false,
169
285
  "description": "Optional. An object representing the color to use for the background of the boss \"versus\" screen. If not specified, the color for Basement 1 will be used.\n\nFor a list of the colors that correspond to the vanilla stages, see `versusScreenBackgroundColors.ts`.",
170
286
  "properties": {
287
+ "a": {
288
+ "type": "number"
289
+ },
171
290
  "b": {
172
291
  "type": "number"
173
292
  },
@@ -178,13 +297,16 @@
178
297
  "type": "number"
179
298
  }
180
299
  },
181
- "required": ["r", "g", "b"],
300
+ "required": ["r", "g", "b", "a"],
182
301
  "type": "object"
183
302
  },
184
303
  "dirtSpotColor": {
185
304
  "additionalProperties": false,
186
305
  "description": "Optional. An object representing the color to use for the dirt spots in the boss \"versus\" screen. (There are two dirt spots; one for the player and one for the boss.) If not specified, the color for Basement 1 will be used.\n\nFor a list of the colors that correspond to the vanilla stages, see `versusScreenDirtSpotColors.ts`.",
187
306
  "properties": {
307
+ "a": {
308
+ "type": "number"
309
+ },
188
310
  "b": {
189
311
  "type": "number"
190
312
  },
@@ -195,24 +317,18 @@
195
317
  "type": "number"
196
318
  }
197
319
  },
198
- "required": ["r", "g", "b"],
320
+ "required": ["r", "g", "b", "a"],
199
321
  "type": "object"
200
322
  }
201
323
  },
202
324
  "type": "object"
203
325
  },
204
326
  "xmlPath": {
205
- "description": "Path to the XML file that contains the rooms for the custom stage (created with Basement Renovator). Mandatory.",
327
+ "description": "Mandatory. The path to the XML file that contains the rooms for the custom stage (created with Basement Renovator).",
206
328
  "type": "string"
207
329
  }
208
330
  },
209
- "required": [
210
- "name",
211
- "xmlPath",
212
- "roomVariantPrefix",
213
- "baseStage",
214
- "baseStageType"
215
- ],
331
+ "required": ["name", "xmlPath", "roomVariantPrefix"],
216
332
  "type": "object"
217
333
  },
218
334
  "IsaacScriptTSConfig": {
@@ -128,7 +128,8 @@ function initGitRepository(projectPath, gitRemoteURL, verbose) {
128
128
  (0, exec_1.execShell)("git", ["branch", "-M", "main"], verbose, false, projectPath);
129
129
  if (isGitNameAndEmailConfigured(verbose)) {
130
130
  (0, exec_1.execShell)("git", ["add", "--all"], verbose, false, projectPath);
131
- (0, exec_1.execShell)("git", ["commit", "--message", `chore: add files from ${constants_1.PROJECT_NAME} template`], verbose, false, projectPath);
131
+ const commitMessage = `chore: add files from ${constants_1.PROJECT_NAME} template`;
132
+ (0, exec_1.execShell)("git", ["commit", "--message", commitMessage], verbose, false, projectPath);
132
133
  }
133
134
  (0, exec_1.execShell)("git", ["remote", "add", "origin", gitRemoteURL], verbose, false, projectPath);
134
135
  }
@@ -151,9 +152,9 @@ function gitCommitIfChanges(version, verbose) {
151
152
  console.log("There are no changes to commit.");
152
153
  return;
153
154
  }
155
+ (0, exec_1.execShell)("git", ["add", "--all"], verbose);
154
156
  const commitMessage = `chore: release v${version}`;
155
- (0, exec_1.execShell)("git", ["add", "-A"], verbose);
156
- (0, exec_1.execShell)("git", ["commit", "-m", commitMessage], verbose);
157
+ (0, exec_1.execShell)("git", ["commit", "--message", commitMessage], verbose);
157
158
  (0, exec_1.execShell)("git", ["push", "origin", "main", "--set-upstream"], verbose);
158
159
  console.log(`Committed and pushed to the git repository with a message of: ${commitMessage}`);
159
160
  }
@@ -1 +1 @@
1
- {"version":3,"file":"git.js","sourceRoot":"","sources":["../../../../../../packages/isaacscript-cli/src/commands/init/git.ts"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,4EAA2C;AAC3C,wDAAwB;AACxB,wDAAwB;AACxB,+CAA+C;AAC/C,qCAAuC;AACvC,yDAAmC;AAEnC,yCAA6D;AAC7D,uCAAiD;AAEjD,MAAM,0BAA0B,GAAG,CAAC,CAAC;AACrC,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAE/B,KAAK,UAAU,8BAA8B,CAClD,WAAmB,EACnB,KAAc,EACd,GAAY,EACZ,OAAgB;IAEhB,IAAI,KAAK,EAAE;QACT,OAAO,SAAS,CAAC;KAClB;IAED,uFAAuF;IACvF,IAAI,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,WAAW,KAAK,KAAK,EAAE;QAC3D,OAAO,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AgB,CAAC,EAAE,OAAO,CAAC,CAAC;IAExE,OAAO,CAAC,GAAG,CACT,iEAAiE,aAAa,EAAE,CACjF,CAAC;AACJ,CAAC;AAjBD,gDAiBC"}
1
+ {"version":3,"file":"git.js","sourceRoot":"","sources":["../../../../../../packages/isaacscript-cli/src/commands/init/git.ts"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,4EAA2C;AAC3C,wDAAwB;AACxB,wDAAwB;AACxB,+CAA+C;AAC/C,qCAAuC;AACvC,yDAAmC;AAEnC,yCAA6D;AAC7D,uCAAiD;AAEjD,MAAM,0BAA0B,GAAG,CAAC,CAAC;AACrC,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAE/B,KAAK,UAAU,8BAA8B,CAClD,WAAmB,EACnB,KAAc,EACd,GAAY,EACZ,OAAgB;IAEhB,IAAI,KAAK,EAAE;QACT,OAAO,SAAS,CAAC;KAClB;IAED,uFAAuF;IACvF,IAAI,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,WAAW,KAAK,KAAK,EAAE;QAC3D,OAAO,SAAS,CAAC;KAClB;IAED,uEAAuE;IACvE,IAAI,CAAC,wBAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE;QAC9B,OAAO,CAAC,GAAG,CACT,yGAAyG,CAC1G,CAAC;QACF,OAAO,SAAS,CAAC;KAClB;IAED,qBAAqB,CAAC,OAAO,CAAC,CAAC;IAE/B,MAAM,cAAc,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAClD,IAAI,cAAc,KAAK,SAAS,EAAE;QAChC,MAAM,CAAC,UAAU,CAAC,GAAG,IAAA,gBAAS,EAC5B,IAAI,EACJ,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC,EAC7B,OAAO,EACP,IAAI,CACL,CAAC;QACF,MAAM,gBAAgB,GAAG,UAAU,KAAK,CAAC,CAAC;QAC1C,MAAM,GAAG,GAAG,sBAAsB,cAAc,IAAI,WAAW,EAAE,CAAC;Q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AC,WAAW,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;IACpE,OAAO,UAAU,KAAK,CAAC,CAAC;AAC1B,CAAC;AAJD,gCAIC;AAED,SAAgB,kBAAkB,CAAC,OAAe,EAAE,OAAgB;IAClE,kDAAkD;IAClD,IAAA,gBAAS,EAAC,KAAK,EAAE,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;IAEtC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;QACxB,OAAO,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC;QAC/C,OAAO;KACR;IAED,IAAA,gBAAS,EAAC,KAAK,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC;IAC5C,MAAM,aAAa,GAAG,mBAAmB,OAAO,EAAE,CAAC;IACnD,IAAA,gBAAS,EAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,WAAW,EAAE,aAAa,CAAC,EAAE,OAAO,CAAC,CAAC;IAClE,IAAA,gBAAS,EAAC,KAAK,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,OAAO,CAAC,CAAC;IAExE,OAAO,CAAC,GAAG,CACT,iEAAiE,aAAa,EAAE,CACjF,CAAC;AACJ,CAAC;AAjBD,gDAiBC"}
package/src/exec.js CHANGED
@@ -51,8 +51,8 @@ exports.execPowershell = execPowershell;
51
51
  function execShell(command, args = [], verbose = false, allowFailure = false, cwd = constants_1.CWD) {
52
52
  // On Windows, "spawnSync()" will not account for spaces in arguments. Thus, wrap everything in a
53
53
  // double quote. This will cause arguments that naturally have double quotes to fail.
54
- if (command.includes('"')) {
55
- (0, utils_1.error)("execShell cannot execute commands with double quotes in the command.");
54
+ if (command.includes("''") || command.includes('"')) {
55
+ (0, utils_1.error)("execShell cannot execute commands with single quotes or double quotes in the command.");
56
56
  }
57
57
  const argsHasDoubleQuotes = args.some((arg) => arg.includes('"'));
58
58
  if (argsHasDoubleQuotes) {
@@ -65,7 +65,7 @@ function execShell(command, args = [], verbose = false, allowFailure = false, cw
65
65
  }
66
66
  let spawnSyncReturns;
67
67
  try {
68
- spawnSyncReturns = (0, child_process_1.spawnSync)(command, args, {
68
+ spawnSyncReturns = (0, child_process_1.spawnSync)(command, quotedArgs, {
69
69
  shell: true,
70
70
  cwd,
71
71
  });
package/src/exec.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"exec.js","sourceRoot":"","sources":["../../../../packages/isaacscript-cli/src/exec.ts"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,iDAAsE;AACtE,2CAAkC;AAClC,mCAAgC;AAEhC,SAAgB,OAAO,CAAC,IAAY,EAAE,OAAgB,EAAE,GAAG,GAAG,eAAG;IAC/D,IAAI,OAAO,EAAE;QACX,OAAO,CAAC,GAAG,CAAC,qBAAqB,IAAI,EAAE,CAAC,CAAC;KAC1C;IAED,IAAI,MAAc,CAAC;IACnB,IAAI;QACF,MAAM,MAAM,GAAG,IAAA,wBAAQ,EAAC,IAAI,IAAI,GAAG,EAAE;YACnC,GAAG;SACJ,CAAC,CAAC;QACH,MAAM,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC;KACnC;IAAC,OAAO,GAAG,EAAE;QACZ,IAAA,aAAK,EAAC,kBAAkB,eAAK,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;KACrD;IAED,IAAI,OAAO,EAAE;QACX,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,EAAE,CAAC,CAAC;KACzC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AApBD,0BAoBC;AAED,SAAgB,cAAc,CAC5B,OAAe,EACf,OAAO,GAAG,KAAK,EACf,GAAG,GAAG,eAAG;IAET,IAAI,OAAO,EAAE;QACX,OAAO,CAAC,GAAG,CAAC,iCAAiC,OAAO,EAAE,CAAC,CAAC;KACzD;IAED,IAAI,MAAc,CAA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,GAAG,CAAC,qBAAqB,kBAAkB,EAAE,CAAC,CAAC;KACxD;IAED,MAAM,UAAU,GAAG,gBAAgB,CAAC,MAAM,CAAC;IAC3C,IAAI,UAAU,KAAK,IAAI,EAAE;QACvB,IAAA,aAAK,EAAC,+CAA+C,kBAAkB,EAAE,CAAC,CAAC;KAC5E;IAED,MAAM,MAAM,GAAG,gBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;IAEzD,IAAI,UAAU,KAAK,CAAC,EAAE;QACpB,IAAI,YAAY,EAAE;YAChB,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;SAC7B;QAED,OAAO,CAAC,KAAK,CACX,sBAAsB,eAAK,CAAC,KAAK,CAC/B,kBAAkB,CACnB,kCAAkC,UAAU,GAAG,CACjD,CAAC;QACF,OAAO,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;QAC5C,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QACtB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;KACjB;IAED,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;AAC9B,CAAC;AArED,8BAqEC"}
package/src/tsconfig.js CHANGED
@@ -90,11 +90,12 @@ function getCustomStagesFromTSConfig(verbose) {
90
90
  (0, utils_1.error)(chalk_1.default.red(`The "${name}" custom stage has an invalid value for the "roomVariantPrefix" property: ${roomVariantPrefix}`));
91
91
  }
92
92
  const { baseStage } = customStageTSConfig;
93
- if (baseStage < 2 || baseStage > 13) {
93
+ if (baseStage !== undefined && (baseStage < 2 || baseStage > 13)) {
94
94
  (0, utils_1.error)(`The "${name}" custom stage has an invalid value for the "baseStage" property: ${baseStage}`);
95
95
  }
96
96
  const { baseStageType } = customStageTSConfig;
97
- if (baseStageType < 0 || baseStageType > 5) {
97
+ if (baseStageType !== undefined &&
98
+ (baseStageType < 0 || baseStageType > 5)) {
98
99
  (0, utils_1.error)(`The "${name}" custom stage has an invalid value for the "baseStageType" property: ${baseStageType}`);
99
100
  }
100
101
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tsconfig.js","sourceRoot":"","sources":["../../../../packages/isaacscript-cli/src/tsconfig.ts"],"names":[],"mappings":";;;;AAAA,sDAAkC;AAClC,0DAA0B;AAC1B,2CAKqB;AACrB,qDAA+B;AAE/B,iCAAkC;AAClC,mCAA0C;AAE1C,MAAM,MAAM,GAAG,oBAAoB,yBAAa,sBAAsB,wBAAY,WAAW,CAAC;AAC9F,MAAM,sBAAsB,GAAG,IAAI,CAAC,IAAI,CAAC,mCAAuB,EAAE,KAAK,CAAC,CAAC;AACzE,MAAM,kBAAkB,GAAG,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAW,CAAC;AACxE,MAAM,GAAG,GAAG,IAAI,aAAG,EAAE,CAAC;AACtB,MAAM,cAAc,GAAG,GAAG,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;AAEvD,SAAS,eAAe,CAAC,OAAgB;IACvC,OAAO,IAAA,eAAQ,EAAC,8BAAkB,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC;AAED,SAAS,qBAAqB,CAC5B,OAAgB;IAEhB,MAAM,QAAQ,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;IAE1C,4DAA4D;IAC5D,KAAK,MAAM,YAAY,IAAI,CAAC,aAAa,EAAE,aAAa,EAAE,aAAa,CAAC,EAAE;QACxE,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAC;QACxC,IAAI,QAAQ,KAAK,SAAS,EAAE;YAC1B,IAAI,CAAC,IAAA,gBAAQ,EAAC,QAAQ,CAAC,EAAE;gBACvB,IAAA,aAAK,EACH,SAAS,eAAK,CAAC,KAAK,CAClB,8BAAkB,CACnB,0CAA0C,YAAY,0CAA0C,MAAM,EAAE,CAC1G,CAAC;aACH;YAED,OAAO,QAAQ,CAAC;SACjB;KACF;IAED,OAAO,SAAS,CAAC;AACnB,CAA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