-
Notifications
You must be signed in to change notification settings - Fork 833
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
Progress TypeScript migration #671
Conversation
Hi guys, I ran into issues trying to get Jest set up for TypeScript and then circumstances changed at work and I couldn't spend any more time on this there. I hope to spend some of my own time on this this weekend, but if anyone feels like jumping in and helping out I would welcome that. |
Co-authored-by: Josh Whitham jwhitham@digitalstack.io
Co-authored-by: Josh Whitham jwhitham@digitalstack.io
Co-authored-by: Josh Whitham jwhitham@digitalstack.io
Co-authored-by: Josh Whitham jwhitham@digitalstack.io
This helps with issues I ran in to surrounding @parcel/transformer-typescript-types and is mentioned here: missive#600
The following issue was encountered, so .parcelrc was removed: parcel-bundler/parcel#8014
As per build warning: '@parcel/transformer-postcss: Parcel includes CSS transpilation and vendor prefixing by default. PostCSS config .postcssrc contains only redundant plugins. Deleting it may significantly improve build performance.'
I was getting 'ReferenceError: require is not defined' errors from jest since moving the repo to TypeScript. Removing it allows the tests to run fine.
What's the status of this? Need help on any parts of it? |
This is currently waiting for review. The PR was converted to draft because tests weren't passing, but I resolved that with my latest commit and the PR has been ready for review since then. Maybe I could have been clearer about that and also pinged the maintainers? I was planning on waiting until this small PR was approved before I kept working on the migration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi hi! I'm not a maintainer on this repo, so there's no need to listen to my review. Just popping in out of enthusiasm for this PR landing, and to try to be helpful. 🙂
These can be shared across all packages
Any info on when this is going to be merged? |
I've picked up from the starts that @Scalahansolo and @zhouzi have made. I was progressing through writing types out on another branch, but I thought that it would be good make sure that this is something that is still supported and to raise an early PR.
This PR just makes filename changes, moves devDependencies up to the root of the repo and modifies some config. Once it is approved I'll continue working on getting everything typed properly.
This branch is rebased on the latest upstream main and
yarn && yarn build
runs fine without errors or warnings.