busa-cli 0.72.0 → 0.81.0
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.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{run-DrcPRlmM.js → run-CGOZ8gfF.js} +6 -5
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { i as checkForUpdate, n as pkgVersion, r as runCli } from "./run-
|
|
2
|
+
import { i as checkForUpdate, n as pkgVersion, r as runCli } from "./run-CGOZ8gfF.js";
|
|
3
3
|
//#region src/flush-stdio.ts
|
|
4
4
|
/**
|
|
5
5
|
* Wait for stdout/stderr to reach the other side before the process is torn down.
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as render, i as checkForUpdate, n as pkgVersion, r as runCli, t as HELP } from "./run-
|
|
1
|
+
import { a as render, i as checkForUpdate, n as pkgVersion, r as runCli, t as HELP } from "./run-CGOZ8gfF.js";
|
|
2
2
|
import { DEFAULT_BASE_URL, createBusabaseClient, normalizeBaseUrl } from "busabase-sdk";
|
|
3
3
|
export { DEFAULT_BASE_URL, HELP, checkForUpdate, createBusabaseClient, normalizeBaseUrl, pkgVersion, render, runCli };
|
|
@@ -29,7 +29,8 @@ const LocaleSchema = z.enum({
|
|
|
29
29
|
"de",
|
|
30
30
|
"fr",
|
|
31
31
|
"es",
|
|
32
|
-
"pt"
|
|
32
|
+
"pt",
|
|
33
|
+
"vi"
|
|
33
34
|
],
|
|
34
35
|
extendLocales: [
|
|
35
36
|
"en",
|
|
@@ -114,7 +115,7 @@ const iStringParse = (str, lang = "en") => {
|
|
|
114
115
|
if (!str) return "";
|
|
115
116
|
if (typeof str === "string") return str;
|
|
116
117
|
const locales = Object.keys(str || {});
|
|
117
|
-
const result = str[locales.
|
|
118
|
+
const result = str[locales.includes(lang) ? lang : locales.includes("en") ? "en" : locales[0] ?? "en"];
|
|
118
119
|
if (result === void 0) console.warn(`iStringParse: ${JSON.stringify(str)} has no '${lang}' or other locales`);
|
|
119
120
|
return result || "";
|
|
120
121
|
};
|
|
@@ -1232,7 +1233,7 @@ const airappNodeType = makeFileTreeNodeType({
|
|
|
1232
1233
|
routeBase: "airapps",
|
|
1233
1234
|
tag: "AirApps",
|
|
1234
1235
|
entryFile: "package.json",
|
|
1235
|
-
publicAccess: "
|
|
1236
|
+
publicAccess: "runtime"
|
|
1236
1237
|
});
|
|
1237
1238
|
//#endregion
|
|
1238
1239
|
//#region ../../packages/busabase-contract/src/domains/base/definition.ts
|
|
@@ -11852,8 +11853,8 @@ const PROCEDURE_PERMISSION_POLICY = {
|
|
|
11852
11853
|
"assets.download": node("read"),
|
|
11853
11854
|
"assets.readTextLines": node("read"),
|
|
11854
11855
|
"install.planFromGithub": workspace("read"),
|
|
11855
|
-
"install.fromGithub": workspace("
|
|
11856
|
-
"install.fromGithubStream": workspace("
|
|
11856
|
+
"install.fromGithub": workspace("write"),
|
|
11857
|
+
"install.fromGithubStream": workspace("write"),
|
|
11857
11858
|
"templates.list": workspace("read"),
|
|
11858
11859
|
"guides.list": workspace("read"),
|
|
11859
11860
|
"guides.read": workspace("read"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "busa-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.81.0",
|
|
4
4
|
"description": "Command-line client for the Busabase OpenAPI REST API. Talks to a local or remote `busabase server`. Short-name alias for busabase-cli.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/busabase/busabase/tree/main/apps/busabase-cli",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@zip.js/zip.js": "^2.8.20",
|
|
35
35
|
"busabase-package": "workspace:*",
|
|
36
|
-
"busabase-sdk": "0.
|
|
36
|
+
"busabase-sdk": "0.81.0",
|
|
37
37
|
"commander": "^14.0.0",
|
|
38
38
|
"qrcode": "^1.5.4",
|
|
39
39
|
"tar-stream": "^3.1.7",
|