isaacscript 2.0.0 → 2.0.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.
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "A command line tool for managing Isaac mods written in TypeScript",
|
|
5
5
|
"homepage": "https://isaacscript.github.io/",
|
|
6
6
|
"bugs": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"typescript": "^4.6.4",
|
|
35
35
|
"typescript-to-lua": "^1.4.4",
|
|
36
36
|
"update-notifier": "^5.1.0",
|
|
37
|
-
"yaml": "^2.0
|
|
37
|
+
"yaml": "^2.1.0",
|
|
38
38
|
"yargs": "^17.5.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ModCallback } from "isaac-typescript-definitions";
|
|
2
|
+
|
|
1
3
|
const MOD_NAME = "MOD-NAME-TO-REPLACE";
|
|
2
4
|
|
|
3
5
|
export function main(): void {
|
|
@@ -6,7 +8,7 @@ export function main(): void {
|
|
|
6
8
|
const mod = RegisterMod(MOD_NAME, 1);
|
|
7
9
|
|
|
8
10
|
// Set a callback function that corresponds to when a new run is started.
|
|
9
|
-
mod.AddCallback(
|
|
11
|
+
mod.AddCallback(ModCallback.POST_GAME_STARTED, postGameStarted);
|
|
10
12
|
|
|
11
13
|
// Print an initialization message to the "log.txt" file.
|
|
12
14
|
Isaac.DebugString(`${MOD_NAME} initialized.`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "A command line tool for managing Isaac mods written in TypeScript",
|
|
5
5
|
"homepage": "https://isaacscript.github.io/",
|
|
6
6
|
"bugs": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"typescript": "^4.6.4",
|
|
35
35
|
"typescript-to-lua": "^1.4.4",
|
|
36
36
|
"update-notifier": "^5.1.0",
|
|
37
|
-
"yaml": "^2.0
|
|
37
|
+
"yaml": "^2.1.0",
|
|
38
38
|
"yargs": "^17.5.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|