From 16092350b85fcaa912fa18848b6c5baf25b16e13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Wed, 16 Sep 2026 21:58:14 +0000 Subject: [PATCH] :memo: Check off example-code removal in backlog Note the finished work under [Unreleased] and mark the task and its subtasks done; retarget the v1.0 coverage tasks at the surviving primitive module. --- CHANGELOG.md | 1 + backlog.tasks | 12 +++++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64385dd..2703596 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - allow ternaries and lowercase comments in oxlint - switch `src/primitive.ts` prose from block comments to line comments +- remove the template's `match`/`P` example modules and their documentation, and point `src/index.ts` at the primitive matchers ## [0.1.8] - 2026-09-16 diff --git a/backlog.tasks b/backlog.tasks index f32e774..69249df 100644 --- a/backlog.tasks +++ b/backlog.tasks @@ -5,20 +5,26 @@ Backlog and tracking for tiny-pattern-ts. Managed in vscode-todotasks format. --- Setup: -☐ Split off template into separate package => pi --session 01a07dde-7050-7054-bb36-1606d7eb2bc3 @high +☐ Split off template into separate package => pi --session 01a07dde-7050-7054-bb36-1606d7eb2bc3 @low ✔ straighten oxc rules @done ✔ oxc forbids ternary => remove oxc rule @done ✔ oxc wants comments to start comments with a capital letter => remove oxc rule @done ✔ there already exists a /* */ block comment in primitive.ts, => change to multi-line comment @done +✔ Remove example code files and its documentation and its exports from index.ts @high @done + ✔ remove src/match.ts and its documentation @high @done + ✔ remove src/pattern.ts and its documentation @high @done + ✔ remove src/index.test.ts and its documentation @high @done + ✔ exports from `src/index.ts` should only be the public API surface @done + + v1.0: ☐ API surface is stable and fully typed ☐ Finalize public exports in `src/index.ts` ☐ Document all exported types and functions ☐ Add JSDoc for public APIs ☐ Test coverage meets threshold - ☐ Achieve 100% branch coverage on `src/pattern.ts` - ☐ Achieve 100% branch coverage on `src/match.ts` + ☐ Achieve 100% branch coverage on `src/primitive.ts` ☐ Achieve 100% branch coverage on `src/index.ts` Bugs: