-
Notifications
You must be signed in to change notification settings - Fork 293
wp-now : Add/support for wpenv config #263
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
wp-now : Add/support for wpenv config #263
Conversation
ca5c5bb
to
7721a1d
Compare
You are welcome. Actually, this was pretty much my initial thought. And then my OOP self came out. :P |
@danielbachhuber , @sejas, @adamziel , it's updated to the latest trunk. |
@danielbachhuber Updated! Thanks! cc: @adamziel |
@kozer This still needs to be done too:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a comment related to code style, but other than that it looks good. Thank you @kozer !
Related to: #230
This pr supports reading
.wp-env.json
, and.wp-env.override.json
and converting them towp-env.json
format.Testing Instructions
npm install -g nx@latest
npx nx preview wp-now start --path=<path-to-plugin>
.wp-env.json
file to your plugin directory:npx nx preview wp-now start --path=<path-to-plugin>
wp: 6.2
in the console.wp-env.override.json
file in your plugin directory:wp: 6.33
in the console (You will receive an error but that's ok)