Skip to content

Conversation

sandipkumardey
Copy link

Fixes- #183

Summary

Implemented path aliasing across the ui package and migrated deep relative imports to domain-based aliases.

Changes

  • Vite config (ui/vite.config.ts): added aliases @api, @store, @modules, @utils, @types, @assets (kept @).
  • TS config (ui/tsconfig.json): added /* patterns and bare entries for index.ts exports.
  • ESLint (ui/eslint.config.js): added rule to warn on deep relative imports (../../+).
  • Codemod (ui/scripts/alias-codemod.mjs): applied migration across 51 files.

@deepanshupal09-datazip
Copy link
Collaborator

Hi @sandipkumardey, can you please resolve the merge conflicts and fix the linter errors and update the PR.

@sandipkumardey
Copy link
Author

Don't worry, will do it.

@deepanshupal09-datazip
Copy link
Collaborator

Hi @sandipkumardey, please run pnpm lint:fix in ui folder to fix lint errors

@sandipkumardey sandipkumardey force-pushed the refactor/alias-imports branch from 2c167b8 to 9285693 Compare October 9, 2025 07:21
@sandipkumardey
Copy link
Author

Hi @deepanshupal09-datazip, can you check it now?
image

@deepanshupal09-datazip
Copy link
Collaborator

Please fix the build errors

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.

3 participants