@cluerise/tools 5.0.2 → 5.1.0

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.
@@ -7,8 +7,8 @@
7
7
  "isolatedModules": true,
8
8
  "jsx": "preserve",
9
9
  "lib": ["esnext"],
10
- "module": "esnext",
11
- "moduleResolution": "bundler",
10
+ "module": "nodenext",
11
+ "moduleResolution": "nodenext",
12
12
  "noEmit": true,
13
13
  "noUncheckedIndexedAccess": true,
14
14
  "noUnusedLocals": true,
@@ -315,7 +315,7 @@ class ToolInitializer {
315
315
  async #initCommitlint() {
316
316
  const configName = "commitlint.config";
317
317
  const configPath = `${configName}.ts`;
318
- const configContent = `export { default } from '${this.#configPackage}/${configName}';
318
+ const configContent = `export { default } from '${this.#configPackage}/${configName}.js';
319
319
  `;
320
320
  await FileUtils.createFile(configPath, configContent);
321
321
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cluerise/tools",
3
- "version": "5.0.2",
3
+ "version": "5.1.0",
4
4
  "description": "Tools for maintaining TypeScript projects.",
5
5
  "author": "Branislav Holý <brano@holy.am>",
6
6
  "repository": "github:cluerise/tools",