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

drop legacy rootDir arg #450

Open
Barbapapazes opened this issue Jul 8, 2024 · 3 comments
Open

drop legacy rootDir arg #450

Barbapapazes opened this issue Jul 8, 2024 · 3 comments

Comments

@Barbapapazes
Copy link

Barbapapazes commented Jul 8, 2024

Hello 👋,

I was wondering if there were any plans to upgrade to version 4 of the programming interface and take advantage of this major change to remove all the legacy and make the CLI cleaner?

@pi0
Copy link
Member

pi0 commented Jul 8, 2024

Nuxi only has peer dependency on kit so if nuxi is used on nuxt v4 projects it will leverage it (including new jiti-esm resolutions) and we will eventually backport jiti v2 to the core of CLI (as non breaking change).

What are legacy things to make cleaner?

@Barbapapazes
Copy link
Author

Mainly talking about some args marked as legacy

For example:

https://github.com/nuxt/cli/blob/main/src/commands/build.ts#L30

@pi0 pi0 changed the title Plan for v4? drop legacy rootDir arg Jul 8, 2024
@pi0
Copy link
Member

pi0 commented Jul 8, 2024

Alright, i've renamed issue to track specific drop. If you are thinking of more public interface-breaking changes worth discussing please feel free to open a new issue so we can have them in the plan for v4 when it comes (personally i think just for one arg, it probably doesn't worth to make a major version because it fragments users only). We perhaps make v4 when essentially need to break things for Nuxt 3 users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants