Repository navigation
fix(vite-config): keep tsconfig path specifiers in internal declarations - #440
Conversation
The declarations written by `internalDeclarations` were still rewritten from tsconfig `paths` into relative paths, because the third `dts()` call did not get `pathsToAliases: false`. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: a1cb981 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
🚀 Changeset Version Preview1 package(s) bumped directly, 0 bumped as dependents. 🟩 Patch bumps
|
|
View your CI Pipeline Execution ↗ for commit a1cb981
💡 With Ultracache enabled, Nx Cloud learns each task's file inputs in CI and uses them on later runs. Turn on Ultracache in workspace settings ↗ · Read docs ↗ ☁️ Nx Cloud last updated this comment at |
@tanstack/eslint-config
@tanstack/oxfmt-config
@tanstack/oxlint-config
@tanstack/publish-config
@tanstack/typedoc-config
@tanstack/vite-config
commit: |
|
🎉 This PR has been released! Thank you for your contribution! |
Follow-up to #437 and #438. They merged minutes apart, so the
dts()call that #437 added forinternalDeclarationsdid not get thepathsToAliases: falsethat #438 gave the other two.In 0.7.0 the
dist/esmanddist/cjsdeclarations keep import specifiers as written, whiledist/internalstill has tsconfigpathsimports rewritten into relative paths:Changes
pathsToAliases: falseon the thirddts()call.internal-declarationsfixture gets a tsconfigpathsentry without abaseUrland a file that imports through it. A new test asserts that all three declaration sets keep the package specifier. It fails onmainfordist/internal.Validation
integrations/internal-declarations: build and 6 tests pass.integrations/internal-declarations-consumer: build and 3 tests pass.oxfmtreports no changes.The full
test:citarget was not run locally.🤖 Generated with Claude Code
Summary by CodeRabbit
Bug Fixes
New Features
MatchIdtype for use in generated declarations.