@lukoweb/apitogo 0.1.140 → 0.1.141
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 +19 -15
- 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.141",
|
|
5813
5813
|
type: "module",
|
|
5814
5814
|
sideEffects: [
|
|
5815
5815
|
"**/*.css",
|
|
@@ -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) {
|