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

v2 changes #121

Closed
aladdin-add opened this issue Jan 5, 2022 · 9 comments
Closed

v2 changes #121

aladdin-add opened this issue Jan 5, 2022 · 9 comments

Comments

@aladdin-add
Copy link

aladdin-add commented Jan 5, 2022

it won't happen soon, just want to list all the possible things:

@ToppleTheNun
Copy link

Maybe consider switching dts.config.ts/dts.config.js to use a defineConfig function similar to how vitest does?

Example:

import { defineConfig } from 'dts-cli/config';

export default defineConfig({
  rollup: (config: RollupOptions, options: DtsOptions) => // ...
});

@aladdin-add
Copy link
Author

For better compat, I was thinking to support both, and it can be in a minor release - as no longer a breaking change?

@mrmartineau
Copy link

How about using Vitest instead of Jest? The API is almost the same and the performance is so much better.

@aladdin-add
Copy link
Author

sounds interesting! :🤔

  • rollup => vite (lib mode)
  • jest => vitest

@heath-freenome
Copy link

They are already on Jest 29!?

@heath-freenome
Copy link

Consider Node 18 as well since it goes active in November 2022

aladdin-add added a commit that referenced this issue Mar 23, 2023
Drop Node 12 support (end-of-life 2022-04-30)
Drop Node 13 support (end-of-life 2020-06-01)
Drop Node 14 support (end-of-life 2023-04-30)
Drop Node 15 support (end-of-life 2021-06-01)
Drop Node 17 support (end-of-life 2022-06-01)

refs: #121
@aladdin-add
Copy link
Author

update: I have been working on this, will publish v2 asap. 💪

branch: https://github.com/weiran-zsd/dts-cli/tree/2.x

aladdin-add added a commit that referenced this issue Mar 28, 2023
it also skip type-checking `dts.config.ts` for user friendly.
refs: #121
aladdin-add added a commit that referenced this issue Mar 28, 2023
it also update the builder to vite(rollup-based).
refs: #121
@aladdin-add
Copy link
Author

pushed a pre-release: https://github.com/weiran-zsd/dts-cli/releases/tag/v2.0.0-beta.0

I will test it in some of my private projects and push a stable release (if works fine! 😄 ).

@aladdin-add
Copy link
Author

v2.0 has been released: https://github.com/weiran-zsd/dts-cli/releases/tag/v2.0.0

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

4 participants