betterstart-cli 0.0.47 → 0.0.48
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 +4 -12
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -24985,21 +24985,13 @@ async function runVercelDeployFlow(options) {
|
|
|
24985
24985
|
const envSpinner = spinner2();
|
|
24986
24986
|
envSpinner.start("Syncing environment variables to Vercel");
|
|
24987
24987
|
const sync = await syncVercelProductionEnv(runner, options.cwd, env);
|
|
24988
|
-
|
|
24989
|
-
envSpinner.stop(
|
|
24990
|
-
`Synced ${sync.synced.length} environment variable${sync.synced.length === 1 ? "" : "s"} to Vercel`
|
|
24991
|
-
);
|
|
24992
|
-
} else {
|
|
24993
|
-
envSpinner.clear();
|
|
24994
|
-
}
|
|
24988
|
+
envSpinner.clear();
|
|
24995
24989
|
for (const key of sync.failed) {
|
|
24996
24990
|
p17.log.warn(
|
|
24997
24991
|
`Could not set ${pc6.cyan(key)} on Vercel \u2014 add it in the project's environment settings.`
|
|
24998
24992
|
);
|
|
24999
24993
|
}
|
|
25000
|
-
|
|
25001
|
-
p17.log.success(`Created ${pc6.cyan("vercel.json")} with the Next.js framework preset`);
|
|
25002
|
-
}
|
|
24994
|
+
ensureVercelJsonFramework(options.cwd);
|
|
25003
24995
|
const packageGuard = guardProjectForDeploy(options.cwd);
|
|
25004
24996
|
for (const dep of packageGuard.localSpecDeps) {
|
|
25005
24997
|
p17.log.warn(
|
|
@@ -25007,7 +24999,7 @@ async function runVercelDeployFlow(options) {
|
|
|
25007
24999
|
);
|
|
25008
25000
|
}
|
|
25009
25001
|
const deploySpinner = spinner2();
|
|
25010
|
-
deploySpinner.start("Deploying to Vercel
|
|
25002
|
+
deploySpinner.start("Deploying to Vercel, This may take a moment");
|
|
25011
25003
|
let deploy;
|
|
25012
25004
|
try {
|
|
25013
25005
|
deploy = await deployVercelProject(runner, options.cwd, env);
|
|
@@ -25877,7 +25869,7 @@ async function runInitCommand(name, options) {
|
|
|
25877
25869
|
}
|
|
25878
25870
|
const coreDependencyPlan = getDependencyPlan([], [], project2.linter.type === "none");
|
|
25879
25871
|
const cliDependencyPlan = getCliDependencySyncPlan(cwd);
|
|
25880
|
-
s.start("Installing dependencies
|
|
25872
|
+
s.start("Installing dependencies, This may take a moment");
|
|
25881
25873
|
const depsResult = await installDependenciesAsync({
|
|
25882
25874
|
cwd,
|
|
25883
25875
|
pm,
|