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

fix(vite): prevent vite:build copying package.json when generatePackageJson false #19780

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

vneogi199
Copy link
Contributor

closed #19758

Current Behavior

When generatePackageJson is set to false, vite:build copies package.json to output directory.

Expected Behavior

No package.json is generated in the dist folder

Related Issue(s)

Fixes #19758

@vneogi199 vneogi199 requested a review from a team as a code owner October 22, 2023 07:53
@vneogi199 vneogi199 requested a review from jaysoo October 22, 2023 07:53
@vercel
Copy link

vercel bot commented Oct 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Jan 30, 2024 11:01am

@vergilfromadyen
Copy link
Contributor

Hey @vneogi199 (and @jaysoo I suppose), are there any more changes here or can we expect this to land in the codebase soonish?

Thanks and happy holidays :)

@mandarini mandarini self-assigned this Jan 29, 2024
Copy link
Member

@mandarini mandarini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, makes sense to me

@mandarini mandarini enabled auto-merge (squash) January 30, 2024 11:00
@mandarini
Copy link
Member

Thanks for this PR @vneogi199 ! Keep in mind that very very soon we will be moving away from executors, so this change will not have much effect!

@jsmecham
Copy link

Keep in mind that very very soon we will be moving away from executors, so this change will not have much effect!

Could you elaborate more on what this means?

@mandarini
Copy link
Member

@jsmecham we will elaborate soon, next week, that is! :) It's a new feature!

I'm merging your PR, though, in any case, so you will be able to move forward with your issue!

@mandarini mandarini merged commit 85b3a5f into nrwl:master Jan 30, 2024
6 checks passed
FrozenPandaz pushed a commit that referenced this pull request Jan 31, 2024
Copy link

github-actions bot commented Feb 5, 2024

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vite:build copies package.json to outputPath
4 participants