Skip to content

Commit

Permalink
improve readme and publish to 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gasnier committed May 16, 2021
1 parent a2e9d6e commit 72941e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
Execute a command found in local node_modules/.bin folder or from a parent folder.

You can use lpx to
* run a binary found the local node_modules/.bin folder
* run a binary found in the local node_modules/.bin folder
* run a binary found in the node_modules/.bin of a workspace root from anywhere in the workspace
* run a binary found in the node_modules/.bin of any parent folder

lpx does not download any package if the binary is not found locally (ie not like npx)

Expand Down Expand Up @@ -39,7 +40,10 @@ lpx command1 command1arguments
lpx command2 command2arguments
```

## Motivation
## Real life usage
If you have installed typescript in a local package and want to build your typescript project and its referenced projects in watch mode from the command line you can run ``lpx tsc -b -w``

## Motivations
At [Cervval](https://www.cervval.com), our packages are organised in a workspace that has a package.json that determines the versions of the build tools we use (tsc, webpack...)

I wanted to be able to use the binaries of these packages from the command line from anywhere in the workspace.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lpx",
"version": "1.0.2",
"version": "1.0.3",
"description": "Local Package eXecute",
"author": "Bruno Gasnier (https://www.cervval.com/)",
"homepage": "https://github.com/gasnier/lpx",
Expand Down

0 comments on commit 72941e1

Please sign in to comment.