@schnebel-crm/cli 0.1.7 → 0.1.8
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.
- package/dist/cli.mjs +5 -4
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -244,8 +244,7 @@ dist/
|
|
|
244
244
|
const DEFAULTS = {
|
|
245
245
|
entry: "./src/index.ts",
|
|
246
246
|
outDir: "./dist",
|
|
247
|
-
github: ""
|
|
248
|
-
external: []
|
|
247
|
+
github: ""
|
|
249
248
|
};
|
|
250
249
|
async function loadConfig(cwd) {
|
|
251
250
|
const configPath = resolve(cwd, "schnebel.config.ts");
|
|
@@ -300,7 +299,8 @@ const buildCommand = new Command("build").description("Build the integration int
|
|
|
300
299
|
platform: "node",
|
|
301
300
|
target: "node20",
|
|
302
301
|
outfile: outFile,
|
|
303
|
-
external: ["@schnebel-crm/integration-sdk"
|
|
302
|
+
external: ["@schnebel-crm/integration-sdk"],
|
|
303
|
+
banner: { js: "import { createRequire } from 'module'; const require = createRequire(import.meta.url);" },
|
|
304
304
|
minify: false,
|
|
305
305
|
sourcemap: false
|
|
306
306
|
});
|
|
@@ -616,7 +616,8 @@ const devCommand = new Command("dev").description("Watch and validate the integr
|
|
|
616
616
|
platform: "node",
|
|
617
617
|
target: "node20",
|
|
618
618
|
outfile: `${outDir}/index.mjs`,
|
|
619
|
-
external: ["@schnebel-crm/integration-sdk"
|
|
619
|
+
external: ["@schnebel-crm/integration-sdk"],
|
|
620
|
+
banner: { js: "import { createRequire } from 'module'; const require = createRequire(import.meta.url);" },
|
|
620
621
|
logLevel: "info"
|
|
621
622
|
})).watch();
|
|
622
623
|
log.success("Watching for changes...");
|