Skip to content

Commit

Permalink
Release 1.0.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradyvercher committed Nov 23, 2024
1 parent 396aeff commit 9a5a319
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@

## [Unreleased]

## [1.0.1] - 2024-11-23

* Imported PluginSidebar and other components from the editor package to prevent notices in the console after WordPress 6.6.
* Updated Prism.js to version 1.29.0.
* Added an admin notice if Shiny Code is missing dependencies. ([#5](https://github.com/cedaro/shiny-code/issues/5))
* Updated npm and Composer dependencies.
* Fixed coding standards warnings and errors.
* Updated Sass files to fix deprecation warnings and errors.

## [1.0.0] - 2018-12-13

Expand All @@ -14,5 +21,6 @@

* First release.

[Unreleased]: https://github.com/cedaro/shiny-code/compare/v1.0.0...HEAD
[Unreleased]: https://github.com/cedaro/shiny-code/compare/v1.0.1...HEAD
[1.0.1]: https://github.com/cedaro/shiny-code/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/cedaro/shiny-code/compare/v0.1.0...v1.0.0
2 changes: 2 additions & 0 deletions bin/archive
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const argv = require( 'minimist' )( process.argv.slice( 2 ), {
} );

const pluginFile = path.join( __dirname, `../${ config.name }.php` );
const composerJson = path.join( __dirname, '../composer.json' );
const packageJson = path.join( __dirname, '../package.json' );
let version = argv.version;

Expand All @@ -23,6 +24,7 @@ if ( ! version ) {

replaceInFile( pluginFile, /(Version:[\s]+).+/, `\$1${ version }` )
.then( () => replaceInFile( pluginFile, /VERSION = '.+'/, `VERSION = '${ version }'` ) )
.then( () => replaceInFile( composerJson, /"version": "[^"]+"/, `"version": "${ version }"` ))
.then( () => replaceInFile( packageJson, /"version": "[^"]+"/, `"version": "${ version }"` ))
.then( () => spawn( 'composer', [ 'install', '--no-dev', '--prefer-dist' ] ) )
.then( () => spawn( 'composer', [ 'dump-autoload', '--no-dev', '--optimize' ] ) )
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "cedaro/shiny-code",
"description": "A Gutenberg block for editing and displaying code with syntax highlighting.",
"version": "1.0.1",
"keywords": [
"wordpress"
],
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": "shiny-code",
"version": "1.0.0",
"version": "1.0.1",
"description": "A Gutenberg block for editing and displaying code with syntax highlighting.",
"homepage": "https://www.cedaro.com/",
"license": "GPL-2.0-or-later",
Expand Down
4 changes: 2 additions & 2 deletions shiny-code.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: Shiny Code
* Plugin URI: https://github.com/cedaro/shiny-code
* Description: A Gutenberg block for editing and displaying code with syntax highlighting.
* Version: 1.0.0
* Version: 1.0.1
* Author: Cedaro
* Author URI: https://www.cedaro.com/
* License: GPL-2.0-or-later
Expand Down Expand Up @@ -38,7 +38,7 @@
*
* @var string
*/
const VERSION = '1.0.0';
const VERSION = '1.0.1';

/**
* Load the Composer autoloader.
Expand Down

0 comments on commit 9a5a319

Please sign in to comment.