@reliverse/dler 1.7.76 → 1.7.78
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.
|
@@ -2,7 +2,6 @@ import path from "@reliverse/pathkit";
|
|
|
2
2
|
import fs from "@reliverse/relifso";
|
|
3
3
|
import { relinka } from "@reliverse/relinka";
|
|
4
4
|
import { readPackageJSON } from "pkg-types";
|
|
5
|
-
import { ensureConfigMod } from "./core.js";
|
|
6
5
|
import { DEFAULT_CONFIG_DLER } from "./default.js";
|
|
7
6
|
const CONFIG_FILENAME = ".config/dler.ts";
|
|
8
7
|
export async function ensureDlerConfig(isDev) {
|
|
@@ -28,7 +27,6 @@ export async function ensureDlerConfig(isDev) {
|
|
|
28
27
|
} else {
|
|
29
28
|
relinka("log", "When you're ready, run `bun pub` to build and publish");
|
|
30
29
|
}
|
|
31
|
-
await ensureConfigMod({ tool: "dler", mode: "copy-internal", isDev });
|
|
32
30
|
process.exit(0);
|
|
33
31
|
} catch (error) {
|
|
34
32
|
relinka(
|
|
@@ -173,7 +171,7 @@ function getFilterDepsPatterns(isDev) {
|
|
|
173
171
|
}`;
|
|
174
172
|
}
|
|
175
173
|
function generateConfig(isDev, pkgDescription) {
|
|
176
|
-
const importdefineConfigStatement = isDev ? `import { defineConfig } from "../../../cfg/cfg-impl/cfg-consts";` : `import { defineConfig } from "@reliverse/
|
|
174
|
+
const importdefineConfigStatement = isDev ? `import { defineConfig } from "../../../cfg/cfg-impl/cfg-consts";` : `import { defineConfig } from "@reliverse/cfg";`;
|
|
177
175
|
const verboseValue = getValue(isDev, true, DEFAULT_CONFIG_DLER.commonVerbose);
|
|
178
176
|
const coreIsCLI = getCoreIsCLI(isDev);
|
|
179
177
|
const registryValue = getValue(isDev, "npm-jsr", DEFAULT_CONFIG_DLER.commonPubRegistry);
|