@supacloud/cli 0.12.4 → 0.13.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/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8583,7 +8583,7 @@ Actions: routes, upsert_route, update_route, delete_route, config, get_certifica
|
|
|
8583
8583
|
ref: optional(Type.String(), projectRef ? "可选:覆盖自动关联的项目 ref" : "项目 ref"),
|
|
8584
8584
|
route_id: optional(Type.String(), "[upsert_route/update_route/delete_route] 路由 ID(字母/数字/_/-,1-64)"),
|
|
8585
8585
|
hosts: withDescription(stringArray, "[upsert_route/update_route] 主机名列表,逗号分隔或 JSON 数组(1-20)"),
|
|
8586
|
-
paths: withDescription(stringArray, "[upsert_route/update_route] 路径列表,逗号分隔或 JSON 数组(1-
|
|
8586
|
+
paths: withDescription(stringArray, "[upsert_route/update_route] 路径列表,逗号分隔或 JSON 数组(1-32)"),
|
|
8587
8587
|
upstream: optional(Type.String(), "[upsert_route/update_route] 反代上游 host:port 或 http(s)://host[:port]"),
|
|
8588
8588
|
upstream_tls_insecure_skip_verify: optional(Type.Boolean(), "[upsert_route/update_route] 上游 TLS 跳过校验"),
|
|
8589
8589
|
static_root: optional(Type.String(), "[upsert_route/update_route] 静态站点根目录"),
|
|
@@ -9161,7 +9161,7 @@ function resolveOfficialSupabaseCommand(workdir, environment = process.env) {
|
|
|
9161
9161
|
const version = environment.SUPABASE_CLI_VERSION?.trim();
|
|
9162
9162
|
if (version) {
|
|
9163
9163
|
if (!VALID_VERSION.test(version))
|
|
9164
|
-
throw new Error("Invalid SUPABASE_CLI_VERSION; use an exact version such as 2.
|
|
9164
|
+
throw new Error("Invalid SUPABASE_CLI_VERSION; use an exact version such as 2.110.0");
|
|
9165
9165
|
if (process.versions.bun)
|
|
9166
9166
|
return [process.execPath, "x", `supabase@${version}`];
|
|
9167
9167
|
if (process.platform === "win32") {
|