Skip to content

fix(tsconfig): set explicit rootDir to silence TS6059 in consumer IDEs#211

Merged
mandarini merged 1 commit into
mainfrom
fix/tsconfig-rootdir
May 4, 2026
Merged

fix(tsconfig): set explicit rootDir to silence TS6059 in consumer IDEs#211
mandarini merged 1 commit into
mainfrom
fix/tsconfig-rootdir

Conversation

@mandarini
Copy link
Copy Markdown
Contributor

The shipped tsconfig.json sets outDir without rootDir, which causes TypeScript >=5.x to emit a TS6059 hint in consumer IDEs that validate the vendor config. Setting rootDir to ./src matches what TypeScript already infers and follows the team's recommended migration.

Closes #209

@mandarini mandarini merged commit a77ee8a into main May 4, 2026
4 checks passed
@mandarini mandarini deleted the fix/tsconfig-rootdir branch May 4, 2026 12:04
mandarini pushed a commit that referenced this pull request May 7, 2026
🤖 I have created a release *beep* *boop*
---


## [0.10.3](v0.10.2...v0.10.3)
(2026-05-07)


### Bug Fixes

* allow cookies encode without getAll/setAll on browser client
([#213](#213))
([89f3f28](89f3f28)),
closes [#170](#170)
* enable tree-shaking for browser bundles
([#216](#216))
([f009d71](f009d71))
* **tsconfig:** set explicit rootDir to silence TS6059 in consumer IDEs
([#211](#211))
([a77ee8a](a77ee8a)),
closes [#209](#209)
* validate base64-prefixed chunked cookies decode to valid JSON
([#210](#210))
([302cc0e](302cc0e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tsconfig.json: outDir without rootDir triggers TS6059 / migration warning when validated by IDE

2 participants