isaacscript 4.0.1 → 4.1.0
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,9 +1,7 @@
|
|
|
1
1
|
import { $, $s, commandExists, lintScript } from "isaacscript-common-node";
|
|
2
2
|
|
|
3
3
|
await lintScript(async () => {
|
|
4
|
-
const promises
|
|
5
|
-
|
|
6
|
-
promises.push(
|
|
4
|
+
const promises = [
|
|
7
5
|
// Use Prettier to check formatting.
|
|
8
6
|
// - "--log-level=warn" makes it only output errors.
|
|
9
7
|
$`prettier --log-level=warn --check .`,
|
|
@@ -25,7 +23,7 @@ await lintScript(async () => {
|
|
|
25
23
|
|
|
26
24
|
// Check for unused CSpell words.
|
|
27
25
|
$`cspell-check-unused-words`,
|
|
28
|
-
|
|
26
|
+
];
|
|
29
27
|
|
|
30
28
|
if (commandExists("python")) {
|
|
31
29
|
$s`pip install isaac-xml-validator --upgrade --quiet`;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { $, lintScript } from "isaacscript-common-node";
|
|
2
2
|
|
|
3
3
|
await lintScript(async () => {
|
|
4
|
-
const promises
|
|
5
|
-
|
|
6
|
-
promises.push(
|
|
4
|
+
const promises = [
|
|
7
5
|
// Use Prettier to check formatting.
|
|
8
6
|
// - "--log-level=warn" makes it only output errors.
|
|
9
7
|
$`prettier --log-level=warn --check .`,
|
|
@@ -24,7 +22,7 @@ await lintScript(async () => {
|
|
|
24
22
|
|
|
25
23
|
// Check for unused CSpell words.
|
|
26
24
|
$`cspell-check-unused-words`,
|
|
27
|
-
|
|
25
|
+
];
|
|
28
26
|
|
|
29
27
|
await Promise.all(promises);
|
|
30
28
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "A command line tool for managing Isaac mods written in TypeScript.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"chalk": "^5.3.0",
|
|
50
50
|
"commander": "^12.0.0",
|
|
51
51
|
"figlet": "^1.7.0",
|
|
52
|
-
"isaacscript-common-node": "^3.0.
|
|
52
|
+
"isaacscript-common-node": "^3.0.1",
|
|
53
53
|
"isaacscript-common-ts": "^16.1.0",
|
|
54
54
|
"jsonc-parser": "^3.2.1",
|
|
55
55
|
"klaw-sync": "^6.0.0",
|