@reliverse/dler 1.3.3 → 1.3.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.
Files changed (2) hide show
  1. package/bin/init.js +6 -6
  2. package/package.json +1 -1
package/bin/init.js CHANGED
@@ -37,13 +37,13 @@ export async function ensureDlerConfig(isDev) {
37
37
  }
38
38
  }
39
39
  function getCoreIsCLI(isDev) {
40
- return isDev ? `{
40
+ return isDev ? `coreIsCLI: {
41
41
  enabled: true,
42
42
  scripts: { dler: "dler.ts" },
43
- }` : `// {
44
- // enabled: false,
45
- // scripts: { mycli: "mycli.ts" },
46
- // }`;
43
+ },` : `// coreIsCLI: {
44
+ // enabled: false,
45
+ // scripts: { mycli: "mycli.ts" },
46
+ // },`;
47
47
  }
48
48
  function generateConfig(isDev, pkgDescription) {
49
49
  const importDefineConfigStatement = isDev ? `import { defineConfig } from "./mod.js";` : `import { defineConfig } from "@reliverse/dler";`;
@@ -115,7 +115,7 @@ export default defineConfig({
115
115
  coreEntryFile: "${DEFAULT_CONFIG.coreEntryFile}",
116
116
  coreEntrySrcDir: "${DEFAULT_CONFIG.coreEntrySrcDir}",
117
117
  coreBuildOutDir: "${DEFAULT_CONFIG.coreBuildOutDir}",
118
- coreIsCLI: ${coreIsCLI},
118
+ ${coreIsCLI}
119
119
 
120
120
  // JSR-only config
121
121
  distJsrAllowDirty: ${DEFAULT_CONFIG.distJsrAllowDirty},
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "license": "MIT",
43
43
  "name": "@reliverse/dler",
44
44
  "type": "module",
45
- "version": "1.3.3",
45
+ "version": "1.3.4",
46
46
  "keywords": [
47
47
  "reliverse",
48
48
  "cli",