Skip to content

Commit 83dd661

Browse files
committed
Release version 1.1.0
1 parent 62bef7d commit 83dd661

File tree

121 files changed

+4708
-18
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+4708
-18
lines changed

.gitignore

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
1-
# Directories/files that may be generated by this project
2-
build
3-
node_modules
4-
vendor
5-
coverage
6-
.phpunit.result.cache
1+
/.git
2+
/.github
3+
/.wordpress-org
4+
/config
5+
/node_modules
6+
/src
7+
/tests
78

8-
# Directories/files that may appear in your environment
9-
*.log
10-
.cache
11-
12-
# Operating system specific files
13-
.DS_Store
14-
Thumbs.db
15-
16-
# Local overrides
17-
.wp-env.override.json
18-
phpcs.xml
19-
phpunit.xml
9+
.distignore
10+
.gitattributes
11+
.gitignore
12+
.nvmrc
13+
.plugin-data
14+
.wp-env.json
15+
CHANGELOG.md
16+
composer.json
17+
composer.lock
18+
grumphp.yml
19+
LICENSE.md
20+
package.json
21+
package-lock.json
22+
phpcs.xml.dist
23+
phpunit.xml.dist
24+
psalm.xml
25+
README.md
26+
webpack.config.js
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"$schema": "https://schemas.wp.org/trunk/block.json",
3+
"apiVersion": 2,
4+
"name": "multisite-shared-blocks/shared-block",
5+
"version": "1.1.0",
6+
"title": "Shared Block",
7+
"category": "design",
8+
"description": "",
9+
"icon": "share",
10+
"supports": {
11+
"html": false
12+
},
13+
"attributes": {
14+
"siteId": {
15+
"type": "integer"
16+
},
17+
"postId": {
18+
"type": "integer"
19+
},
20+
"blockId": {
21+
"type": "string"
22+
},
23+
"blockTitle": {
24+
"type": "string"
25+
},
26+
"display": {
27+
"type": "string",
28+
"enum": [
29+
"full",
30+
"excerpt"
31+
],
32+
"default": "full"
33+
}
34+
},
35+
"editorScript": "file:./index.js",
36+
"editorStyle": "file:./index.css",
37+
"textdomain": "multisite-shared-blocks"
38+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives', 'wp-url'), 'version' => 'd4c19ef0bb9d40212add');

build/blocks/shared-block/index.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/blocks/shared-block/index.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

build/hooks/index.asset.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-primitives', 'wp-wordcount'), 'version' => 'ec9cea5ef0a395114c8a');

0 commit comments

Comments
 (0)