@solcreek/cli 0.4.0 → 0.4.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/commands/deploy.js +5 -0
- package/package.json +2 -2
package/dist/commands/deploy.js
CHANGED
|
@@ -735,6 +735,7 @@ async function deployAuthenticated(cwd, resolved, token, skipBuild, jsonMode = f
|
|
|
735
735
|
"nodejs_compat",
|
|
736
736
|
...resolved.compatibilityFlags.filter((f) => f !== "nodejs_compat"),
|
|
737
737
|
] }),
|
|
738
|
+
...(resolved.cron.length > 0 ? { cron: resolved.cron } : {}),
|
|
738
739
|
};
|
|
739
740
|
await client.uploadDeploymentBundle(project.id, deployment.id, bundle);
|
|
740
741
|
// Poll for async deploy progress
|
|
@@ -770,6 +771,7 @@ async function deployAuthenticated(cwd, resolved, token, skipBuild, jsonMode = f
|
|
|
770
771
|
deploymentId: deployment.id,
|
|
771
772
|
project: project.slug,
|
|
772
773
|
mode: "production",
|
|
774
|
+
...(resolved.cron.length > 0 ? { cron: resolved.cron } : {}),
|
|
773
775
|
}, 0, [
|
|
774
776
|
{ command: `creek status`, description: "Check deployment status" },
|
|
775
777
|
{ command: `creek deployments --project ${project.slug}`, description: "View deployment history" },
|
|
@@ -780,6 +782,9 @@ async function deployAuthenticated(cwd, resolved, token, skipBuild, jsonMode = f
|
|
|
780
782
|
if (res.url && res.previewUrl) {
|
|
781
783
|
consola.info(` Preview: ${res.previewUrl}`);
|
|
782
784
|
}
|
|
785
|
+
if (resolved.cron.length > 0) {
|
|
786
|
+
consola.info(` Cron: ${resolved.cron.join(", ")}`);
|
|
787
|
+
}
|
|
783
788
|
// Contextual next-step hints (non-JSON only)
|
|
784
789
|
if (!jsonMode) {
|
|
785
790
|
printNextStepHint(renderMode, resolved);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solcreek/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "CLI for the Creek deployment platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"directory": "packages/cli"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@solcreek/sdk": "
|
|
35
|
+
"@solcreek/sdk": "workspace:*",
|
|
36
36
|
"ajv": "^8.17.1",
|
|
37
37
|
"citty": "^0.1.6",
|
|
38
38
|
"consola": "^3.4.2",
|