diff --git a/composer.json b/composer.json index bf476669..cd727185 100644 --- a/composer.json +++ b/composer.json @@ -112,11 +112,11 @@ "@auto-scripts" ], "post-root-package-install": [ + "@php -r \"file_put_contents('.gitignore', str_replace(['composer.lock' . PHP_EOL, 'symfony.lock' . PHP_EOL, 'package-lock.json' . PHP_EOL], ['', '', ''], file_get_contents('.gitignore')));\"", "@php -r \"file_put_contents('.env.local', 'APP_ENV=dev' . PHP_EOL);\"", "@php -r \"file_put_contents('.env', str_replace('APP_SECRET=\\'s\\$cretf0rt3st\\'', 'APP_SECRET=' . bin2hex(random_bytes(16)), file_get_contents('.env')));\"" ], "post-create-project-cmd": [ - "@php -r \"file_put_contents('.gitignore', str_replace(['composer.lock' . PHP_EOL, 'symfony.lock' . PHP_EOL, 'package-lock.json' . PHP_EOL], ['', '', ''], file_get_contents('.gitignore')));\"", "@php bin/adminconsole sulu:admin:info --ansi" ], "bootstrap-test-environment": [