@akanjs/cli 0.0.116 → 0.0.118

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/cjs/index.js CHANGED
@@ -2195,11 +2195,6 @@ var Builder = class {
2195
2195
  platform: this.#pkgJson.esbuild?.platform,
2196
2196
  format,
2197
2197
  outdir: `${this.#distExecutor.cwdPath}/${format}`,
2198
- // outdir: this.#distExecutor.cwdPath,
2199
- // outExtension: { ".js": format === "cjs" ? ".js" : ".esm.js" },
2200
- // format === "cjs"
2201
- // ? { ".js": this.#pkgJson.type === "module" ? ".cjs" : ".js" }
2202
- // : { ".js": this.#pkgJson.type === "module" ? ".js" : ".mjs" },
2203
2198
  logLevel: "error"
2204
2199
  };
2205
2200
  }
@@ -2240,13 +2235,12 @@ var Builder = class {
2240
2235
  require: "./cjs/index.js",
2241
2236
  import: "./esm/index.js",
2242
2237
  types: "./index.d.ts"
2243
- // require: this.#pkgJson.type === "module" ? "./index.cjs" : "./index.js",
2244
- // import: this.#pkgJson.type === "module" ? "./index.js" : "./index.mjs",
2245
2238
  }
2246
2239
  }
2247
2240
  };
2248
2241
  buildResult.outputFiles.map((file) => this.#distExecutor.writeFile(file.path, file.text));
2249
2242
  this.#distExecutor.writeJson("package.json", pkgPackageJson);
2243
+ this.#executor.writeJson("package.json", pkgPackageJson);
2250
2244
  }
2251
2245
  };
2252
2246
 
@@ -2393,9 +2387,9 @@ var import_open = __toESM(require("open"));
2393
2387
  var import_ora2 = __toESM(require("ora"));
2394
2388
  var import_path4 = __toESM(require("path"));
2395
2389
  var vite = __toESM(require("vite"));
2390
+ var import_vite_plugin_commonjs = __toESM(require("vite-plugin-commonjs"));
2396
2391
  var import_vite_plugin_node_polyfills = require("vite-plugin-node-polyfills");
2397
2392
  var import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"));
2398
- var import_vite_plugin_commonjs = __toESM(require("vite-plugin-commonjs"));
2399
2393
 
2400
2394
  // pkgs/@akanjs/cli/src/module/module.prompt.ts
2401
2395
  var frameworkDescription = `