@lukoweb/apitogo 0.1.140 → 0.1.142
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/cli.js +27 -23
- package/package.json +1 -1
package/dist/cli/cli.js
CHANGED
|
@@ -5809,7 +5809,7 @@ import {
|
|
|
5809
5809
|
// package.json
|
|
5810
5810
|
var package_default = {
|
|
5811
5811
|
name: "@lukoweb/apitogo",
|
|
5812
|
-
version: "0.1.
|
|
5812
|
+
version: "0.1.142",
|
|
5813
5813
|
type: "module",
|
|
5814
5814
|
sideEffects: [
|
|
5815
5815
|
"**/*.css",
|
|
@@ -11776,7 +11776,7 @@ function createDefaultApitogoJsonConfig(options) {
|
|
|
11776
11776
|
priceAmount: 0,
|
|
11777
11777
|
billingPeriod: "month",
|
|
11778
11778
|
limits: {
|
|
11779
|
-
rateLimit: { calls:
|
|
11779
|
+
rateLimit: { calls: 1, renewalPeriodSeconds: 60 },
|
|
11780
11780
|
quota: { calls: 1e3, renewalPeriodDays: 30 }
|
|
11781
11781
|
}
|
|
11782
11782
|
},
|
|
@@ -11786,8 +11786,8 @@ function createDefaultApitogoJsonConfig(options) {
|
|
|
11786
11786
|
priceAmount: 19,
|
|
11787
11787
|
billingPeriod: "month",
|
|
11788
11788
|
limits: {
|
|
11789
|
-
rateLimit: { calls:
|
|
11790
|
-
quota: { calls:
|
|
11789
|
+
rateLimit: { calls: 2, renewalPeriodSeconds: 60 },
|
|
11790
|
+
quota: { calls: 5e3, renewalPeriodDays: 30 }
|
|
11791
11791
|
}
|
|
11792
11792
|
},
|
|
11793
11793
|
{
|
|
@@ -11796,16 +11796,16 @@ function createDefaultApitogoJsonConfig(options) {
|
|
|
11796
11796
|
priceAmount: 79,
|
|
11797
11797
|
billingPeriod: "month",
|
|
11798
11798
|
limits: {
|
|
11799
|
-
rateLimit: { calls:
|
|
11800
|
-
quota: { calls:
|
|
11799
|
+
rateLimit: { calls: 3, renewalPeriodSeconds: 60 },
|
|
11800
|
+
quota: { calls: 1e4, renewalPeriodDays: 30 }
|
|
11801
11801
|
}
|
|
11802
11802
|
},
|
|
11803
11803
|
{
|
|
11804
11804
|
sku: "enterprise",
|
|
11805
11805
|
displayName: "Enterprise",
|
|
11806
|
-
|
|
11807
|
-
|
|
11808
|
-
|
|
11806
|
+
pricingModel: "custom",
|
|
11807
|
+
priceLabel: "Let's talk",
|
|
11808
|
+
billingPeriod: "month"
|
|
11809
11809
|
}
|
|
11810
11810
|
]
|
|
11811
11811
|
}
|
|
@@ -19048,20 +19048,6 @@ async function isBackendDeploymentHealthy(client, projectId) {
|
|
|
19048
19048
|
return summary.lastDeploymentStatus?.toLowerCase() === "healthy";
|
|
19049
19049
|
}
|
|
19050
19050
|
|
|
19051
|
-
// src/cli/platform/helpers/project-name.ts
|
|
19052
|
-
function normalizeProjectName(name) {
|
|
19053
|
-
return name.trim().split(/\s+/).filter(Boolean).join(" ").toLowerCase();
|
|
19054
|
-
}
|
|
19055
|
-
function findProjectByNormalizedName(projects, name) {
|
|
19056
|
-
const needle = normalizeProjectName(name);
|
|
19057
|
-
if (!needle) {
|
|
19058
|
-
return void 0;
|
|
19059
|
-
}
|
|
19060
|
-
return projects.find(
|
|
19061
|
-
(project) => normalizeProjectName(project.name) === needle
|
|
19062
|
-
);
|
|
19063
|
-
}
|
|
19064
|
-
|
|
19065
19051
|
// src/cli/platform/helpers/platform-plan.ts
|
|
19066
19052
|
var UNSELECTED_TIER = "unselected";
|
|
19067
19053
|
var FREE_TIER = "free";
|
|
@@ -19112,6 +19098,20 @@ async function waitForPlatformPlan(client, projectId, options) {
|
|
|
19112
19098
|
return { status: "succeeded", subscription, timedOut: false };
|
|
19113
19099
|
}
|
|
19114
19100
|
|
|
19101
|
+
// src/cli/platform/helpers/project-name.ts
|
|
19102
|
+
function normalizeProjectName(name) {
|
|
19103
|
+
return name.trim().split(/\s+/).filter(Boolean).join(" ").toLowerCase();
|
|
19104
|
+
}
|
|
19105
|
+
function findProjectByNormalizedName(projects, name) {
|
|
19106
|
+
const needle = normalizeProjectName(name);
|
|
19107
|
+
if (!needle) {
|
|
19108
|
+
return void 0;
|
|
19109
|
+
}
|
|
19110
|
+
return projects.find(
|
|
19111
|
+
(project) => normalizeProjectName(project.name) === needle
|
|
19112
|
+
);
|
|
19113
|
+
}
|
|
19114
|
+
|
|
19115
19115
|
// src/cli/platform/helpers/free-projects-quota.ts
|
|
19116
19116
|
function freeProjectsQuotaFromTenant(tenant) {
|
|
19117
19117
|
if (typeof tenant.freeProjectsAllowance !== "number" || typeof tenant.freeProjectsUsed !== "number" || typeof tenant.freeProjectsRemaining !== "number") {
|
|
@@ -22427,6 +22427,10 @@ async function apply(argv) {
|
|
|
22427
22427
|
}
|
|
22428
22428
|
);
|
|
22429
22429
|
if (resolved) {
|
|
22430
|
+
if (blockedProjectId) {
|
|
22431
|
+
effectiveProjectId = blockedProjectId;
|
|
22432
|
+
createNewProject = false;
|
|
22433
|
+
}
|
|
22430
22434
|
try {
|
|
22431
22435
|
result = await runOnce(void 0);
|
|
22432
22436
|
} catch (error) {
|