mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 05:10:18 +00:00
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:
File diff suppressed because one or more lines are too long
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "core/block",
|
||||
"category": "reusable",
|
||||
"attributes": {
|
||||
"ref": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"customClassName": false,
|
||||
"html": false,
|
||||
"inserter": false
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -6,5 +6,10 @@
|
||||
"type": "string",
|
||||
"source": "html"
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"className": false,
|
||||
"customClassName": false,
|
||||
"html": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user