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

Packages: Move Plugins module to packages #7235

Merged
merged 2 commits into from
Jun 20, 2018
Merged

Conversation

gziolo
Copy link
Member

@gziolo gziolo commented Jun 8, 2018

Description

Part of #3955.

How has this been tested?

The following commands should work:

  • npm test
  • npm run dev
  • npm run build

Copy the following code into JS console: https://gist.github.com/gziolo/e2954aa83aa1f823b2b05ca1660c2223#file-my-plugin-es5-js. Make sure that sidebar plugins registers properly.

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.

@gziolo gziolo added [Type] Code Quality Issues or PRs that relate to code quality npm Packages Related to npm packages labels Jun 8, 2018
@gziolo gziolo added this to the 3.1 milestone Jun 8, 2018
@gziolo gziolo self-assigned this Jun 8, 2018
@gziolo gziolo requested review from youknowriad and a team June 8, 2018 19:45
@gziolo gziolo force-pushed the update/move-plugins-packages branch from d734512 to 089982b Compare June 8, 2018 19:48
@@ -505,7 +505,7 @@ function gutenberg_register_scripts_and_styles() {
wp_register_script(
'wp-plugins',
gutenberg_url( 'build/plugins/index.js' ),
array( 'wp-element', 'wp-components', 'wp-utils', 'wp-data' ),
array( 'lodash', 'wp-element', 'wp-hooks' ),
Copy link
Member Author

Choose a reason for hiding this comment

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

This is surprising! It was sort of broken but worked anyways ... :)

Copy link
Member

@aduth aduth left a comment

Choose a reason for hiding this comment

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

👍 (has merge conflict)

@gziolo gziolo force-pushed the update/move-plugins-packages branch from cf62fc5 to 95a05d2 Compare June 20, 2018 07:31
@gziolo
Copy link
Member Author

gziolo commented Jun 20, 2018

Thanks, rebased with master.

@gziolo gziolo merged commit e440ca2 into master Jun 20, 2018
@gziolo gziolo deleted the update/move-plugins-packages branch June 20, 2018 08:30
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] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants