@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.
- package/index.js +3 -4
- 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:
|
|
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 =
|
|
3275
|
-
|
|
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`,
|