From 30a1ebe8bb9408ba30fa1fd04614b361fab33fca Mon Sep 17 00:00:00 2001 From: Shawn Mealey Date: Tue, 16 Jun 2020 13:34:38 -0400 Subject: [PATCH] Adding the file types to the bin entries Adding the `.js` file extensions to the `bin` entries so that `npm link` won't complain and you can then run the command with a simple `particle-cli create` --- packages/particle-cli/bin/particle-cli.js | 0 packages/particle-cli/package.json | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 packages/particle-cli/bin/particle-cli.js diff --git a/packages/particle-cli/bin/particle-cli.js b/packages/particle-cli/bin/particle-cli.js old mode 100644 new mode 100755 diff --git a/packages/particle-cli/package.json b/packages/particle-cli/package.json index 96c07300bd..dd2e739f57 100644 --- a/packages/particle-cli/package.json +++ b/packages/particle-cli/package.json @@ -13,8 +13,8 @@ "init" ], "bin": { - "@phase2/particle-cli": "bin/particle-cli", - "particle-cli": "bin/particle-cli" + "@phase2/particle-cli": "bin/particle-cli.js", + "particle-cli": "bin/particle-cli.js" }, "homepage": "https://github.com/phase2/particle#readme", "repository": {