Skip to content

Commit

Permalink
Merge pull request #2 from garridinsi/feature/1-blueprint-json
Browse files Browse the repository at this point in the history
Add blueprint JSON
  • Loading branch information
garridinsi authored Jun 28, 2024
2 parents a717397 + 089326d commit 93ea778
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 4 deletions.
33 changes: 33 additions & 0 deletions blueprint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"preferredVersions": {
"php": "8.0",
"wp": "latest"
},
"landingPage": "/wp-admin/post-new.php",
"features": {
"networking": true
},
"phpExtensionBundles": [
"kitchen-sink"
],
"steps": [
null,
false,
{
"step": "login",
"username": "admin",
"password": "password"
},
{
"step": "installPlugin",
"pluginZipFile": {
"resource": "wordpress.org/plugins",
"slug": "carbonbadge-block"
},
"options": {
"activate": true
}
},
null
]
}
2 changes: 1 addition & 1 deletion carbonbadge-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Plugin Name: Carbonbadge Block
* Description: The Website Carbon widget Gutenberg block, made with the Interactivity API.
* Version: 1.2.3
* Version: 1.2.4
* Requires at least: 6.5
* Requires PHP: 7.0
* Author: garridinsi
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "carbonbadge-block",
"version": "1.2.3",
"version": "1.2.4",
"description": "An interactive block with the Interactivity API",
"author": "The WordPress Contributors",
"license": "GPL-3.0-or-later",
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
=== Carbonbadge Block ===
Contributors: garridinsi
Tags: block
Tags: block, gutenberg, carbon, carbon footprint, website carbon, sustainability, interactivity api
Donate link: https://buymeacoffee.com/garridinsi
Requires at least: 6.5
Tested up to: 6.5
Expand Down Expand Up @@ -34,6 +34,9 @@ You can find the code of this plugin on [GitHub](https://github.com/garridinsi/c
3. Place the block on any Gutenberg post or page.

== Changelog ==
= 1.2.4 =
* Add blueprint.json file

= 1.2.3 =
* Remove Website Carbon text from i18n

Expand Down
2 changes: 1 addition & 1 deletion src/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "carbonbadge-block/carbonbadge-block",
"version": "1.2.3",
"version": "1.2.4",
"title": "Carbonbadge",
"category": "widgets",
"description": "Block to display your website's carbon footprint using the Carbonbadge API.",
Expand Down

0 comments on commit 93ea778

Please sign in to comment.