markdown-codec 1.2.3 → 1.2.4

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 +8 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -136,14 +136,15 @@ Modelled on `pdf-codec`'s own layering (generic primitives outward to the two co
136
136
  ## Build, test, and lint
137
137
 
138
138
  ```sh
139
- pnpm build # tsdown -> dist/ (ESM + CJS + .d.ts)
140
- pnpm typecheck # tsc --noEmit
141
- pnpm lint # eslint . --fix --cache --max-warnings 0
142
- pnpm test # vitest run --project unit (includes the CommonMark/GFM conformance suites)
139
+ pnpm build # turbo run _build (tsdown -> dist/, ESM + CJS + .d.ts)
140
+ pnpm typecheck # turbo run _typecheck _typecheck:node (tsc -p tsconfig.json && tsc -p tsconfig.node.json -- dual tsconfig)
141
+ pnpm lint # turbo run _lint (eslint . --fix --cache --max-warnings 0)
142
+ pnpm test # turbo run _test (vitest run --project unit, includes the CommonMark/GFM conformance suites)
143
+ pnpm test:workers # turbo run _test:workers (vitest run --config vitest.workers.config.ts -- the unit suite re-run under the real Cloudflare Workers/workerd runtime, turning markdown-codec's isomorphic design into a runtime-checked fact)
143
144
  pnpm test:watch # vitest --project unit
144
- pnpm test:coverage # vitest run --project unit --coverage
145
- pnpm test:smoke # rebuilds dist/, then verifies ESM/CJS export parity and runs a real readMarkdown/writeMarkdown/markdownCodec round trip against each built bundle independently
146
- pnpm test:corpus # optional, gitignored real-world CommonMark/GFM sanity check -- see Fidelity below
145
+ pnpm test:coverage # turbo run _test:coverage (vitest run --project unit --coverage)
146
+ pnpm test:smoke # turbo run _test:smoke (rebuilds dist/, then verifies ESM/CJS export parity and runs a real readMarkdown/writeMarkdown/markdownCodec round trip against each built bundle independently)
147
+ pnpm test:corpus # turbo run _test:corpus (optional, gitignored real-world CommonMark/GFM sanity check -- see Fidelity below)
147
148
  ```
148
149
 
149
150
  To run a single test file: `pnpm vitest run src/path/to/file.test.ts`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markdown-codec",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Hand-written CommonMark+GFM <-> ContentDocument codec, built on document-schema.js",
5
5
  "type": "module",
6
6
  "repository": {