@gbits-jszx/gw-cli 2026.9.14-6 → 2026.9.14-7
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
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
面向多个网关项目的跨平台构建、运行和交付工具。项目级命令的身份唯一来自显式 `--project-id <代号>`(或 `--project-id=<代号>`);不需要 `gw.project.yaml`,不接受旧 `--project` 路径,也不从 `GW_PROJECT_FILE` 或用户凭据中的旧 ID 兜底。`npm build/package/publish` 专用于维护 CLI 本身,不要求项目代号,包名固定为 `@gbits-jszx/gw-cli`。
|
|
4
4
|
|
|
5
|
-
> 当前公开版本为 `@gbits-jszx/gw-cli@2026.9.14-
|
|
5
|
+
> 当前公开版本为 `@gbits-jszx/gw-cli@2026.9.14-7`。公网使用 `npx -y --prefer-online @gbits-jszx/gw-cli@latest`;没有 Node/npm 的 Linux/WSL 可直接运行包内 `bin/native/gw-cli-linux-amd64`。源码开发继续使用 `go run ./tools/cli`。
|
|
6
6
|
>
|
|
7
7
|
> 默认 `all`、部署版本自动选择、npm 全局账本和 Helm 部署进度均已进入当前 npm 版本。
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@ WSL 必须使用安装在 WSL 内的 Linux Node/npm。若 `type -a node npm npx`
|
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
14
|
cd /mnt/g/Git/Wurq/Projects/GW-Framework
|
|
15
|
-
npx -y --prefer-online @gbits-jszx/gw-cli@2026.9.14-
|
|
15
|
+
npx -y --prefer-online @gbits-jszx/gw-cli@2026.9.14-7 --version
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
打包过程和最终 `.tgz` 全部位于仓库根目录 `.gw-build/npm/`;源码目录不会生成 `bin/native` 或被 `npm version` 改写。
|
|
@@ -122,7 +122,7 @@ Go 项目的 `build`、`run`、`test` 需要源码和 Go。本仓库默认 `run`
|
|
|
122
122
|
go run ./tools/cli --project-id gw-demo deploy k3s init --dry-run
|
|
123
123
|
```
|
|
124
124
|
|
|
125
|
-
目标机器需预先安装并运行 k3s、安装 Helm,并允许当前用户访问 kubeconfig;不自动安装 k3s 或 Helm。部署前可运行 `doctor --scope deploy`,该 scope 只检查 Helm/k3s/kubeconfig,不要求 Go、Node.js 或 npm。PostgreSQL 参数使用 `--pgsql-*`,数据库名为 `--pgsql-dbname`。已有密码分别复用,首次密码隐藏输入,危险修改需二次确认。显式提供 `--tls-secret-name/--tls-cert-file/--tls-key-file/--tls-host` 可导入公司证书,`--login-secret-name` 创建 Web Demo 登录 Secret;WSL 开发机可加 `--windows-hosts`。完整说明见 [k3s 初始化](../../../docs/user-docs/K3S-INIT.md)。当前 `@latest` 是 `2026.9.14-
|
|
125
|
+
目标机器需预先安装并运行 k3s、安装 Helm,并允许当前用户访问 kubeconfig;不自动安装 k3s 或 Helm。部署前可运行 `doctor --scope deploy`,该 scope 只检查 Helm/k3s/kubeconfig,不要求 Go、Node.js 或 npm。PostgreSQL 参数使用 `--pgsql-*`,数据库名为 `--pgsql-dbname`。已有密码分别复用,首次密码隐藏输入,危险修改需二次确认。显式提供 `--tls-secret-name/--tls-cert-file/--tls-key-file/--tls-host` 可导入公司证书,`--login-secret-name` 创建 Web Demo 登录 Secret;WSL 开发机可加 `--windows-hosts`。完整说明见 [k3s 初始化](../../../docs/user-docs/K3S-INIT.md)。当前 `@latest` 是 `2026.9.14-7`,已包含上述参数和 WSL PowerShell 路径回退。
|
|
126
126
|
|
|
127
127
|
## 发布凭据
|
|
128
128
|
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"bin"
|
|
11
11
|
],
|
|
12
|
-
"gwVersion": "2026.9.14-
|
|
12
|
+
"gwVersion": "2026.9.14-7",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"name": "@gbits-jszx/gw-cli",
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public",
|
|
17
17
|
"registry": "https://registry.npmjs.org/"
|
|
18
18
|
},
|
|
19
|
-
"version": "2026.9.14-
|
|
19
|
+
"version": "2026.9.14-7"
|
|
20
20
|
}
|