Skip to content

refactor: configure @/* and @mdb/* path aliases and clean up deep relative imports - #222

Draft
aminamos wants to merge 1 commit into
MobilityData:mainfrom
aminamos:refactor/195-import-aliases
Draft

aminamos wants to merge 1 commit into
MobilityData:mainfrom
aminamos:refactor/195-import-aliases

Conversation

@aminamos

Copy link
Copy Markdown

Summary:

Resolves #195.
Configures @/* (pointing to src/*) and @mdb/* (pointing to src/app/*) path aliases in tsconfig.json and jest.config.ts, eliminating brittle multi-level relative path traversal.

Expected behavior:

Clean, maintainable module imports throughout deep route folders.

Testing tips:

  1. Checkout refactor/195-import-aliases.
  2. Run yarn test to confirm module resolution works in Jest and TypeScript.

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Run the unit tests with yarn test to make sure you didn't break anything
  • Add or update any needed documentation to the repo
  • Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
  • Linked all relevant issues
  • Include screenshot(s) showing how this pull request works and fixes the issue(s)

@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

@aminamos is attempting to deploy a commit to the MobilityData Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

Improve imports and file structure

2 participants