-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[experiments] Add README.md and CHANGELOG.md #44457
Conversation
…use the correct name in package.json
Size Change: +305 B (0%) Total Size: 1.26 MB
ℹ️ View Unchanged
|
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 see that there is also .npmrc
included with all packages:
https://github.com/WordPress/gutenberg/blob/trunk/packages/dom/.npmrc
As a follow-up, we could enable TS types, example:
https://github.com/WordPress/gutenberg/blob/trunk/packages/dom/tsconfig.json
The list of tasks necessary for a new package has grown over time 😅
Yes, it isn't that useful outside of WordPress core with all the names of packages hardcoded. We can add a bolded paragraph that emphasizes that it's for use in WP core only. |
Co-authored-by: Greg Ziółkowski <[email protected]>
Co-authored-by: Greg Ziółkowski <[email protected]>
Co-authored-by: Greg Ziółkowski <[email protected]>
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.
It should be good to go after my feedback gets addressed. Thank you so much for a instal follow-up PR ❤️
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.
This looks good.
I've added an inline suggestion to alert plugin and theme developers to avoid using APIs exported via this packages. It's a duplicate of the comment in the code base.
Co-authored-by: Peter Wilson <[email protected]>
Co-authored-by: Peter Wilson <[email protected]>
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.
Dandy 🌻
Presuming the tests complete as expected, this looks good for merge.
React Native E2E failures are in line with a those I see on another PR at https://github.com/WordPress/gutenberg/actions/runs/3131829717/jobs/5083554699 – must be GitHub CI acting up. Let's get this one merged! |
What?
Follow up to #43386 that introduced a new
@wordpress
package calledexperiments
.As @gziolo mentioned:
This PR does just that. My one concern is that it explains an intentionally opaque system, even if most non-core developers are not aware of the README.md file. I removed the consent string from the README file to avoid producing code snippets that can be copied and pasted.
Testing Instructions
Read the PR and confirm it looks good and makes sense.
CC @gziolo @jsnajdr @peterwilsoncc