-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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: Make usage of core-data
explicit
#8911
Changes from all commits
21e20a4
2a128f1
2c4f0b0
320365b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@wordpress/block-library", | ||
"version": "1.0.0", | ||
"description": "Core Blocks of the WordPress editor.", | ||
"description": "Block library for the WordPress editor.", | ||
"author": "The WordPress Contributors", | ||
"license": "GPL-2.0-or-later", | ||
"keywords": [ | ||
|
@@ -20,8 +20,7 @@ | |
"module": "build-module/index.js", | ||
"react-native": "src/index", | ||
"dependencies": { | ||
"@babel/runtime": "^7.0.0-beta.52", | ||
"@wordpress/api-fetch": "file:../api-fetch", | ||
"@babel/runtime-corejs2": "7.0.0-beta.56", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are local changes to master after There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was wondering if there is a way to catch this kind of issue on Travis and fail the build. It isn’t first time when it happens. |
||
"@wordpress/autop": "file:../autop", | ||
"@wordpress/blob": "file:../blob", | ||
"@wordpress/blocks": "file:../blocks", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/** | ||
* WordPress dependencies | ||
*/ | ||
import '@wordpress/core-data'; | ||
import { | ||
registerBlockType, | ||
setDefaultBlockName, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
/** | ||
* WordPress dependencies | ||
*/ | ||
import '@wordpress/blocks'; | ||
import '@wordpress/core-data'; | ||
import '@wordpress/nux'; | ||
import '@wordpress/viewport'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added in 2c4f0b0. |
||
|
||
/** | ||
* Internal dependencies | ||
*/ | ||
import './store'; | ||
import './hooks'; | ||
|
||
|
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.
viewport?
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.
There is no explicit usage in the module so I missed it ...
I will fix.
We need to figure a more robust way 😄
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 confused me a bit. If there's not explicit usage, the module shouldn't need to define it?
But in looking closer, there is explicit usage:
gutenberg/edit-post/store/effects.js
Line 142 in d7eb4f6
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 was all my fault, I didn't grep properly ...