1.0.1 • Published 1 year ago

composer-version-from-lock v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

composer-version-from-lock

A Node.js package to get the current version of packages from the composer.lock file and write it into the composer.json file.

Usage without installation

If you don't want to install the package globally, you can also run it using npx without installation:

npx composer-version-from-lock

Installation

This package can be installed globally using npm:

npm install -g composer-version-from-lock

Usage

Once the package is installed, you can run the following command from the command line in the root directory of your project:

composer-version-from-lock

This will update the versions of the packages listed in the composer.json file with the latest versions specified in the composer.lock file.

Note

This package will only update the versions of packages that are already listed in the composer.json file. New packages will not be added.