diff --git a/composer.json b/composer.json index 8bed1a9..32152b5 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "codemommy/webphp", - "version": "0.0.16", + "version": "0.0.17", "description": "Web MVC framework of light and fast", "keywords": [ "CodeMommy", @@ -30,7 +30,7 @@ "scripts": { "post-create-project-cmd": [ "php system/install/install.php", - "composer update --no-dev" + "composer require codemommy/webphp:0.0.*" ] }, "require": { diff --git a/system/install/composer.example.json b/system/install/composer.example.json deleted file mode 100644 index afd1e20..0000000 --- a/system/install/composer.example.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "require": { - "codemommy/webphp": "0.0.16" - } -} \ No newline at end of file diff --git a/system/install/install.php b/system/install/install.php index 734bff8..1867aeb 100644 --- a/system/install/install.php +++ b/system/install/install.php @@ -27,7 +27,7 @@ function deleteDirectory($path) } copy('application/environment.example.yaml', 'application/environment.yaml'); -copy('system/install/composer.example.json', 'composer.json'); +file_put_contents('composer.json', '{}'); unlink('gulpfile.js'); unlink('package.json'); deleteDirectory('system'); \ No newline at end of file