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

build: add @wordpress/env as dev dep #184

Merged
merged 1 commit into from
Mar 25, 2023

Conversation

johnhooks
Copy link
Collaborator

What?

Add @wordpress/env as a development dependency and add wp-env scripts.

Why?

If using nvm to manage projects with different node versions, it's best to keep development dependencies in the package.json and installed in a project. Otherwise it has to be reinstalled globally in multiple node version.

erikyo
erikyo previously approved these changes Mar 25, 2023
Copy link
Collaborator

@erikyo erikyo left a comment

Choose a reason for hiding this comment

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

LGTM

@erikyo erikyo merged commit c83a1c7 into WordPress:develop Mar 25, 2023
@johnhooks johnhooks deleted the build/add-wp-env branch March 25, 2023 18:07
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 this pull request may close these issues.

2 participants