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

feat: setup typescript compilation and migrate lookup file #84

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pradel
Copy link
Contributor

@pradel pradel commented Apr 11, 2022

Description

This change is the first one in the codebase migration from Flow to typescript. Right now babel is in charge of compiling both flow and typescript files but in the long term, we will remove babel and just use the typescript compiler to match the other stacks projects config.
In this pull request I just added the necessary config to allow babel to compile both Flow and Ts files. I also converted the lookup.js file to typescript, mostly changed the types and added 2 ts-ignore to silence 2 errors and not change the current code.

If you like the way this pr is doing things, we can start migrating more files to typescript.

This change is part of the M1 stacksgov/grants-program#282.

This pull request is a cleanup of #82 made by @Akirtovskis to fix the CI issues he faced.

Checklist

  • Code is commented where needed
  • Unit test coverage for new or modified code paths
  • npm run test passes
  • Changelog is updated
  • Tag 1 of @CharlieC3 or @wileyj

Copy link
Contributor

@Akirtovskis Akirtovskis left a comment

Choose a reason for hiding this comment

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

Thanks for the clean up! LGTM!

@pradel
Copy link
Contributor Author

pradel commented Apr 20, 2022

Hey there any update?

@CLAassistant
Copy link

CLAassistant commented Nov 16, 2023

CLA assistant check
All committers have signed the CLA.

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