@runlume/admin-ui 0.2.0 → 0.2.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.en.md CHANGED
@@ -52,17 +52,8 @@ import '@runlume/admin-ui/styles.css'
52
52
 
53
53
  The package supports React 18.2–19, ESM, and CommonJS. Fine-grained imports are available from paths such as
54
54
  `@runlume/admin-ui/components/data-table` and `@runlume/admin-ui/ui/button`. Missing host translations fall back
55
- to readable English instead of exposing i18n keys. Maintainers run `pnpm test:package` to pack and install the
56
- tarball into an empty React 18 project and verify ESM, CommonJS, subpath, and stylesheet exports. Brand assets,
57
- example pages, app sessions, and notification state are not part of the library exports.
58
-
59
- For a release, run `docs/scripts/publish-admin-ui-npm.sh`. It collects a npm Granular Access Token with
60
- `Bypass 2FA` through a hidden macOS dialog and never stores the credential in the repository or normal logs.
61
-
62
- `pnpm dev` prints a branded banner once per process and lists both the Local and Network URLs
63
- (`server.host: true`, so a phone on the same network can open the Network address). Brand copy lives in
64
- `src/lib/brand-info.ts`, the terminal banner in `scripts/banner.ts`, and the F12 console output in
65
- `src/lib/brand-console.ts`.
55
+ to readable English instead of exposing i18n keys. Brand assets, example pages, and application state are not
56
+ part of the library exports.
66
57
 
67
58
  ## Verification
68
59
 
package/README.md CHANGED
@@ -48,14 +48,7 @@ import '@runlume/admin-ui/styles.css'
48
48
 
49
49
  支持 React 18.2–19、ESM 与 CommonJS;需要更细粒度加载时可从
50
50
  `@runlume/admin-ui/components/data-table` 或 `@runlume/admin-ui/ui/button` 引入。公共组件缺少宿主翻译时会显示内置英文兜底,不会直接暴露 i18n key。
51
- 仓库维护者发布前运行 `pnpm test:package`,它会打包并在空目录中用 React 18 验证 ESM、CommonJS、子路径与样式出口。品牌资源、示例页面、应用会话和通知状态不属于组件库出口。
52
-
53
- 正式发布使用 `docs/scripts/publish-admin-ui-npm.sh`,通过 macOS 隐藏输入框读取具备
54
- `Bypass 2FA` 权限的 npm Granular Access Token;凭据不会写入仓库或普通日志。
55
-
56
- `pnpm dev` 启动时终端会打出品牌横幅(每个进程只打一次),并同时给出 Local 与 Network 两个地址
57
- (`server.host: true`,手机或同网段设备可用 Network 地址访问)。品牌文案在 `src/lib/brand-info.ts`,
58
- 终端横幅在 `scripts/banner.ts`,浏览器 F12 控制台的品牌输出在 `src/lib/brand-console.ts`。
51
+ 品牌资源、示例页面以及应用状态不属于组件库出口。
59
52
 
60
53
  ## 校验
61
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runlume/admin-ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "description": "Runlume 标准后台基础组件、主题与语义 Token",
6
6
  "license": "Apache-2.0",