isaacscript 3.6.39 → 3.6.41

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.
@@ -9,13 +9,13 @@ function main() {
9
9
  // correspond to in-game events.
10
10
  const mod = RegisterMod(MOD_NAME, 1);
11
11
 
12
- // Register a callback function that corresponds to when a new run is started.
13
- mod.AddCallback(ModCallback.POST_GAME_STARTED, postGameStarted);
12
+ // Register a callback function that corresponds to when a new player is initialized.
13
+ mod.AddCallback(ModCallback.POST_PLAYER_INIT, postPlayerInit);
14
14
 
15
15
  // Print a message to the "log.txt" file.
16
16
  Isaac.DebugString(`${MOD_NAME} initialized.`);
17
17
  }
18
18
 
19
- function postGameStarted() {
20
- Isaac.DebugString("Callback fired: POST_GAME_STARTED");
19
+ function postPlayerInit() {
20
+ Isaac.DebugString("Callback fired: POST_PLAYER_INIT");
21
21
  }
@@ -8,6 +8,7 @@
8
8
  "useGitignore": true,
9
9
  "ignorePaths": [
10
10
  "*.anm2",
11
+ "*.ogg",
11
12
  "*.pyc",
12
13
  "*.stb",
13
14
  "*.wav",
@@ -1,5 +1,7 @@
1
1
  // This is the configuration file for ESLint, the TypeScript linter:
2
2
  // https://eslint.org/docs/latest/use/configure/
3
+
4
+ /** @type {import("eslint").Linter.Config} */
3
5
  module.exports = {
4
6
  extends: [
5
7
  // The linter base is the IsaacScript mod config:
@@ -1,5 +1,7 @@
1
1
  // This is the configuration file for ESLint, the TypeScript linter:
2
2
  // https://eslint.org/docs/latest/use/configure/
3
+
4
+ /** @type {import("eslint").Linter.Config} */
3
5
  module.exports = {
4
6
  extends: [
5
7
  // The linter base is the shared IsaacScript config:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript",
3
- "version": "3.6.39",
3
+ "version": "3.6.41",
4
4
  "description": "A command line tool for managing Isaac mods written in TypeScript.",
5
5
  "keywords": [
6
6
  "isaac",
@@ -30,18 +30,18 @@
30
30
  "chalk": "4.1.2",
31
31
  "command-exists": "^1.2.9",
32
32
  "figlet": "^1.5.2",
33
- "glob": "^8.1.0",
33
+ "glob": "^9.2.1",
34
34
  "isaacscript-common-ts": "^10.0.0",
35
35
  "jsonc-parser": "^3.2.0",
36
36
  "klaw-sync": "^6.0.0",
37
37
  "moment": "^2.29.4",
38
- "npm-check-updates": "^16.7.9",
38
+ "npm-check-updates": "^16.7.10",
39
39
  "prompt": "^1.3.0",
40
40
  "source-map": "^0.7.4",
41
41
  "source-map-support": "^0.5.21",
42
- "sync-directory": "^6.0.2",
42
+ "sync-directory": "^6.0.3",
43
43
  "tslib": "^2.5.0",
44
- "typescript-to-lua": "^1.13.1",
44
+ "typescript-to-lua": "^1.13.2",
45
45
  "xml2js": "^0.4.23",
46
46
  "yaml": "^2.2.1",
47
47
  "yargs": "^17.7.1"