Skip to content

Commit cff2dbd

Browse files
authored
Merge pull request #2 from BeAPI/release/1.0.1
Release 1.0.1
2 parents 3033fce + ae00153 commit cff2dbd

File tree

6 files changed

+44
-17
lines changed

6 files changed

+44
-17
lines changed

.distignore

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
1+
# Directories
12
/.git
23
/.github
3-
/.wordpress-org
44
/node_modules
55
/src
66

7+
# Configuration files
78
.distignore
89
.editorconfig
910
.gitattributes
1011
.gitignore
1112
.plugin-data
1213
.wp-env.json
13-
CHANGELOG.md
14+
grumphp.yml
15+
phpcs.xml.dist
16+
psalm.xml.dist
17+
18+
# Dependency management
1419
composer.json
1520
composer.lock
16-
grumphp.yml
17-
LICENSE.md
1821
package.json
1922
package-lock.json
20-
phpcs.xml.dist
21-
phpunit.xml.dist
22-
psalm.xml.dist
23+
24+
# Documentation (GitHub)
25+
CHANGELOG.md
2326
README.md
24-
webpack.config.js
25-
yarn.lock
27+
28+
# Development files
29+
*.log
30+
*.map
31+
.DS_Store
32+
Thumbs.db

.gitattributes

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
1+
# Directories
12
/.git export-ignore
23
/.github export-ignore
4+
/node_modules export-ignore
5+
/src export-ignore
6+
7+
# Configuration files
38
/.distignore export-ignore
9+
/.editorconfig export-ignore
410
/.gitattributes export-ignore
511
/.gitignore export-ignore
612
/.plugin-data export-ignore
7-
/CHANGELOG.md export-ignore
13+
/.wp-env.json export-ignore
814
/grumphp.yml export-ignore
915
/phpcs.xml.dist export-ignore
10-
/psalm.xml export-ignore
16+
/psalm.xml.dist export-ignore
17+
18+
# Dependency management
19+
/composer.json export-ignore
20+
/composer.lock export-ignore
21+
/package.json export-ignore
22+
/package-lock.json export-ignore
23+
24+
# Documentation (GitHub)
25+
/CHANGELOG.md export-ignore
1126
/README.md export-ignore

.plugin-data

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "1.0.0",
2+
"version": "1.0.1",
33
"slug": "blockparty-iframe"
44
}

blockparty-iframe.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
/**
33
* Plugin Name: Blockparty Iframe
44
* Description: Add a block to display an embedded frame in the WordPress editor.
5-
* Version: 1.0.0
5+
* Version: 1.0.1
66
* Requires at least: 6.7
7-
* Requires PHP: 7.4
7+
* Requires PHP: 8.1
88
* Author: Be API Technical team
99
* License: GPL-2.0-or-later
1010
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -19,11 +19,16 @@
1919
exit; // Exit if accessed directly.
2020
}
2121

22-
define( 'BLOCKPARTY_IFRAME_VERSION', '1.0.0' );
22+
define( 'BLOCKPARTY_IFRAME_VERSION', '1.0.1' );
2323
define( 'BLOCKPARTY_IFRAME_URL', plugin_dir_url( __FILE__ ) );
2424
define( 'BLOCKPARTY_IFRAME_DIR', plugin_dir_path( __FILE__ ) );
2525
define( 'BLOCKPARTY_IFRAME_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
2626

27+
// Require vendor
28+
if ( file_exists( BLOCKPARTY_IFRAME_DIR . '/vendor/autoload.php' ) ) {
29+
require BLOCKPARTY_IFRAME_DIR . '/vendor/autoload.php';
30+
}
31+
2732
/**
2833
* Registers the block using a `blocks-manifest.php` file, which improves the performance of block type registration.
2934
* Behind the scenes, it also registers all assets so they can be enqueued

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blockparty-iframe",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Add a block to display an embedded frame in the WordPress editor.",
55
"author": "Be API Technical team",
66
"license": "GPL-2.0-or-later",

src/blockparty-iframe/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 3,
44
"name": "blockparty/iframe",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"title": "Iframe",
77
"category": "widgets",
88
"description": "Display an embedded frame.",

0 commit comments

Comments
 (0)