Skip to content
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

refactor: remove .js ext from ALL local imports across the codebase #361

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

enapupe
Copy link
Contributor

@enapupe enapupe commented Nov 13, 2023

Ideally, imports should reference the source file, not the build file.

the trigger for this change was a requirement for jest to work directly with typescript files rather than the build output. but not just that, this change should move the project to a more standard direction and also improve code editors to better understand the code structure since now they reference the source files.

While there,

  • I also added a trigger for github test action when pushing the branch test.
  • Added yarn caching via actions/setup-node@v3

@enapupe enapupe requested a review from vnugent November 13, 2023 00:01
package.json Outdated Show resolved Hide resolved
ideally, imports should reference the source file, not the build file.
the triger for this change was a requirement for jest to work directly with typescript files rather than the build output. but not just that, this change should move the project to a more standard direction and also improve code editors to better understand the code structure since now they reference the source files.
@vnugent vnugent merged commit db3b348 into develop Nov 13, 2023
1 check passed
enapupe added a commit that referenced this pull request Nov 13, 2023
vnugent pushed a commit that referenced this pull request Nov 13, 2023
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.

2 participants