byte-codec 1.0.10 → 1.1.0

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 (1) hide show
  1. package/package.json +12 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "byte-codec",
3
- "version": "1.0.10",
3
+ "version": "1.1.0",
4
4
  "description": "Generic byte-level primitives (ByteWriter, ByteReader, CRC-32, deflate/inflate) and PNG/JPEG image encoding/decoding with zero PDF knowledge — the shared utility package for the documents.js family.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -46,14 +46,19 @@
46
46
  "node": ">=20"
47
47
  },
48
48
  "scripts": {
49
- "build": "tsdown",
49
+ "build": "turbo run _build",
50
+ "_build": "tsdown",
50
51
  "prepublishOnly": "pnpm run lint && pnpm run typecheck && tsdown && publint && attw --pack",
51
- "lint": "eslint . --fix --cache --max-warnings 0",
52
+ "lint": "turbo run _lint",
53
+ "_lint": "eslint . --fix --cache --max-warnings 0",
52
54
  "lint:check": "eslint . --max-warnings 0",
53
- "typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.node.json",
54
- "test": "vitest run",
55
+ "typecheck": "turbo run _typecheck",
56
+ "_typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.node.json",
57
+ "test": "turbo run _test",
58
+ "_test": "vitest run",
55
59
  "test:watch": "vitest",
56
- "test:workers": "vitest run --config vitest.workers.config.ts",
60
+ "test:workers": "turbo run _test:workers",
61
+ "_test:workers": "vitest run --config vitest.workers.config.ts",
57
62
  "prepare": "husky"
58
63
  },
59
64
  "packageManager": "pnpm@11.6.0",
@@ -76,6 +81,7 @@
76
81
  "publint": "^0.3.21",
77
82
  "semantic-release": "^25.0.8",
78
83
  "tsdown": "^0.22.13",
84
+ "turbo": "^2.10.8",
79
85
  "typescript": "^6.0.3",
80
86
  "typescript-eslint": "^8.65.0",
81
87
  "vitest": "^4.1.10"