@2kog/kacha 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +0 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -56,9 +56,3 @@ my-project/
56
56
  ## 本地开发
57
57
 
58
58
  在本仓库运行 `npm install` 安装依赖,用 `npm run dev -- /path/to/project` 启动工作台,用 `npm run build` 执行生产构建。
59
-
60
- ## 发布 npm 包
61
-
62
- 把 `package.json` 和锁文件更新到同一版本并提交,再推送对应的 `v<版本>` 标签。例如 `v0.1.1`。GitHub Actions 会校验标签、安装依赖、构建并检查打包内容,随后发布到 npm。也可在 Actions 中选择对应标签手动运行。
63
-
64
- 首发时,用有 `@2kog` 发布权限的 npm 账号创建允许在该作用域发布新包的短期 Granular Access Token,开启 Bypass 2FA,并将其保存为仓库的 Actions Secret `NPM_TOKEN`。首发成功后,如需改用 Trusted Publishing,在 npm 的 `@2kog/kacha` 包设置中添加 GitHub Actions 发布者,填写组织或用户名 `iRuxu`、仓库 `kacha`、工作流 `publish.yml`,开启 `npm publish` 权限,环境留空。移除 GitHub 的 `NPM_TOKEN` 后,工作流会使用 OIDC 发布。 [npm Trusted Publishing](https://docs.npmjs.com/trusted-publishers/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2kog/kacha",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Local production workbench for creative projects",
5
5
  "author": "rx6",
6
6
  "repository": {