From ace3eb8ea17f5fc8507822727eaaaddc554bd5ca Mon Sep 17 00:00:00 2001 From: Adam Zielinski Date: Thu, 18 Jan 2024 14:42:02 +0100 Subject: [PATCH] Rename the `@php-wasm/cli` executable from `cli` to `php-wasm` (#958) Ensures that `npm install -g @php-wasm/cli` exposes a new command called `php-wasm` (instead of the `cli` one it did expose so far). --- packages/php-wasm/cli/package.json | 2 +- packages/php-wasm/cli/public/{cli.js => php-wasm.js} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename packages/php-wasm/cli/public/{cli.js => php-wasm.js} (100%) diff --git a/packages/php-wasm/cli/package.json b/packages/php-wasm/cli/package.json index 6358cdf9ca..ed28abc269 100644 --- a/packages/php-wasm/cli/package.json +++ b/packages/php-wasm/cli/package.json @@ -22,6 +22,6 @@ "license": "GPL-2.0-or-later", "type": "module", "main": "main.js", - "bin": "cli.js", + "bin": "php-wasm.js", "gitHead": "2f8d8f3cea548fbd75111e8659a92f601cddc593" } diff --git a/packages/php-wasm/cli/public/cli.js b/packages/php-wasm/cli/public/php-wasm.js similarity index 100% rename from packages/php-wasm/cli/public/cli.js rename to packages/php-wasm/cli/public/php-wasm.js