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

Documentation: Include section on how to test code for a given WP major #42390

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

gziolo
Copy link
Member

@gziolo gziolo commented Jul 13, 2022

What?

Closes #24376.

Adds the same information included in the post WordPress packages publish to npm every two weeks.

Why?

To make people aware how they can test JavaScript code from a specific major WordPress version.

How?

The new section is going to live at https://developer.wordpress.org/block-editor/reference-guides/packages/.

It can be previewed at https://github.com/WordPress/gutenberg/blob/2a91836f61709c8e4d477be9e3ab40a349989f53/docs/reference-guides/packages.md#testing-javascript-code-from-a-specific-major-wordpress-version

Copy link
Member

@fabiankaegy fabiankaegy left a comment

Choose a reason for hiding this comment

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

npx @wordpress/scripts packages-update --dist-tag=wp-5.8

This blew my mind :O

Approved :)

@gziolo gziolo added [Type] Developer Documentation Documentation for developers Needs User Documentation Needs new user documentation and removed Needs User Documentation Needs new user documentation labels Jul 13, 2022
@gziolo gziolo self-assigned this Jul 13, 2022
@gziolo gziolo added the npm Packages Related to npm packages label Jul 13, 2022
@gziolo gziolo merged commit d80bfb0 into trunk Jul 13, 2022
@gziolo gziolo deleted the update/docs-packages-testing branch July 13, 2022 15:07
@github-actions github-actions bot added this to the Gutenberg 13.8 milestone Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
npm Packages Related to npm packages [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal: dist-tags to associate package and WordPress versions
2 participants