@cluerise/tools 5.4.2 → 5.4.4

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.
@@ -1 +1 @@
1
- v25.8.1
1
+ v25.8.2
@@ -409,7 +409,7 @@ var ToolInitializer = class {
409
409
  }
410
410
  async #initVSCode() {
411
411
  const settingsPath = Path.join(".vscode", "settings.json");
412
- await FileUtils.createFile(settingsPath, "{\n \"editor.codeActionsOnSave\": {\n \"source.fixAll.eslint\": \"explicit\"\n },\n \"typescript.tsdk\": \"node_modules/typescript/lib\",\n \"javascript.preferences.importModuleSpecifier\": \"relative\",\n \"javascript.preferences.importModuleSpecifierEnding\": \"js\",\n \"typescript.preferences.importModuleSpecifier\": \"relative\",\n \"typescript.preferences.importModuleSpecifierEnding\": \"js\",\n \"typescript.preferences.preferTypeOnlyAutoImports\": true\n}\n");
412
+ await FileUtils.createFile(settingsPath, "{\n \"editor.codeActionsOnSave\": {\n \"source.fixAll.eslint\": \"explicit\"\n },\n \"js/ts.tsdk.path\": \"node_modules/typescript/lib\",\n \"js/ts.preferences.importModuleSpecifier\": \"relative\",\n \"js/ts.preferences.importModuleSpecifierEnding\": \"js\",\n \"js/ts.preferences.preferTypeOnlyAutoImports\": true\n}\n");
413
413
  }
414
414
  /**
415
415
  * Initialize the specified tool.
@@ -430,10 +430,7 @@ var ToolInitializer = class {
430
430
  case "release": return this.#initRelease();
431
431
  case "typescript": return this.#initTypeScript();
432
432
  case "vscode": return this.#initVSCode();
433
- default: {
434
- const unhandledToolName = toolName;
435
- throw new Error(`Unknown tool name: ${unhandledToolName}`);
436
- }
433
+ default: throw new Error(`Unknown tool name: ${toolName}`);
437
434
  }
438
435
  }
439
436
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cluerise/tools",
3
- "version": "5.4.2",
3
+ "version": "5.4.4",
4
4
  "description": "Tools for maintaining TypeScript projects.",
5
5
  "author": "Branislav Holý <brano@holy.am>",
6
6
  "repository": "github:cluerise/tools",
@@ -18,16 +18,16 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "@actions/core": "3.0.0",
21
- "@commitlint/cli": "20.4.4",
22
- "@commitlint/config-conventional": "20.4.4",
23
- "@commitlint/load": "20.4.4",
24
- "@commitlint/types": "20.4.4",
21
+ "@commitlint/cli": "20.5.0",
22
+ "@commitlint/config-conventional": "20.5.0",
23
+ "@commitlint/load": "20.5.0",
24
+ "@commitlint/types": "20.5.0",
25
25
  "@eslint/js": "9.39.4",
26
- "@eslint/json": "1.1.0",
27
- "@eslint/markdown": "7.5.1",
26
+ "@eslint/json": "1.2.0",
27
+ "@eslint/markdown": "8.0.0",
28
28
  "@html-eslint/eslint-plugin": "0.58.1",
29
29
  "@html-eslint/parser": "0.58.1",
30
- "@typescript-eslint/parser": "8.57.0",
30
+ "@typescript-eslint/parser": "8.57.2",
31
31
  "conventional-changelog-conventionalcommits": "9.3.0",
32
32
  "eslint": "9.39.4",
33
33
  "eslint-config-prettier": "10.1.8",
@@ -35,17 +35,17 @@
35
35
  "eslint-plugin-import": "2.32.0",
36
36
  "eslint-plugin-prettier": "5.5.5",
37
37
  "eslint-plugin-simple-import-sort": "12.1.1",
38
- "eslint-plugin-unicorn": "63.0.0",
38
+ "eslint-plugin-unicorn": "64.0.0",
39
39
  "eslint-plugin-yml": "3.3.1",
40
40
  "glob": "13.0.6",
41
41
  "globals": "17.4.0",
42
- "lint-staged": "16.3.3",
42
+ "lint-staged": "16.4.0",
43
43
  "prettier": "3.8.1",
44
44
  "prettier-plugin-sh": "0.18.0",
45
45
  "semantic-release": "25.0.3",
46
46
  "semver": "7.7.4",
47
- "smol-toml": "1.6.0",
48
- "typescript-eslint": "8.57.0",
47
+ "smol-toml": "1.6.1",
48
+ "typescript-eslint": "8.57.2",
49
49
  "zod": "4.3.6"
50
50
  }
51
51
  }