@adecore/merge 0.17.0-beta.1 → 0.17.0-beta.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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +6 -2
  3. package/package.json +1 -1
package/LICENSE CHANGED
@@ -6,7 +6,7 @@ FSL-1.1-MIT
6
6
 
7
7
  ## Notice
8
8
 
9
- Copyright 2026 Bas Milius
9
+ Copyright 2026 - present Bas Milius
10
10
 
11
11
  ## Terms and Conditions
12
12
 
package/README.md CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  Pure line diffs, three-way merge blocks and conflict resolution. It uses no filesystem, Git process, editor or browser API.
4
4
 
5
- The package is private at `0.0.0` pending initial publication. Use this checkout through a workspace/link with the `source` export condition, or build it for default JavaScript/declaration imports from `dist`. The transferred code retains FSL-1.1-MIT in [LICENSE](./LICENSE).
5
+ ```sh
6
+ bun add @adecore/merge
7
+ ```
8
+
9
+ Licensed under FSL-1.1-MIT, see [LICENSE](./LICENSE).
6
10
 
7
11
  ```ts
8
12
  import { draftOf, joinLines, shapeOf, splitBlocks, splitLines } from '@adecore/merge';
@@ -22,6 +26,6 @@ const text = joinLines(draftOf(blocks, answers).lines, shapeOf(ours));
22
26
 
23
27
  The fixed answer above represents a caller's completed decision. Unanswered draft conflicts use ours without markers; saving requires a separate unresolved check. Preserve text shape and verify input versions before writing. The host owns authorization, file access and stale-answer rejection.
24
28
 
25
- Read the [overview](https://adecore.dev/merge/), [getting started](https://adecore.dev/merge/getting-started), [line/block concepts](https://adecore.dev/merge/concepts), [resolution guide](https://adecore.dev/merge/resolution), [API reference](https://adecore.dev/merge/api) and [integration/testing guide](https://adecore.dev/merge/integration).
29
+ Read the [overview](https://adecore.dev/merge/), [lines and diffs](https://adecore.dev/merge/lines) and [three-way merge](https://adecore.dev/merge/three-way).
26
30
 
27
31
  From the repository root, run `bun run --cwd packages/merge test`, `typecheck` or `build`. The isolated `test:memory` command checks bounded diff memory workloads. A source-relative example is in [examples/resolve-conflict.ts](./examples/resolve-conflict.ts).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adecore/merge",
3
- "version": "0.17.0-beta.1",
3
+ "version": "0.17.0-beta.2",
4
4
  "description": "Pure line diffs, three-way merge blocks and conflict resolution.",
5
5
  "license": "FSL-1.1-MIT",
6
6
  "author": "Bas Milius",