Skip to content

Commit 6a3881f

Browse files
committed
Avoid deleting the composer.lock file to keep version numbers the same.
1 parent 82811b1 commit 6a3881f

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

packages/dev/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
v0.2.3 - 2025-12-19
44
----------
55

6+
* Avoid deleting the `composer.lock` file.
7+
8+
9+
v0.2.3 - 2025-12-19
10+
----------
11+
612
* Use `composer install` vs. `composer update` during zip creation.
713

814

packages/dev/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lifterlms/dev",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"description": "Developer's CLI for managing, building, and deploying LifterLMS projects.",
55
"author": "Team LifterLMS <dev@lifterlms.com>",
66
"license": "GPL-3.0-or-later",

packages/dev/src/utils/create-dist-file.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ module.exports = ( distDir, silent, log = () => {} ) => {
5454
if ( composer ) {
5555
log( 'Installing composer production dependencies...' );
5656
execSync( `composer install --no-dev --no-scripts`, silent );
57-
execSync( `rm composer.lock`, true );
5857
}
5958

6059
// Empty inspected directories in the distribution directory (if any are leftover from the last run of the command).

0 commit comments

Comments
 (0)