@linkdesk/ui 0.1.5 → 0.1.6
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 +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,6 +42,23 @@ cd packages/linkdesk-ui
|
|
|
42
42
|
npm run build # dist build: esm + aggregated css + declaration files
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
+
## Maintaining this package (LinkDesk maintainers)
|
|
46
|
+
|
|
47
|
+
This package is **one of the five author axes** (the others: `@linkdesk/contracts` / `@linkdesk/plugin-sdk` / `create-linkdesk-plugin` / `@linkdesk/plugin-docs`) and has its own version axis — **publishing it does not bump the application, and the application does not bump it**.
|
|
48
|
+
|
|
49
|
+
Its surface is `src/**` + this README. The component source lives in the shell's `src/components/shared/` — **changing a component means this axis moved**, so bump and publish, otherwise plugin authors keep getting the old components.
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
# 1. bump packages/linkdesk-ui/package.json version (0.x backward-compatible → patch)
|
|
53
|
+
# 2. npm run build (inside the package — dist is what ships)
|
|
54
|
+
# 3. publish
|
|
55
|
+
npm publish --registry=https://registry.npmjs.org # 🔴 the registry flag is mandatory — the machine default is a read-only mirror
|
|
56
|
+
# 4. record the baseline (run in the LinkDesk repo root)
|
|
57
|
+
npm run release:mark
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
> Full procedure + the three measured pitfalls → **`docs/06-发布管理/作者轴npm发版.md`** in the LinkDesk repository.
|
|
61
|
+
|
|
45
62
|
## License
|
|
46
63
|
|
|
47
64
|
MIT
|
package/package.json
CHANGED