diff --git a/lib/scaffold.js b/lib/scaffold.js index b7951c0..96b1c36 100644 --- a/lib/scaffold.js +++ b/lib/scaffold.js @@ -65,10 +65,8 @@ module.exports = async ( ); info( '' ); - info( 'Remember to install the new plugin with composer. Add:' ); - code( ` "${ namespace }/block-${ slug }": "@dev"` ); - info( 'To your composer.json-file, and run' ); - code( ' composer update' ); + info( 'Remember to install the new plugin with composer. Run:' ); + code( ` composer require ${ namespace }/block-${ slug }:~1.0.0` ); info( 'To get started' ); info( '' ); diff --git a/package.json b/package.json index 3897c08..3249b80 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dekode/create-project-base-block", - "version": "1.1.0", + "version": "1.2.0", "description": "Generates PHP, JS and CSS code for registering a block for a WordPress plugin.", "author": "Dekode Interaktiv AS", "license": "GPL-2.0-or-later",