@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": "
|
|
11
|
-
"moduleResolution": "
|
|
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
|
}
|