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

Move the Core Data Module to the reusable packages #7222

Merged
merged 3 commits into from
Jun 8, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/api-request/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wordpress/api-request",
"version": "1.0.0",
"version": "1.0.0-alpha.1",
"description": "Utility to call WordPress REST APIs",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
Expand Down
1 change: 1 addition & 0 deletions packages/core-data/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
File renamed without changes.
31 changes: 31 additions & 0 deletions packages/core-data/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "@wordpress/core-data",
"version": "1.0.0-alpha.1",
"description": "Access to and manipulation of core WordPress entities",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
"keywords": [
"wordpress",
"data",
"entities"
],
"homepage": "https://github.com/WordPress/gutenberg/tree/master/packages/core-data/README.md",
"repository": {
"type": "git",
"url": "https://github.com/WordPress/gutenberg.git"
},
"bugs": {
"url": "https://github.com/WordPress/gutenberg/issues"
},
"main": "build/index.js",
"module": "build-module/index.js",
"dependencies": {
"@wordpress/api-request": "^1.0.0-alpha.1",
"@wordpress/data": "^1.0.0-alpha.1",
"lodash": "4.17.5",
"rememo": "3.0.0"
},
"publishConfig": {
"access": "public"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ const entryPointNames = [
'editor',
'utils',
'viewport',
'core-data',
'plugins',
'edit-post',
'core-blocks',
Expand All @@ -157,6 +156,7 @@ const gutenbergPackages = [
'dom',
'element',
'api-request',
'core-data',
];

const wordPressPackages = [
Expand Down