Skip to content

feat(cli): prompt to migrate baseUrl if detected#1692

Merged
fengmk2 merged 9 commits into
mainfrom
feat/baseurl-auto-fix
May 27, 2026
Merged

feat(cli): prompt to migrate baseUrl if detected#1692
fengmk2 merged 9 commits into
mainfrom
feat/baseurl-auto-fix

Conversation

@TheAlexLichter
Copy link
Copy Markdown
Member

@TheAlexLichter TheAlexLichter commented May 26, 2026

Based on #1688.


This PR allows the user to remove baseUrl from tsconfig.json before applying type-aware lint defaults. When run in non-interactive mode, this will simply be applied

Internally vp dlx @andrewbranch/ts5to6 --fixBaseUrl . is being run.

@TheAlexLichter TheAlexLichter changed the base branch from fix/baseurl-jsonc-detection to main May 26, 2026 22:32
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 26, 2026

✅ Staging deployment successful!

Preview: https://viteplus-staging.void.app/
Commit: 583f57c

@netlify
Copy link
Copy Markdown

netlify Bot commented May 26, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 583f57c
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a1649dc9034ea0008f7e6b0

Copy link
Copy Markdown
Member

@fengmk2 fengmk2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TheAlexLichter Thanks!

@fengmk2 fengmk2 self-assigned this May 27, 2026
@fengmk2
Copy link
Copy Markdown
Member

fengmk2 commented May 27, 2026

I will take over handling conflicts and then merge.

…auto-fix

# Conflicts:
#	packages/cli/src/__tests__/tsconfig.spec.ts
#	packages/cli/src/utils/tsconfig.ts
@fengmk2 fengmk2 added test: e2e Auto run e2e tests test: create-e2e Run `vp create` e2e tests labels May 27, 2026
@fengmk2 fengmk2 merged commit a29e478 into main May 27, 2026
93 checks passed
@fengmk2 fengmk2 deleted the feat/baseurl-auto-fix branch May 27, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test: create-e2e Run `vp create` e2e tests test: e2e Auto run e2e tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(migrate): auto-fix tsconfig baseUrl to enable typeAware/typeCheck by default

2 participants