pdf-codec 2.1.2 → 2.1.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.
- package/README.md +13 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -289,7 +289,19 @@ Whether that release actually published a new version is detected by diffing `pa
|
|
|
289
289
|
|
|
290
290
|
## Contributing
|
|
291
291
|
|
|
292
|
-
Commits follow Conventional Commits (`feat:`, `fix:`, `test:`, `chore:`, …), enforced by commitlint (`commitlint.config.ts`) via a husky `commit-msg` hook and a CI `commitlint` job — semantic-release's version bump depends on these being well-formed, not just style. A husky `pre-commit` hook runs `lint-staged` (`eslint --fix` on staged `*.ts` files) and `pre-push` runs the test suite
|
|
292
|
+
Commits follow Conventional Commits (`feat:`, `fix:`, `test:`, `chore:`, …), enforced by commitlint (`commitlint.config.ts`) via a husky `commit-msg` hook and a CI `commitlint` job — semantic-release's version bump depends on these being well-formed, not just style. A husky `pre-commit` hook runs `lint-staged` (`eslint --fix` on staged `*.ts` files) and `pre-push` runs the test suite. The package's scripts are turbo-wrapped — every public command routes through `turbo run` to a matching `_<name>` script in `package.json`:
|
|
293
|
+
|
|
294
|
+
```sh
|
|
295
|
+
pnpm build # tsdown (ESM + CJS + .d.ts)
|
|
296
|
+
pnpm typecheck # tsc -p tsconfig.json + tsconfig.node.json
|
|
297
|
+
pnpm lint # eslint . --fix --cache --max-warnings 0
|
|
298
|
+
pnpm test # vitest run --project unit
|
|
299
|
+
pnpm test:workers # vitest run --config vitest.workers.config.ts
|
|
300
|
+
pnpm test:smoke # tsdown && vitest run --project smoke
|
|
301
|
+
pnpm test:corpus # vitest run --project corpus (manual, gitignored fixtures)
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
There is a single `main` branch and no open pull request workflow established so far.
|
|
293
305
|
|
|
294
306
|
## References
|
|
295
307
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pdf-codec",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "Hand-written, dependency-minimal PDF codec: parses arbitrary real-world PDFs and generates new ones, built on document-schema.js's LayoutDocument pivot and Zod 4 codecs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"packageManager": "pnpm@11.6.0",
|
|
82
82
|
"dependencies": {
|
|
83
83
|
"byte-codec": "^1.0.4",
|
|
84
|
-
"document-schema.js": "^2.
|
|
84
|
+
"document-schema.js": "^2.6.0",
|
|
85
85
|
"fflate": "^0.8.3",
|
|
86
86
|
"zod": "^4.4.3"
|
|
87
87
|
},
|