@joripspace/cli 0.8.0 → 0.9.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/LICENSE +21 -21
- package/README.md +320 -317
- package/THIRD_PARTY_NOTICES.md +136 -136
- package/lib/checkpoint-client.js +456 -450
- package/lib/deployment-error.js +14 -14
- package/lib/help.js +1 -1
- package/lib/remote-commands.js +393 -373
- package/lib/start-command.js +8 -6
- package/lib/start.js +49 -15
- package/package.json +48 -48
- package/vendor/core/cli-onboarding.cjs +19 -3
- package/vendor/core/github-source.cjs +98 -0
- package/vendor/core/github-workflow.cjs +213 -210
- package/vendor/core/onboarding.cjs +18 -11
- package/vendor/core/template-publish-workflow.cjs +169 -169
- package/vendor/templates/index.js +104 -104
- package/vendor/templates/templates/basic-worker/files/worker.js +9 -9
- package/vendor/templates/templates/basic-worker/manifest.json +14 -14
- package/vendor/templates/templates/r2-file-api/files/worker.js +42 -42
- package/vendor/templates/templates/r2-file-api/manifest.json +7 -7
package/lib/deployment-error.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
function formatDeploymentFailure(message, details) {
|
|
4
|
-
if (!details || typeof details !== 'object' || !details.deployment_id) return message;
|
|
5
|
-
const lines = [message, `Deployment: ${details.deployment_id}`];
|
|
6
|
-
if (details.error_stage) lines.push(`Stage: ${details.error_stage}`);
|
|
7
|
-
if (details.error_code) lines.push(`Error code: ${details.error_code}`);
|
|
8
|
-
if (details.error_details && details.error_details !== message) {
|
|
9
|
-
lines.push(`Details: ${details.error_details}`);
|
|
10
|
-
}
|
|
11
|
-
return lines.join('\n');
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
module.exports = { formatDeploymentFailure };
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function formatDeploymentFailure(message, details) {
|
|
4
|
+
if (!details || typeof details !== 'object' || !details.deployment_id) return message;
|
|
5
|
+
const lines = [message, `Deployment: ${details.deployment_id}`];
|
|
6
|
+
if (details.error_stage) lines.push(`Stage: ${details.error_stage}`);
|
|
7
|
+
if (details.error_code) lines.push(`Error code: ${details.error_code}`);
|
|
8
|
+
if (details.error_details && details.error_details !== message) {
|
|
9
|
+
lines.push(`Details: ${details.error_details}`);
|
|
10
|
+
}
|
|
11
|
+
return lines.join('\n');
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
module.exports = { formatDeploymentFailure };
|
package/lib/help.js
CHANGED
|
@@ -13,7 +13,7 @@ Usage:
|
|
|
13
13
|
joripspace create --name NAME
|
|
14
14
|
joripspace create --name NAME --agree-noncommercial --agree-billing --agree-retention --json
|
|
15
15
|
joripspace link --project PROJECT --cwd PATH
|
|
16
|
-
joripspace start PROJECT --cwd PATH --json
|
|
16
|
+
joripspace start PROJECT --cwd PATH [--guide-only] --json
|
|
17
17
|
joripspace github prepare --project PROJECT --cwd PATH [--entrypoint worker.js]
|
|
18
18
|
joripspace knowledge search --query "USER_REQUEST"
|
|
19
19
|
joripspace realtime-v2 docs
|