@reliverse/dler 1.3.2 → 1.3.3
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.
|
@@ -69,8 +69,8 @@ export async function typesBuild(ctx) {
|
|
|
69
69
|
declaration: entry.declaration ? {
|
|
70
70
|
contents: generateTypes(schema, {
|
|
71
71
|
interfaceName: pascalCase(`${entry.name}-schema`)
|
|
72
|
-
// addDefaults: true, // TODO: Add JSDoc default values (allow to configure via
|
|
73
|
-
// addDescription: true, // TODO: Add JSDoc descriptions (allow to configure via
|
|
72
|
+
// addDefaults: true, // TODO: Add JSDoc default values (allow to configure via .config/dler.ts)
|
|
73
|
+
// addDescription: true, // TODO: Add JSDoc descriptions (allow to configure via .config/dler.ts)
|
|
74
74
|
}),
|
|
75
75
|
fileName: `${entry.name}.d.ts`
|
|
76
76
|
} : void 0,
|
|
@@ -70,11 +70,14 @@ export async function setBumpDisabled(value, commonPubPause) {
|
|
|
70
70
|
if (commonPubPause && value) {
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
|
-
const dlerCfgTs = path.join(PROJECT_ROOT, "dler.
|
|
74
|
-
const dlerCfgJs = path.join(PROJECT_ROOT, "dler.
|
|
73
|
+
const dlerCfgTs = path.join(PROJECT_ROOT, ".config/dler.ts");
|
|
74
|
+
const dlerCfgJs = path.join(PROJECT_ROOT, ".config/dler.js");
|
|
75
75
|
const dlerCfgPath = await fs.pathExists(dlerCfgTs) ? dlerCfgTs : dlerCfgJs;
|
|
76
76
|
if (!await fs.pathExists(dlerCfgPath)) {
|
|
77
|
-
relinka(
|
|
77
|
+
relinka(
|
|
78
|
+
"log",
|
|
79
|
+
"No .config/dler.ts or .config/dler.js found to update bumpDisable"
|
|
80
|
+
);
|
|
78
81
|
return;
|
|
79
82
|
}
|
|
80
83
|
let content = await readFileSafe(dlerCfgPath, "", "bumpDisable update");
|