@frontman-ai/nextjs 0.1.0 → 0.1.1
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.js +7 -7
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -777,13 +777,6 @@ function getInstallArgs(pm, isDevOpt) {
|
|
|
777
777
|
|
|
778
778
|
// src/cli/FrontmanNextjs__Cli__Install.res.mjs
|
|
779
779
|
async function installDependencies(projectDir, packageManager, dryRun) {
|
|
780
|
-
if (dryRun) {
|
|
781
|
-
console.log("Would install: @frontman-ai/nextjs @opentelemetry/sdk-node");
|
|
782
|
-
return {
|
|
783
|
-
TAG: "Ok",
|
|
784
|
-
_0: void 0
|
|
785
|
-
};
|
|
786
|
-
}
|
|
787
780
|
let pm = getPackageManagerCommand(packageManager);
|
|
788
781
|
let args = getInstallArgs(packageManager);
|
|
789
782
|
let packages = [
|
|
@@ -791,6 +784,13 @@ async function installDependencies(projectDir, packageManager, dryRun) {
|
|
|
791
784
|
"@opentelemetry/sdk-node"
|
|
792
785
|
];
|
|
793
786
|
let cmd = pm + ` ` + args.join(" ") + ` ` + packages.join(" ");
|
|
787
|
+
if (dryRun) {
|
|
788
|
+
console.log(`Would run: ` + cmd);
|
|
789
|
+
return {
|
|
790
|
+
TAG: "Ok",
|
|
791
|
+
_0: void 0
|
|
792
|
+
};
|
|
793
|
+
}
|
|
794
794
|
console.log(`Installing dependencies with ` + pm + `...`);
|
|
795
795
|
let err = await execWithOptions(cmd, {
|
|
796
796
|
cwd: projectDir
|