@linkdesk/contracts 0.1.16 → 0.1.17
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 +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,9 +38,10 @@ Its surface is `linkdesk.d.ts` (regenerated by `npm run contracts:check` / the g
|
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
40
|
# 1. bump contracts/package.json version (0.x backward-compatible → patch)
|
|
41
|
-
# 2. publish — 🔴
|
|
42
|
-
|
|
43
|
-
#
|
|
41
|
+
# 2. publish — 🔴 FROM INSIDE THIS FOLDER. Do NOT write `npm publish contracts` from the repo root:
|
|
42
|
+
# a bare name is treated as a *package spec*, so npm resolves the registry's unrelated `contracts`
|
|
43
|
+
# package instead of this directory. And `--workspace=<name>` only works for packages/*.
|
|
44
|
+
cd contracts && npm publish --registry=https://registry.npmjs.org
|
|
44
45
|
# 3. record the baseline (run in the LinkDesk repo root)
|
|
45
46
|
npm run release:mark
|
|
46
47
|
```
|