Skip to content

Commit

Permalink
install openfnx to @openfn/clix so it doesn't override the prod insta…
Browse files Browse the repository at this point in the history
…ll and can be removed
  • Loading branch information
josephjclark committed Apr 20, 2023
1 parent 00bdd5b commit 759a451
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ Run `openfnx` to use this dev-version of the CLI without overriding your product

This uses a similar technique to the release CLI below.

To remove the dev cli, run `npm uninstall -g @openfn/clix`

## Testing the release CLI

You can test the built CLI package to ensure it works before publishing it.
Expand Down
1 change: 1 addition & 0 deletions build/install-global.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ exec('git branch --show-current', {}, async (err, branchName) => {
// This won't change the tarball name though
const onPackage = (packageName, pkg) => {
if (packageName == '@openfn/cli') {
pkg.name = `@openfn/clix`;
pkg.bin = {
openfnx: 'dist/index.js',
};
Expand Down

0 comments on commit 759a451

Please sign in to comment.