From 7668f8043c3520716d281da2eae615945c9712d6 Mon Sep 17 00:00:00 2001 From: romuald DJETEJE Date: Mon, 19 Oct 2026 22:47:43 +0100 Subject: [PATCH] Install straight from GitHub: build on prepare npm builds a package installed from Git with its prepare script: with it, `npm install -g github:Idem-AI/cli` works before the npm release. --- README.md | 2 +- package.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e1a0713..b6cc8e3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # idem — deploy to iDeploy from your terminal ```bash -npm install -g @idem-ai/cli +npm install -g @idem-ai/cli # or, before it is on npm: npm install -g github:Idem-AI/cli cd my-project idem deploy ``` diff --git a/package.json b/package.json index f41312b..1d1fa0d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@idem-ai/cli", "version": "0.1.0", - "description": "Deploy to iDeploy from your terminal — one command: idem deploy", + "description": "Deploy to iDeploy from your terminal \u2014 one command: idem deploy", "license": "Apache-2.0", "type": "module", "bin": { @@ -19,7 +19,8 @@ "build": "tsup", "dev": "tsup --watch", "typecheck": "tsc --noEmit", - "prepublishOnly": "npm run typecheck && npm run build" + "prepublishOnly": "npm run typecheck && npm run build", + "prepare": "tsup" }, "dependencies": { "@clack/prompts": "^0.7.0",