-
Notifications
You must be signed in to change notification settings - Fork 0
chore(workflow-workers): update tsconfig.json to remove rootDir and add path mappings #1451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2898c48
a64adce
1012b00
450929f
4742ac4
12281ec
ca7d372
2282ff1
76d142e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,8 @@ | |
| "@/lib/*": ["lib/*"], | ||
| "@/components/*": ["components/*"], | ||
| "@/styles/*": ["styles/*"], | ||
| "@shared/*": ["shared/src/*"] | ||
| "@shared/*": ["shared/src/*"], // @deprecated, migrate to using "@/shared/*" instead | ||
| "@/shared/*": ["shared/src/*"] | ||
|
Comment on lines
+24
to
+25
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. π§© Analysis chainπ Script executed: # First, let's examine the tsconfig.json file to understand the context
cat -n tsconfig.json | head -30Repository: youngchingjui/issue-to-pr Length of output: 1096 π Script executed: # Search for any remaining usages of the deprecated "@shared/*" alias
rg -n '@shared/' --type=ts --type=js -g '!node_modules/**' -g '!**/dist/**' -g '!**/*.d.ts' 2>/dev/null | head -20Repository: youngchingjui/issue-to-pr Length of output: 2214 π Script executed: # Also check for dynamic imports with the deprecated alias
rg -n "import\(['\"]\@shared" --type=ts --type=js -g '!node_modules/**' -g '!**/dist/**' 2>/dev/nullRepository: youngchingjui/issue-to-pr Length of output: 51 π Script executed: # Check if there are any other files that might reference this
rg -l '@shared/' --type=ts --type=js --type=json -g '!node_modules/**' -g '!**/dist/**' 2>/dev/null | head -20Repository: youngchingjui/issue-to-pr Length of output: 760 Migration from "@shared/" to "@/shared/" is incomplete and must be completed before this change can be merged. The new "@/shared/" alias follows the consistent naming pattern with other path mappings. However, the codebase still contains numerous active imports using the deprecated "@shared/" alias that must be migrated:
Update all imports to use "@/shared/" instead of "@shared/" before merging this change. π€ Prompt for AI Agents |
||
| }, | ||
|
|
||
| /* TO SORT */ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.