isaacscript 3.17.0 → 3.17.2

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.
@@ -61,8 +61,6 @@ function copyTemplateDirectoryWithoutOverwriting(templateDirPath, projectPath) {
61
61
  }
62
62
  /** Copy files that need to have text replaced inside of them. */
63
63
  function copyDynamicFiles(projectName, authorName, projectPath, packageManager, dev, typeScript) {
64
- const workflowsPath = path.join(projectPath, ".github", "workflows");
65
- makeDirectory(workflowsPath);
66
64
  // `.github/workflows/setup/action.yml`
67
65
  {
68
66
  const fileName = ACTION_YML;
@@ -75,7 +73,9 @@ function copyDynamicFiles(projectName, authorName, projectPath, packageManager,
75
73
  .replaceAll("PACKAGE_MANAGER_NAME", packageManager)
76
74
  .replaceAll("PACKAGE_MANAGER_LOCK_FILE_NAME", lockFileName)
77
75
  .replaceAll("PACKAGE_MANAGER_INSTALL_COMMAND", installCommand);
78
- const destinationPath = path.join(workflowsPath, fileName);
76
+ const setupPath = path.join(projectPath, ".github", "workflows", "setup");
77
+ makeDirectory(setupPath);
78
+ const destinationPath = path.join(setupPath, fileName);
79
79
  writeFile(destinationPath, actionYML);
80
80
  }
81
81
  // `.gitignore`
@@ -1,4 +1,4 @@
1
1
  export const DEFAULT_COMMAND = "monitor";
2
2
  export function isIsaacScriptModCommand(command) {
3
- return !command.endsWith("-ts");
3
+ return !command.endsWith("-ts") && command !== "update" && command !== "nuke";
4
4
  }
@@ -16,11 +16,11 @@
16
16
  "type": "module",
17
17
  "files": ["dist", "LICENSE", "package.json", "README.md"],
18
18
  "scripts": {
19
- "build": "rimraf dist && tsc",
19
+ "build": "tsx ./scripts/build.ts",
20
20
  "lint": "tsx ./scripts/lint.ts",
21
21
  "nuke": "isaacscript nuke",
22
22
  "publish": "isaacscript publish-ts",
23
- "start": "PACKAGE_MANAGER run build && node dist/main.js",
23
+ "start": "PACKAGE_MANAGER run build && node ./dist/main.js",
24
24
  "update": "isaacscript update"
25
25
  },
26
26
  "devDependencies": {
@@ -28,7 +28,6 @@
28
28
  "isaacscript": "^0.0.1",
29
29
  "isaacscript-lint": "^0.0.1",
30
30
  "isaacscript-tsconfig": "^0.0.1",
31
- "rimraf": "^0.0.1",
32
31
  "typescript": "^0.0.1"
33
32
  }
34
33
  }
@@ -0,0 +1,5 @@
1
+ import { $s, buildScript } from "isaacscript-common-node";
2
+
3
+ await buildScript(() => {
4
+ $s`tsc`;
5
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript",
3
- "version": "3.17.0",
3
+ "version": "3.17.2",
4
4
  "description": "A command line tool for managing Isaac mods written in TypeScript.",
5
5
  "keywords": [
6
6
  "isaac",