@bindtty/signal 0.1.0-alpha.1 → 0.1.0-alpha.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 +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -41,8 +41,8 @@ View 中绑定 `vm.countLabel`,signal 更新后由 runtime binding 驱动局
41
41
 
42
42
  `@bindtty/signal` 在模块内维护 `computationStack` 与订阅图,**全应用只能有一份物理拷贝**。若应用与 `@bindtty/widgets` 各解析到不同版本的 signal,computed 与 binding 可能异常。
43
43
 
44
- - 推荐从 `bindtty` 导入(re-export 同源 signal
45
- - 若单独安装本包,版本须与 `bindtty` / `@bindtty/widgets` peer 声明一致
44
+ - 推荐从 `bindtty` 导入 signal(应用主入口)
45
+ - 使用 widgets 时,`bindtty` `@bindtty/widgets` 须**同版本**安装;勿单独安装冲突版本的 `@bindtty/signal`
46
46
  - 检查:`npm ls @bindtty/signal` 应只有一棵树、一个版本
47
47
 
48
48
  ## 文档
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bindtty/signal",
3
- "version": "0.1.0-alpha.1",
3
+ "version": "0.1.0-alpha.2",
4
4
  "type": "module",
5
5
  "description": "Signal primitives for BindTTY.",
6
6
  "main": "./dist/index.js",