|
14 | 14 | "sideEffects": false, |
15 | 15 | "type": "module", |
16 | 16 | "exports": { |
17 | | - ".": { |
18 | | - "types": { |
19 | | - "import": "./lib/index.d.ts", |
20 | | - "require": "./lib/index.d.cts" |
21 | | - }, |
22 | | - "import": "./lib/index.js", |
23 | | - "require": "./lib/index.cjs" |
24 | | - } |
| 17 | + ".": "./lib/index.mjs", |
| 18 | + "./package.json": "./package.json" |
25 | 19 | }, |
26 | | - "main": "./lib/index.js", |
| 20 | + "main": "./lib/index.mjs", |
| 21 | + "module": "./lib/index.mjs", |
| 22 | + "types": "./lib/index.d.mts", |
27 | 23 | "files": [ |
28 | 24 | "lib/" |
29 | 25 | ], |
30 | 26 | "scripts": { |
31 | | - "build": "tsup src/index.ts && cp lib/index.d.ts lib/index.d.cts", |
| 27 | + "build": "tsdown src/index.ts", |
32 | 28 | "docs": "typedoc", |
33 | 29 | "docs:serve": "npx --yes http-server docs/generated", |
34 | 30 | "format": "prettier \"**/*\" --ignore-unknown", |
|
53 | 49 | "@phenomnomnominal/tsquery": "^6.1.3", |
54 | 50 | "@release-it/conventional-changelog": "^10.0.0", |
55 | 51 | "@types/eslint-plugin-markdown": "^2.0.2", |
56 | | - "@types/node": "^18.19.74", |
| 52 | + "@types/node": "^20.19.33", |
57 | 53 | "@typescript/vfs": "^1.6.0", |
58 | | - "@vitest/coverage-v8": "^3.0.0", |
| 54 | + "@vitest/coverage-v8": "^4.0.0", |
59 | 55 | "@vitest/eslint-plugin": "^1.1.25", |
60 | 56 | "console-fail-test": "^0.6.0", |
61 | 57 | "cspell": "^9.0.0", |
|
81 | 77 | "publint": "^0.3.17", |
82 | 78 | "release-it": "^19.0.0", |
83 | 79 | "should-semantic-release": "^0.3.0", |
84 | | - "tsup": "^8.3.6", |
| 80 | + "tsdown": "^0.16.6", |
85 | 81 | "typedoc": "^0.28.0", |
86 | 82 | "typedoc-plugin-coverage": "^4.0.0", |
87 | 83 | "typedoc-plugin-custom-validation": "^2.0.2", |
88 | 84 | "typedoc-plugin-konamimojisplosion": "^0.0.2", |
89 | 85 | "typedoc-plugin-mdn-links": "^5.0.0", |
90 | 86 | "typescript": "^5.7.3", |
91 | 87 | "typescript-eslint": "^8.22.0", |
92 | | - "vitest": "^3.0.0" |
| 88 | + "vitest": "^4.0.0" |
93 | 89 | }, |
94 | 90 | "peerDependencies": { |
95 | | - "typescript": ">=4.8.4" |
| 91 | + "typescript": ">=5.5.2 <7" |
96 | 92 | }, |
97 | 93 | "packageManager": "pnpm@10.32.1", |
98 | 94 | "engines": { |
99 | | - "node": ">=18.12" |
| 95 | + "node": ">=20.19" |
| 96 | + }, |
| 97 | + "publishConfig": { |
| 98 | + "provenance": true |
100 | 99 | } |
101 | 100 | } |
0 commit comments