@akanjs/cli 0.0.83 → 0.0.84

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/index.js +3 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3266,14 +3266,13 @@ var ApplicationRunner = class {
3266
3266
  packages: "external",
3267
3267
  platform: "node",
3268
3268
  format: "cjs",
3269
- write: true,
3269
+ write: false,
3270
3270
  logLevel: "warning",
3271
3271
  footer: { js: "module.exports = module.exports.default;" }
3272
3272
  });
3273
3273
  const rootPackageJson = app.workspace.readJson("package.json");
3274
- const dependencies = buildResult.outputFiles ? extractDependencies(buildResult.outputFiles, rootPackageJson, ["next", "react", "react-dom"]) : {};
3275
- if (buildResult.outputFiles)
3276
- buildResult.outputFiles.map((file) => distApp.writeFile(file.path, file.text));
3274
+ const dependencies = extractDependencies(buildResult.outputFiles, rootPackageJson, ["next", "react", "react-dom"]);
3275
+ buildResult.outputFiles.map((file) => distApp.writeFile(file.path, file.text));
3277
3276
  const appPackageJson = {
3278
3277
  name: `${app.name}/frontend`,
3279
3278
  description: `${app.name} frontend`,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "@akanjs/cli",
4
- "version": "0.0.83",
4
+ "version": "0.0.84",
5
5
  "bin": {
6
6
  "akan": "index.js"
7
7
  },