@amerged/ohmyhost-cli 0.1.35 → 0.1.36
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/README.md +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-ZQSLRNH6.js → chunk-LU7ONYZG.js} +5 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/apps/product-cli/package.json +1 -1
- package/src/packages/contracts/src/operation-failure.ts +4 -0
- package/src/packages/sdk-ts/package.json +1 -1
- package/src/packages/sdk-ts/src/generated/types.gen.ts +1 -0
package/README.md
CHANGED
package/dist/bin.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __ohmyhostCreateRequire } from "node:module"; const require = __ohmyhostCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
runProductionCli
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LU7ONYZG.js";
|
|
6
6
|
import "./chunk-7D2RFLWM.js";
|
|
7
7
|
|
|
8
8
|
// apps/product-cli/dist/bin.js
|
|
@@ -35195,6 +35195,10 @@ var failures = {
|
|
|
35195
35195
|
"The organization does not have sufficient available credits for this operation.",
|
|
35196
35196
|
"Ask the organization owner to top up credits, then create a new deployment plan. Preserve existing data; do not buy a second subscription or repeatedly reconcile this terminal operation."
|
|
35197
35197
|
],
|
|
35198
|
+
project_budget_exceeded: [
|
|
35199
|
+
"The project's Stop budget prevents this deployment.",
|
|
35200
|
+
"This project's Stop budget for the current UTC month was reached; no build started. Read 'ohmyhost budget get --project ULID --json'. Ask the organization Owner to change the limit or mode only if they want to allow more spending; otherwise wait for the next UTC month. Then plan and deploy again or send a new push. Replaying this terminal operation cannot start a build."
|
|
35201
|
+
],
|
|
35198
35202
|
paid_plan_required: [
|
|
35199
35203
|
"Transactional mail requires an active Paid plan for this organization.",
|
|
35200
35204
|
"Ask the organization Owner to activate Paid through billing checkout; top-ups and signup credits do not activate it. Then plan the same deployment or promotion again. If the app should send no mail, instead set mail.enabled to false in ohmyhost.yaml, save or push the corrected version and plan its commit. Replaying this operation cannot enable mail. Do not reset the database."
|
|
@@ -40666,7 +40670,7 @@ function exact3(v, keys) {
|
|
|
40666
40670
|
// apps/product-cli/package.json
|
|
40667
40671
|
var package_default = {
|
|
40668
40672
|
name: "@ohmyhost/product-cli",
|
|
40669
|
-
version: "0.1.
|
|
40673
|
+
version: "0.1.36",
|
|
40670
40674
|
private: true,
|
|
40671
40675
|
ohmyhost: {
|
|
40672
40676
|
deployment: "production",
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -90,6 +90,10 @@ const failures = {
|
|
|
90
90
|
"The organization does not have sufficient available credits for this operation.",
|
|
91
91
|
"Ask the organization owner to top up credits, then create a new deployment plan. Preserve existing data; do not buy a second subscription or repeatedly reconcile this terminal operation.",
|
|
92
92
|
],
|
|
93
|
+
project_budget_exceeded: [
|
|
94
|
+
"The project's Stop budget prevents this deployment.",
|
|
95
|
+
"This project's Stop budget for the current UTC month was reached; no build started. Read 'ohmyhost budget get --project ULID --json'. Ask the organization Owner to change the limit or mode only if they want to allow more spending; otherwise wait for the next UTC month. Then plan and deploy again or send a new push. Replaying this terminal operation cannot start a build.",
|
|
96
|
+
],
|
|
93
97
|
paid_plan_required: [
|
|
94
98
|
"Transactional mail requires an active Paid plan for this organization.",
|
|
95
99
|
"Ask the organization Owner to activate Paid through billing checkout; top-ups and signup credits do not activate it. Then plan the same deployment or promotion again. If the app should send no mail, instead set mail.enabled to false in ohmyhost.yaml, save or push the corrected version and plan its commit. Replaying this operation cannot enable mail. Do not reset the database.",
|
|
@@ -1485,6 +1485,7 @@ export type OperationFailure = {
|
|
|
1485
1485
|
| "database_compute_rejected"
|
|
1486
1486
|
| "database_migration_failed"
|
|
1487
1487
|
| "insufficient_organization_credits"
|
|
1488
|
+
| "project_budget_exceeded"
|
|
1488
1489
|
| "paid_plan_required"
|
|
1489
1490
|
| "runtime_candidate_failed"
|
|
1490
1491
|
| "runtime_candidate_rejected"
|