Skip to content

Commit 51f6772

Browse files
committed
Remove composer.lock file and update post-update-cmd script
Deleted composer.lock, a file that locks the project's dependencies. Also, the script 'post-update-cmd' has been updated and renamed to 'post-create-project-cmd' in composer.json. Notably, the operation that copies .env.example file to .env has been removed from the script.
1 parent 355962d commit 51f6772

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
],
1212
"require": {},
1313
"scripts": {
14-
"post-update-cmd": [
15-
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
14+
"post-create-project-cmd": [
1615
"docker compose run app wp core download"
1716
]
1817
}

composer.lock

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)