isaacscript 3.26.1 → 3.28.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.
@@ -6,7 +6,7 @@ await lintScript(async () => {
6
6
  promises.push(
7
7
  // Use Prettier to check formatting.
8
8
  // - "--log-level=warn" makes it only output errors.
9
- $`npx prettier --log-level=warn --check .`,
9
+ $`prettier --log-level=warn --check .`,
10
10
 
11
11
  // Type-check the code using the TypeScript compiler.
12
12
  $`tsc --noEmit`,
@@ -17,14 +17,14 @@ await lintScript(async () => {
17
17
 
18
18
  // Check for unused exports.
19
19
  // - "--error" makes it return an error code of 1 if unused exports are found.
20
- $`npx ts-prune --error`,
20
+ $`ts-prune --error`,
21
21
 
22
22
  // Spell check every file using CSpell.
23
23
  // - "--no-progress" and "--no-summary" make it only output errors.
24
- $`npx cspell --no-progress --no-summary .`,
24
+ $`cspell --no-progress --no-summary .`,
25
25
 
26
26
  // Check for unused CSpell words.
27
- $`npx cspell-check-unused-words`,
27
+ $`cspell-check-unused-words`,
28
28
  );
29
29
 
30
30
  if (commandExists("python")) {
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
3
3
  "version": "0.2",
4
+ "import": ["@cspell/cspell-bundled-dicts"],
4
5
  "files": ["**"],
5
6
  "enableFiletypes": ["*"],
6
7
  "enableGlobDot": true,
@@ -6,7 +6,7 @@ await lintScript(async () => {
6
6
  promises.push(
7
7
  // Use Prettier to check formatting.
8
8
  // - "--log-level=warn" makes it only output errors.
9
- $`npx prettier --log-level=warn --check .`,
9
+ $`prettier --log-level=warn --check .`,
10
10
 
11
11
  // Type-check the code using the TypeScript compiler.
12
12
  $`tsc --noEmit`,
@@ -16,14 +16,14 @@ await lintScript(async () => {
16
16
  $`eslint --max-warnings 0 .`,
17
17
 
18
18
  // Check for unused files, dependencies, and exports.
19
- $`npx knip`,
19
+ $`knip`,
20
20
 
21
21
  // Spell check every file using CSpell.
22
22
  // - "--no-progress" and "--no-summary" make it only output errors.
23
- $`npx cspell --no-progress --no-summary .`,
23
+ $`cspell --no-progress --no-summary .`,
24
24
 
25
25
  // Check for unused CSpell words.
26
- $`npx cspell-check-unused-words`,
26
+ $`cspell-check-unused-words`,
27
27
  );
28
28
 
29
29
  await Promise.all(promises);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript",
3
- "version": "3.26.1",
3
+ "version": "3.28.0",
4
4
  "description": "A command line tool for managing Isaac mods written in TypeScript.",
5
5
  "keywords": [
6
6
  "isaac",