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
|
|
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`
|
package/dist/types/Command.js
CHANGED
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"type": "module",
|
|
17
17
|
"files": ["dist", "LICENSE", "package.json", "README.md"],
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "
|
|
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
|
}
|