Skip to content

Commit d6828ff

Browse files
GaryJonesclaude
andcommitted
Remove composer.lock and disable lock file generation
This commit removes composer.lock from version control and configures Composer to not generate lock files. This is appropriate for WordPress plugins where dependencies should be resolved at install time to ensure compatibility with the environment. Changes: - Removed composer.lock from git repository - Added composer.lock to .gitignore - Set "lock": false in composer.json config to prevent lock file generation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent cc3b8b9 commit d6828ff

File tree

3 files changed

+3
-2527
lines changed

3 files changed

+3
-2527
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
node_modules
55
wordpress
66
vendor
7+
composer.lock
78

89
# Test files
910
.phpunit.result.cache

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"allow-plugins": {
3434
"composer/installers": true,
3535
"dealerdirect/phpcodesniffer-composer-installer": true
36-
}
36+
},
37+
"lock": false
3738
}
3839
}

0 commit comments

Comments
 (0)