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

Typescript only stack support #5632

Closed
1 task done
meza opened this issue Mar 2, 2023 · 1 comment
Closed
1 task done

Typescript only stack support #5632

meza opened this issue Mar 2, 2023 · 1 comment

Comments

@meza
Copy link

meza commented Mar 2, 2023

What version of Remix are you using?

@latest

Are all your remix dependencies & dev-dependencies using the same version?

  • Yes

Steps to Reproduce

  1. create a stack that is typescript only
  2. use the stack with npx create-remix@latest --template your/stack
  3. choose to not have typsecript
  4. observe as remix tries to do transformations it can't

Expected Behavior

I'd expect this question to simply not exist. It should be up to the stack maintainers to offer all the transformations that a user is allowed to do on them automagically

Actual Behavior

Remix tries to remove the tsconfig and modify the remix config among other things.

Instead of allowing the custom stack to carry on, the user is greeted with a failure and no way of continuing.

@brophdawg11 brophdawg11 added this to v2 Aug 3, 2023
@brophdawg11 brophdawg11 moved this to Backlog in v2 Aug 3, 2023
@markdalgleish markdalgleish moved this from Backlog to In progress in v2 Aug 7, 2023
@markdalgleish
Copy link
Member

Thanks for raising this issue. The new version of create-remix that's being released soon with Remix v2 (#6887) no longer performs any automatic TS to JS transformations. This issue is a good example of why we've opted to remove this behaviour.

@markdalgleish markdalgleish moved this from In progress to Closed in v2 Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Closed
Development

No branches or pull requests

4 participants