@liminis/editor 0.1.0-rc.2 → 0.1.0
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 +9 -11
- package/package.json +13 -1
package/README.md
CHANGED
|
@@ -28,16 +28,14 @@ travelled with the code, are recorded in [`docs/provenance.md`](./docs/provenanc
|
|
|
28
28
|
|
|
29
29
|
## Install
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
>
|
|
36
|
-
>
|
|
37
|
-
>
|
|
38
|
-
>
|
|
39
|
-
> exercised: both consuming applications resolved this package locally. `latest`
|
|
40
|
-
> stays unset until `0.1.0`.
|
|
31
|
+
```bash
|
|
32
|
+
pnpm add @liminis/editor
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
> **This is `0.x`.** Minor versions may contain breaking changes; patch versions
|
|
36
|
+
> will not. The seven declared subpath exports are the public API — anything
|
|
37
|
+
> reachable by a deeper path is private and may move without notice. Breaking
|
|
38
|
+
> changes are listed in the changelog with a migration note.
|
|
41
39
|
|
|
42
40
|
React and Lexical are **peer dependencies**, so your app resolves exactly one
|
|
43
41
|
copy of each. Two React copies produce `Invalid hook call`; two Lexical copies
|
|
@@ -265,7 +263,7 @@ inert).
|
|
|
265
263
|
|
|
266
264
|
## Consuming it
|
|
267
265
|
|
|
268
|
-
The registry is
|
|
266
|
+
The registry is the normal route (`pnpm add @liminis/editor`). The
|
|
269
267
|
**packed tarball** below remains the way to consume an unreleased change — a
|
|
270
268
|
local build, or a commit that has not been tagged:
|
|
271
269
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liminis/editor",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"//publishing": "Publishing is deliberate, never incidental. `private: true` was this package's guard until verveguy/liminis-editor#39 took the publish decision; it is gone because that decision was taken, not because it was tidied away. The guard is now `prepublishOnly` -> scripts/guard-publish.mjs, which refuses unless LIMINIS_ALLOW_PUBLISH=1 is set explicitly. That variable is set at step scope in .github/workflows/publish.yml and nowhere else, so a release is the only path that publishes. Note that `npm publish --dry-run` does NOT report a private package as blocked (npm 10.8.2), which is why the guard is a script rather than a flag.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Lexical-based markdown WYSIWYG editor with mdast round-trip and a host-injection seam",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"markdown",
|
|
9
|
+
"markdown-editor",
|
|
10
|
+
"wysiwyg",
|
|
11
|
+
"rich-text",
|
|
12
|
+
"editor",
|
|
13
|
+
"lexical",
|
|
14
|
+
"react",
|
|
15
|
+
"mdast",
|
|
16
|
+
"round-trip",
|
|
17
|
+
"annotations"
|
|
18
|
+
],
|
|
7
19
|
"//packageManager": "Not cosmetic. This field used to live in the monorepo root manifest and did not travel with the package, so `pnpm/action-setup` had no version to read and CI failed before installing anything. It is also what pins the pnpm that resolves the lockfile.",
|
|
8
20
|
"packageManager": "pnpm@10.33.0",
|
|
9
21
|
"type": "module",
|