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

Conversion docs from tsdx to dts? #86

Open
The-Code-Monkey opened this issue Nov 8, 2021 · 3 comments
Open

Conversion docs from tsdx to dts? #86

The-Code-Monkey opened this issue Nov 8, 2021 · 3 comments

Comments

@The-Code-Monkey
Copy link

It would be nice if there was a code-mod or a doc to say how to convert between the two.

@sidwebworks
Copy link
Collaborator

sidwebworks commented Nov 13, 2021

The major changes are mainly bug fixes, upgraded deps, switching from Parcel to Vite JS etc. So the migration shouldn't be that hard imo? But sure we can add something I think.

Can you share your experience? What issues you faced while migration? That might give me some idea

@The-Code-Monkey

@The-Code-Monkey
Copy link
Author

It was mainly setting up the correct package versions as wel as the difference in tsconfig stuff.

@typpo
Copy link

typpo commented Apr 28, 2023

I just did this and it was pretty straightforward:

  1. Update package versions (I created a new dts project and copied the versions from there)
  2. Update tsconfig.json (same)
  3. Copy over the github workflows in .github/workflows
  4. I had to install jest-watch-typeahead and @types/jest to get tests working npm install --save-dev jest-watch-typeahead @types/jest

Big thanks to the maintainer for keeping this project alive.

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

No branches or pull requests

3 participants