morphex 1.0.0 → 1.0.1

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 (2) hide show
  1. package/README.md +15 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -186,6 +186,21 @@ npm run build # ESM + CJS + .d.ts/.d.cts via tsup
186
186
  npm run check:package # publint + arethetypeswrong
187
187
  ```
188
188
 
189
+ ## Releasing
190
+
191
+ The npm release runs through `.github/workflows/morphex-publish.yml`. Set the package version, commit it, and push a matching tag:
192
+
193
+ ```bash
194
+ cd morphex-ts
195
+ npm version 1.0.1 --no-git-tag-version
196
+ git add package.json package-lock.json
197
+ git commit -m "Release morphex 1.0.1"
198
+ git tag morphex-v1.0.1
199
+ git push origin main --tags
200
+ ```
201
+
202
+ The workflow typechecks, lints, tests, builds, validates the package, checks the tag against `package.json`, and publishes with npm trusted publishing. Configure the npm trusted publisher with workflow filename `morphex-publish.yml` and allow **npm publish**; no `NPM_TOKEN` secret is used.
203
+
189
204
  ## Benchmarks
190
205
 
191
206
  See [BENCHMARKS.md](BENCHMARKS.md) for measured Node timings and bundle sizes. The numbers are
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "morphex",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Deterministic English noun pluralization in TypeScript: auditable lexicon, three productive rules, compound handling, and a diagnostic analyze() API.",
5
5
  "license": "MIT",
6
6
  "author": "Justin Baker",