foucui 2.2.1 → 2.2.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.
- package/README.publish.md +10 -6
- package/dist/components/FouBadge/utils/pca-code.json.d.ts +3 -0
- package/dist/components/FouMsgBox/index.d.ts +7 -2
- package/dist/foucui.css +2 -1
- package/dist/foucui.js +21579 -26737
- package/dist/foucui.umd.cjs +26 -28
- package/package.json +98 -95
package/README.publish.md
CHANGED
|
@@ -2,18 +2,22 @@
|
|
|
2
2
|
* 组件库 foucui:npm 发包说明(业务端禁止链本地源码)
|
|
3
3
|
* @author qiuye
|
|
4
4
|
* @email yjk150@qq.com
|
|
5
|
-
* @date 2026-08-
|
|
5
|
+
* @date 2026-08-20
|
|
6
|
+
*
|
|
7
|
+
* ## 真源目录
|
|
8
|
+
* - **唯一发包真源**:`E:\foucui-cursor\foucui-ui`(npm 包名仍为 `foucui`)
|
|
9
|
+
* - 勿再以 `foucui-main/packages/foucui` 当真源发包(仅历史镜像)
|
|
6
10
|
*
|
|
7
11
|
* ## 消费端(apps / admin-shell)
|
|
8
|
-
* - package.json 使用 `"foucui": "^2.
|
|
12
|
+
* - package.json 使用 `"foucui": "^2.2.2"`(或更新版本),**禁止** `workspace:*`
|
|
9
13
|
* - 引入:`import { FouXxx, setupFoucui, fouMsg } from 'foucui'`
|
|
10
|
-
* - 模板标签:`<fou-button>` / `<FouButton
|
|
14
|
+
* - 模板标签:`<fou-button>` / `<FouButton>`
|
|
11
15
|
* - 样式:`import 'foucui/dist/foucui.css'`;CSS 变量 `--fou-*`
|
|
12
16
|
* - 不要 `import 'foucui/components/...'`(发包已不再导出源码目录)
|
|
13
17
|
*
|
|
14
18
|
* ## 改组件并发布
|
|
15
|
-
* 1. 改 `
|
|
16
|
-
* 2. `cd
|
|
17
|
-
* 3. 升 version
|
|
19
|
+
* 1. 改 `foucui-ui` 源码
|
|
20
|
+
* 2. `cd E:\foucui-cursor\foucui-ui && pnpm run build`(需有效 node_modules)
|
|
21
|
+
* 3. 升 version 后:`npm publish --access public`(须登录维护账号 `qiuui`)
|
|
18
22
|
* 4. 各端把依赖版本 bump 后 `pnpm install`
|
|
19
23
|
*/
|