Chore: Update package-lock.json file

Improve the shape of package-lock.json file to make it stable. The main change is that both dependencies of WordPress packages that use npm aliases are listed as development dependencies: puppeteer and prettier. This patch includes also block.json files for dynamic blocks copied from WordPress packages.

Props ellatrix.
Fixes #50420.



git-svn-id: https://develop.svn.wordpress.org/trunk@48213 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Greg Ziółkowski 2020-06-29 11:48:53 +00:00
parent dc00393c1f
commit df8af186de
14 changed files with 603 additions and 634 deletions

850
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -63,6 +63,7 @@
"jquery-migrate": "1.4.1",
"matchdep": "~2.0.0",
"node-sass": "~4.14.1",
"prettier": "npm:wp-prettier@2.0.5",
"puppeteer": "npm:puppeteer-core@3.0.0",
"qunit": "~2.9.0",
"sinon": "~9.0.0",
@ -71,12 +72,12 @@
"uglify-js": "^3.6.0",
"uglifyjs-webpack-plugin": "2.2.0",
"wait-on": "3.3.0",
"webpack": "4.41.0",
"webpack": "4.43.0",
"webpack-dev-server": "3.11.0",
"webpack-livereload-plugin": "2.2.0"
"webpack-livereload-plugin": "2.3.0"
},
"dependencies": {
"@babel/polyfill": "7.4.4",
"@babel/polyfill": "7.10.1",
"@wordpress/a11y": "2.11.0",
"@wordpress/annotations": "1.19.0",
"@wordpress/api-fetch": "3.18.0",

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,31 @@
{
"name": "core/archives",
"category": "widgets",
"attributes": {
"align": {
"type": "string",
"enum": [
"left",
"center",
"right",
"wide",
"full"
]
},
"className": {
"type": "string"
},
"displayAsDropdown": {
"type": "boolean",
"default": false
},
"showPostCounts": {
"type": "boolean",
"default": false
}
},
"supports": {
"align": true,
"html": false
}
}

View File

@ -0,0 +1,14 @@
{
"name": "core/block",
"category": "reusable",
"attributes": {
"ref": {
"type": "number"
}
},
"supports": {
"customClassName": false,
"html": false,
"inserter": false
}
}

View File

@ -0,0 +1,28 @@
{
"name": "core/calendar",
"category": "widgets",
"attributes": {
"align": {
"type": "string",
"enum": [
"left",
"center",
"right",
"wide",
"full"
]
},
"className": {
"type": "string"
},
"month": {
"type": "integer"
},
"year": {
"type": "integer"
}
},
"supports": {
"align": true
}
}

View File

@ -0,0 +1,35 @@
{
"name": "core/categories",
"category": "widgets",
"attributes": {
"align": {
"type": "string",
"enum": [
"left",
"center",
"right",
"wide",
"full"
]
},
"className": {
"type": "string"
},
"displayAsDropdown": {
"type": "boolean",
"default": false
},
"showHierarchy": {
"type": "boolean",
"default": false
},
"showPostCounts": {
"type": "boolean",
"default": false
}
},
"supports": {
"align": true,
"html": false
}
}

View File

@ -0,0 +1,41 @@
{
"name": "core/latest-comments",
"category": "widgets",
"attributes": {
"align": {
"type": "string",
"enum": [
"left",
"center",
"right",
"wide",
"full"
]
},
"className": {
"type": "string"
},
"commentsToShow": {
"type": "number",
"default": 5,
"minimum": 1,
"maximum": 100
},
"displayAvatar": {
"type": "boolean",
"default": true
},
"displayDate": {
"type": "boolean",
"default": true
},
"displayExcerpt": {
"type": "boolean",
"default": true
}
},
"supports": {
"align": true,
"html": false
}
}

View File

@ -0,0 +1,96 @@
{
"name": "core/latest-posts",
"category": "widgets",
"attributes": {
"align": {
"type": "string",
"enum": [
"left",
"center",
"right",
"wide",
"full"
]
},
"className": {
"type": "string"
},
"categories": {
"type": "array",
"items": {
"type": "object"
}
},
"selectedAuthor": {
"type": "number"
},
"postsToShow": {
"type": "number",
"default": 5
},
"displayPostContent": {
"type": "boolean",
"default": false
},
"displayPostContentRadio": {
"type": "string",
"default": "excerpt"
},
"excerptLength": {
"type": "number",
"default": 55
},
"displayAuthor": {
"type": "boolean",
"default": false
},
"displayPostDate": {
"type": "boolean",
"default": false
},
"postLayout": {
"type": "string",
"default": "list"
},
"columns": {
"type": "number",
"default": 3
},
"order": {
"type": "string",
"default": "desc"
},
"orderBy": {
"type": "string",
"default": "date"
},
"displayFeaturedImage": {
"type": "boolean",
"default": false
},
"featuredImageAlign": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"featuredImageSizeSlug": {
"type": "string",
"default": "thumbnail"
},
"featuredImageSizeWidth": {
"type": "number",
"default": null
},
"featuredImageSizeHeight": {
"type": "number",
"default": null
}
},
"supports": {
"align": true,
"html": false
}
}

View File

@ -0,0 +1,55 @@
{
"name": "core/rss",
"category": "widgets",
"attributes": {
"align": {
"type": "string",
"enum": [
"left",
"center",
"right",
"wide",
"full"
]
},
"className": {
"type": "string"
},
"columns": {
"type": "number",
"default": 2
},
"blockLayout": {
"type": "string",
"default": "list"
},
"feedURL": {
"type": "string",
"default": ""
},
"itemsToShow": {
"type": "number",
"default": 5
},
"displayExcerpt": {
"type": "boolean",
"default": false
},
"displayAuthor": {
"type": "boolean",
"default": false
},
"displayDate": {
"type": "boolean",
"default": false
},
"excerptLength": {
"type": "number",
"default": 55
}
},
"supports": {
"align": true,
"html": false
}
}

View File

@ -0,0 +1,33 @@
{
"name": "core/search",
"category": "widgets",
"attributes": {
"align": {
"type": "string",
"enum": [
"left",
"center",
"right",
"wide",
"full"
]
},
"className": {
"type": "string"
},
"label": {
"type": "string"
},
"placeholder": {
"type": "string",
"default": ""
},
"buttonText": {
"type": "string"
}
},
"supports": {
"align": true,
"html": false
}
}

View File

@ -6,5 +6,10 @@
"type": "string",
"source": "html"
}
},
"supports": {
"className": false,
"customClassName": false,
"html": false
}
}

View File

@ -1,7 +1,9 @@
{
"name": "core/social-link",
"category": "widgets",
"icon": "share",
"parent": [
"core/social-links"
],
"attributes": {
"url": {
"type": "string"
@ -12,5 +14,10 @@
"label": {
"type": "string"
}
},
"supports": {
"reusable": false,
"html": false,
"lightBlockWrapper": true
}
}

View File

@ -0,0 +1,31 @@
{
"name": "core/tag-cloud",
"category": "widgets",
"attributes": {
"align": {
"type": "string",
"enum": [
"left",
"center",
"right",
"wide",
"full"
]
},
"className": {
"type": "string"
},
"taxonomy": {
"type": "string",
"default": "post_tag"
},
"showTagCounts": {
"type": "boolean",
"default": false
}
},
"supports": {
"html": false,
"align": true
}
}