@vibecuting/component-project-helper 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.
Files changed (2) hide show
  1. package/README.md +10 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,12 +8,11 @@ NPM 地址:
8
8
 
9
9
  职责:
10
10
 
11
- - 作为可发布的 npm 包承载组件工程辅助逻辑
12
- - 安装时扫描 `src/components/**/*.tsx`,把组件元数据生成到 `.agents/skills/project-allow-component/components/`
13
- - 通过 `postinstall` / `preuninstall` 维护生成文件和清理清单
14
- - 提供 `VideoComponent` 装饰器和 `defineComponentProjectComponentMetadata()` 注解定义,供后续需要元数据注解的组件复用
15
- - `postinstall` / `preuninstall` 的实际执行入口在 `scripts/` 下,便于 npm 安装时直接运行
16
- - 作为主工程之外的独立 helper 包,避免把辅助逻辑重新塞回主站代码里
11
+ - 作为可发布的 npm 包承载组件工程辅助逻辑。
12
+ - 提供组件注解、schema、发现器、Markdown 生成和安装期生命周期逻辑。
13
+ - 安装时扫描 `src/components/**/*.tsx`,把组件元数据生成到 `.agents/skills/project-allow-component/components/`。
14
+ - 通过 `postinstall` / `preuninstall` 维护生成文件和清理清单。
15
+ - 作为主工程之外的独立 helper 包,避免把辅助逻辑重新塞回主站代码里。
17
16
 
18
17
  目录结构:
19
18
 
@@ -29,3 +28,8 @@ NPM 地址:
29
28
  - `pnpm typecheck`
30
29
  - `pnpm test`
31
30
  - `node ./bin/component-project-helper.mjs postinstall`
31
+
32
+ 发布与安装:
33
+
34
+ - 发布到 npm 时使用 `@vibecuting/component-project-helper`
35
+ - 组件模板和主工程只依赖这个包的已发布版本,不依赖 workspace 软链接
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibecuting/component-project-helper",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",