From 7927ed8f98f14fd5add80f840edbdcc40680d89e Mon Sep 17 00:00:00 2001 From: Roberto Redradix Date: Fri, 15 Sep 2023 19:00:55 +0200 Subject: [PATCH] build(core,cli): build TypeScript before packing --- packages/cli/package.json | 1 + packages/core/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/cli/package.json b/packages/cli/package.json index 8d6666b..d813956 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -10,6 +10,7 @@ "penpot-export": "./dist/bin/index.js" }, "scripts": { + "prepack": "npm run build", "build": "tsc", "format": "prettier -w .", "dev": "tsc-watch" diff --git a/packages/core/package.json b/packages/core/package.json index aeaea60..871b771 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -8,6 +8,7 @@ "dist" ], "scripts": { + "prepack": "npm run build", "build": "tsc", "pretest": "npm run build", "test": "node --test",