diff --git a/packages/nx/bin/nx.ts b/packages/nx/bin/nx.ts new file mode 100644 index 0000000000000..31869bd706e4b --- /dev/null +++ b/packages/nx/bin/nx.ts @@ -0,0 +1,2 @@ +#!/usr/bin/env node +require('@nrwl/cli/bin/nx'); diff --git a/packages/nx/package.json b/packages/nx/package.json index 048df189f9db0..1bb0988e1ecbd 100644 --- a/packages/nx/package.json +++ b/packages/nx/package.json @@ -17,6 +17,9 @@ "Cypress", "CLI" ], + "bin": { + "nx": "./bin/nx.js" + }, "author": "Victor Savkin", "license": "MIT", "bugs": {