-
Notifications
You must be signed in to change notification settings - Fork 4k
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-Scripts: Use other packagers #59596
base: trunk
Are you sure you want to change the base?
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Hey I got stopped at the testing phase for this. Was trying to use gitpkg to replace the wp-scripts in a create-block demo. Something like this:
Though i believe I just replaced the wp-scripts version number in package.json with that url.
Can anyone let me know the best way to test this? Thanks. |
@gziolo Just following up here. Let me know if you're not the right person to @. I am unsure how to get this built and tested correctly and don't see any directions in the readme. I tried a few other ways like building it and copying the files and doing a file path import from a temporary gutenberg repo. I would really like to be able to test this. Thanks. |
@jsnajdr or @sirreal, what do you think? My only worry is that we test on CI only with My only feedback would be that I'm sure if the flag name |
I agree It would be also nice if we could auto-detect the package manager. Create React App can detect whether you run it with
|
There's a Node.js initiative to support different package managers called "corepack," it uses a Have you tried using corepack to enable this? We should be able to set a |
What?
Trying to use this script w/ a different package manager.
Why?
Virtual node_module storage is all the rage.
How?
Testing Instructions
Going to set up a pnpm gutenberg plugin when I have a chance, add some old packages and see if this works.
Testing Instructions for Keyboard
Screenshots or screencast
Co-authored-by: margolisj margolisj@git.wordpress.org