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

Add support for TS 5.0 "extends" array #1954

Closed
cspotcode opened this issue Feb 9, 2023 · 11 comments · Fixed by #1958
Closed

Add support for TS 5.0 "extends" array #1954

cspotcode opened this issue Feb 9, 2023 · 11 comments · Fixed by #1958

Comments

@cspotcode
Copy link
Collaborator

TS 5.0 adds support for "extends" to be an array of one or more extended configs, not just a single config.

https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#supporting-multiple-configuration-files-in-extends

We can do the same, also merging ts-node options from multiple tsconfigs.

@evantill
Copy link

evantill commented Apr 9, 2023

is it possible to add some warning that current released version does not support tsconfig extensions ?

@Kurt-von-Laven
Copy link

Thank you for addressing this issue! Would it be possible to release this fix when time allows?

@simenandre
Copy link

Let me know if I can help with anything in regard to releasing!

@4lph4-Ph4un
Copy link

This is really needed! Any releases in the horizon?

@simenandre
Copy link

For anyone finding this issue and wanting a fix while we wait, plan, work or try to find time to work on a release.

It is possible to install ts-node from git, as @cspotcode noted in #1958.

There's a snippet and instructions here: #1977

@BryceBarbara
Copy link

@simenandre Were you able to get that to work? It doesn't work for me because the repo is downloaded and there's no dist files.

@simenandre
Copy link

@simenandre Were you able to get that to work? It doesn't work for me because the repo is downloaded and there's no dist files.

There are others having some issues with yarn, etc. Maybe you could repost your setup in the issue I referenced?

@alexeyr-ci
Copy link

There has been a new release 10.9.2, but from v10.9.1...v10.9.2 it looks like this change isn't included?

@tylim88
Copy link

tylim88 commented Mar 27, 2024

still same issue with v10.9,2

@enisdenjo
Copy link

seriously? a year passed and this is still not released. please release a new version

@yogrr
Copy link

yogrr commented Jul 8, 2024

can be solved now by using

pnpm i -D ts-node@11.0.0-beta.1

worked for me with this version

don't forget to rm node_modules or rm old ts-node before

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 a pull request may close this issue.

10 participants