@donezone/cli 0.1.30 → 0.1.32

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/dist/index.js +7 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -42855,17 +42855,20 @@ function getEmbeddedBunRuntime() {
42855
42855
  return bun;
42856
42856
  }
42857
42857
  async function runBunCliBuild(entryPath, outFilePath) {
42858
+ const outDir = path.dirname(outFilePath);
42859
+ const outFileName = path.basename(outFilePath);
42858
42860
  const args = [
42859
42861
  "build",
42860
42862
  entryPath,
42861
- "--outfile",
42862
- outFilePath,
42863
+ "--outdir",
42864
+ outDir,
42865
+ "--entry-naming",
42866
+ outFileName,
42863
42867
  "--target",
42864
42868
  "bun",
42865
42869
  "--format",
42866
42870
  "esm",
42867
- "--sourcemap",
42868
- "none",
42871
+ "--sourcemap=none",
42869
42872
  "--define",
42870
42873
  'process.env.NODE_ENV="production"'
42871
42874
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@donezone/cli",
3
- "version": "0.1.30",
3
+ "version": "0.1.32",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {