labull-framework 1.3.0 → 1.4.1
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 +5 -1
- package/dist/magic-block.js +1165 -1184
- package/dist/style.css +1 -1
- package/dist/types/magic-block-localfs.d.ts +4 -1
- package/dist/types/magic-block-manifest.d.ts +0 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,10 +113,14 @@ workspace/<可读名>-<块 uuid>/
|
|
|
113
113
|
├─ README.open.md 业务功能说明(Markdown)——管理台里「详情」那一栏写的就是它
|
|
114
114
|
├─ requires.open.yaml 依赖声明的**草稿**(导出铺下来的;改完读回**只合并**清单的 requires)
|
|
115
115
|
├─ 任意 js / css
|
|
116
|
-
├─
|
|
116
|
+
├─ .exclude/ 你自己的地盘(测试 / 草稿):永远不进库,也不跟着块走
|
|
117
117
|
└─ backend_open.py 块自己的后端(可选;它从不离开服务端)
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
+
- 🔴 **块里的 `.exclude/` 不是块包的一部分**:判据只有一条 —— **包内路径里有一段叫 `.exclude`**
|
|
121
|
+
(与文件名怎么写无关;老名字 `excluded/` 在迁移期照样认)。里面的测试 / 草稿 / 截图**永远不进库**
|
|
122
|
+
(导出不铺、读回不扫、保存不存、版本史里没有),「清空并导出」也不会删它 —— 它是作者本机上的草稿区。
|
|
123
|
+
摆法是**一个需求一个文件夹**(`<日期>-<需求简称>`,最多留 3 个),自己跑:`node .exclude/<需求文件夹>/test.mjs`。
|
|
120
124
|
- 🔴 **`detail` 不在清单里**:那一段正文的家是 `README.open.md`。老块的清单里若还留着
|
|
121
125
|
`detail: |`,读回时判据**只提示、不硬错**,正文**自动搬进** `README.open.md`
|
|
122
126
|
(内容一个字都不丢)—— 这是**有意的迁移**,不是还在用的键。
|