|
12 | 12 | "node": ">=16.0.0" |
13 | 13 | }, |
14 | 14 | "main": "./lib/index.cjs", |
15 | | - "types": "./index.d.cts", |
| 15 | + "types": "./lib/index.d.cts", |
16 | 16 | "module": "./lib/index.js", |
17 | 17 | "exports": { |
18 | 18 | ".": { |
|
24 | 24 | "types": "./lib/index.d.ts", |
25 | 25 | "default": "./lib/index.js" |
26 | 26 | }, |
27 | | - "module-sync": { |
28 | | - "types": "./lib/index.d.ts", |
29 | | - "default": "./lib/index.js" |
30 | | - }, |
31 | 27 | "require": { |
32 | | - "types": "./index.d.cts", |
| 28 | + "types": "./lib/index.d.cts", |
33 | 29 | "default": "./lib/index.cjs" |
34 | 30 | } |
35 | 31 | }, |
|
39 | 35 | "./vendors/wasm_exec.cjs": "./vendors/wasm_exec.cjs" |
40 | 36 | }, |
41 | 37 | "files": [ |
42 | | - "index.d.cts", |
43 | 38 | "lib", |
44 | 39 | "main.wasm", |
45 | 40 | "vendors", |
|
48 | 43 | "scripts": { |
49 | 44 | "benchmark": "sudo env NO_COLOR=1 node benchmark > benchmark/benchmark.txt", |
50 | 45 | "build": "run-p 'build:*'", |
51 | | - "build:r": "r -f cjs -x '**/vendors/wasm_exec.cjs'", |
52 | 46 | "build:tsc": "tsc -p src --declaration false && tsc -p src --removeComments false --emitDeclarationOnly", |
| 47 | + "build:tsdown": "tsdown --no-clean -d lib --format cjs --external '../vendors/wasm_exec.cjs' src/index.ts", |
53 | 48 | "easyjson": "easyjson --all processor/structs.go", |
54 | 49 | "format": "prettier --write .", |
55 | 50 | "lint": "run-p 'lint:*'", |
|
65 | 60 | "tslib": "^2.8.1" |
66 | 61 | }, |
67 | 62 | "devDependencies": { |
68 | | - "@1stg/common-config": "^13.0.1", |
| 63 | + "@1stg/common-config": "^14.0.0", |
69 | 64 | "@changesets/changelog-github": "^0.5.1", |
70 | | - "@changesets/cli": "^2.29.2", |
71 | | - "@commitlint/cli": "^19.8.0", |
| 65 | + "@changesets/cli": "^2.29.4", |
| 66 | + "@commitlint/cli": "^19.8.1", |
72 | 67 | "@mitata/counters": "^0.0.8", |
73 | | - "@pkgr/rollup": "^6.0.3", |
74 | 68 | "@stylistic/eslint-plugin-js": "^4.2.0", |
75 | 69 | "@types/golang-wasm-exec": "^1.15.2", |
76 | 70 | "@types/mvdan-sh": "^0.10.9", |
77 | | - "@types/node": "^22.14.1", |
78 | | - "@types/web": "^0.0.228", |
79 | | - "@vitest/coverage-istanbul": "^3.1.1", |
80 | | - "@vitest/eslint-plugin": "^1.1.43", |
81 | | - "clean-pkg-json": "^1.2.1", |
82 | | - "eslint": "^9.25.0", |
| 71 | + "@types/node": "^22.15.19", |
| 72 | + "@types/web": "^0.0.235", |
| 73 | + "@vitest/coverage-istanbul": "^3.1.4", |
| 74 | + "@vitest/eslint-plugin": "^1.2.0", |
| 75 | + "clean-pkg-json": "^1.3.0", |
| 76 | + "eslint": "^9.27.0", |
83 | 77 | "mitata": "^1.0.34", |
84 | 78 | "mvdan-sh": "^0.10.1", |
85 | 79 | "nano-staged": "^0.8.0", |
86 | | - "npm-run-all2": "^7.0.2", |
| 80 | + "npm-run-all2": "^8.0.2", |
87 | 81 | "prettier": "^3.5.3", |
88 | 82 | "sh-syntax": "link:.", |
89 | | - "simple-git-hooks": "^2.12.1", |
| 83 | + "simple-git-hooks": "^2.13.0", |
90 | 84 | "size-limit": "^11.2.0", |
91 | | - "size-limit-preset-node-lib": "^0.3.0", |
92 | | - "synckit": "^0.11.4", |
| 85 | + "size-limit-preset-node-lib": "^0.4.0", |
| 86 | + "synckit": "^0.11.6", |
| 87 | + "tsdown": "^0.11.12", |
93 | 88 | "type-coverage": "^2.29.7", |
94 | 89 | "typescript": "^5.8.3", |
95 | | - "vitest": "^3.1.1", |
| 90 | + "vitest": "^3.1.4", |
96 | 91 | "yarn-berry-deduplicate": "^6.1.3" |
97 | 92 | }, |
98 | 93 | "resolutions": { |
|
0 commit comments