Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ deno task bundle
The build checks DOM and Web Worker consumers in `tests/types/public-api.ts`,
including the distinction between type-only and runtime exports.

Declaration generation requires TypeScript's JavaScript compiler API. The build
uses TypeScript 6; TypeScript 7's native API is not a drop-in replacement. This
restriction does not limit the TypeScript versions supported by library
consumers.

**How to check if your new code is standard JS style**

```bash
Expand Down
7 changes: 2 additions & 5 deletions build/bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 1 addition & 10 deletions build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,6 @@
"private": true,
"type": "module",
"dependencies": {
"typescript": "^7.0.2"
},
"overrides": {
"typescript": "^5.9.3"
},
"overrides": {
"typescript": "^5.9.3"
},
"overrides": {
"typescript": "^7.0.0"
"typescript": "^6.0.3"
}
}
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
{
"matchFileNames": ["**/deno.json"],
"rangeStrategy": "bump"
},
{
"description": "Keep the build on the JavaScript compiler API; TypeScript 7 is not API-compatible.",
"matchFileNames": ["build/package.json"],
"matchPackageNames": ["typescript"],
"allowedVersions": "<7"
}
],
"ignorePaths": [
Expand Down
Loading