chore(deps): update dependency typescript to v6#84
chore(deps): update dependency typescript to v6#84renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d872f4e912
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| "lint-staged": "16.3.3", | ||
| "tinybench": "6.0.0", | ||
| "typescript": "5.9.3", | ||
| "typescript": "6.0.2", |
There was a problem hiding this comment.
Add
rootDir before upgrading to TypeScript 6
Checked tsconfig.json and package.json: this repo emits from src/ into lib/ and publishes ./lib/index.js/./lib/index.d.ts, but tsconfig.json only sets outDir and include with no rootDir. In TypeScript 6, rootDir now defaults to the directory containing tsconfig.json, so pnpm run build will start emitting lib/src/index.js and lib/src/index.d.ts instead. That leaves the published exports/main/types paths pointing at files that no longer exist.
Useful? React with 👍 / 👎.
| "lint-staged": "16.3.3", | ||
| "tinybench": "6.0.0", | ||
| "typescript": "5.9.3", | ||
| "typescript": "6.0.2", |
There was a problem hiding this comment.
Restore Node globals before taking the TypeScript 6 bump
I checked the TS 6 config changes against this repo’s sources: src/index.ts uses the global Buffer, while neither this tsconfig.json nor the pinned @shelf/tsconfig/backend base config defines compilerOptions.types. TypeScript 6 changes the default types to [], so after this dependency bump pnpm run build/pnpm run type-check will fail with Cannot find name 'Buffer' until we explicitly include the Node typings (for example via types: ["node"]).
Useful? React with 👍 / 👎.
This PR contains the following updates:
5.9.3→6.0.2Release Notes
microsoft/TypeScript (typescript)
v6.0.2Compare Source
Configuration
📅 Schedule: Branch creation - At 06:00 PM through 11:59 PM and 12:00 AM through 09:59 AM ( * 18-23,0-9 * * * ) in timezone Europe/Kiev, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.