@plume-canvas/server 0.1.5 → 0.1.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 +14 -0
- package/dist/cli.js +6 -6
- package/dist/index.js +6 -6
- package/package.json +20 -21
package/README.md
CHANGED
|
@@ -17,3 +17,17 @@
|
|
|
17
17
|
```bash
|
|
18
18
|
npm i @plume-canvas/server
|
|
19
19
|
```
|
|
20
|
+
|
|
21
|
+
## 发布(维护者)
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
# 必须用 pnpm publish,不能用 npm publish
|
|
25
|
+
# 原因:package.json 里有 "@plume-canvas/plugin-agent": "workspace:*",
|
|
26
|
+
# npm 会原样保留这个写法,导致别人 npm install 报 EUNSUPPORTEDPROTOCOL;
|
|
27
|
+
# pnpm 会把它替换成真实版本号。
|
|
28
|
+
pnpm publish --no-git-checks
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
发完记得把仓库根 Dockerfile 的 `ARG PLUME_VERSION` 改成同一个版本号,
|
|
32
|
+
否则容器构建会命中 Docker 层缓存,线上还是旧版本。
|
|
33
|
+
完整部署与发版流程见 `apps/docs/cloud-server/deploy-railway.md`。
|