isaacscript 3.35.0 → 3.36.1
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,6 @@
|
|
|
1
1
|
import chalk from "chalk";
|
|
2
2
|
import { fatalError } from "isaacscript-common-node";
|
|
3
|
-
import {
|
|
3
|
+
import { hasWhitespace, isKebabCase } from "isaacscript-common-ts";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { CURRENT_DIRECTORY_NAME, CWD } from "../../constants.js";
|
|
6
6
|
import { getInputString, getInputYesNo } from "../../prompt.js";
|
|
@@ -71,7 +71,7 @@ function validateProjectName(projectName, forceName) {
|
|
|
71
71
|
if (forceName) {
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
74
|
-
if (
|
|
74
|
+
if (hasWhitespace(projectName)) {
|
|
75
75
|
fatalError('Error: The project name has whitespace in it, which is not allowed. Use kebab-case for your project name. (e.g. "green-candle")');
|
|
76
76
|
}
|
|
77
77
|
if (!isKebabCase(projectName)) {
|
|
@@ -7,24 +7,26 @@
|
|
|
7
7
|
"enableGlobDot": true,
|
|
8
8
|
"useGitignore": true,
|
|
9
9
|
"ignorePaths": [
|
|
10
|
-
"*.
|
|
10
|
+
"*.min.js",
|
|
11
11
|
"*.mp3",
|
|
12
|
-
"*.ogg",
|
|
13
12
|
"*.pyc",
|
|
14
|
-
"*.stb",
|
|
15
13
|
"*.svg",
|
|
16
|
-
"*.wav",
|
|
17
14
|
".git/**",
|
|
18
15
|
".yarn/**",
|
|
19
16
|
"dist/**",
|
|
20
17
|
"LICENSE",
|
|
21
|
-
"mod/main.lua",
|
|
22
|
-
"mod/content/rooms/**",
|
|
23
|
-
"mod/resources/rooms/**",
|
|
24
18
|
"node_modules/**",
|
|
25
19
|
"package-lock.json",
|
|
26
20
|
"pnpm-lock.yaml",
|
|
27
21
|
"yarn.lock",
|
|
22
|
+
// Isaac-specific additions.
|
|
23
|
+
"*.anm2",
|
|
24
|
+
"*.ogg",
|
|
25
|
+
"*.stb",
|
|
26
|
+
"*.wav",
|
|
27
|
+
"mod/main.lua",
|
|
28
|
+
"mod/content/rooms/**",
|
|
29
|
+
"mod/resources/rooms/**",
|
|
28
30
|
],
|
|
29
31
|
"words": [],
|
|
30
32
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.36.1",
|
|
4
4
|
"description": "A command line tool for managing Isaac mods written in TypeScript.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"commander": "^11.1.0",
|
|
51
51
|
"figlet": "^1.7.0",
|
|
52
52
|
"isaacscript-common-node": "^3.0.0",
|
|
53
|
-
"isaacscript-common-ts": "^13.1
|
|
53
|
+
"isaacscript-common-ts": "^13.5.1",
|
|
54
54
|
"jsonc-parser": "^3.2.0",
|
|
55
55
|
"klaw-sync": "^6.0.0",
|
|
56
56
|
"moment": "^2.29.4",
|