From db3de61a963c481ce9111e3c69453b51fb51fef8 Mon Sep 17 00:00:00 2001 From: Alvaro Raminelli Date: Thu, 16 Nov 2023 12:18:04 -0800 Subject: [PATCH] fix: package missing dist folder (#53) --- .changeset/thick-yaks-rhyme.md | 5 +++++ package.json | 6 +++++- project.json | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 .changeset/thick-yaks-rhyme.md diff --git a/.changeset/thick-yaks-rhyme.md b/.changeset/thick-yaks-rhyme.md new file mode 100644 index 00000000..b26462b9 --- /dev/null +++ b/.changeset/thick-yaks-rhyme.md @@ -0,0 +1,5 @@ +--- +'@base-org/build-onchain-apps': patch +--- + +fix: CLI broken by missing dist files diff --git a/package.json b/package.json index 0b07292d..38a23e87 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,10 @@ "access": "public", "provenance": true }, + "files": [ + "src/", + "dist/" + ], "nx": { "includedScripts": [] }, @@ -64,5 +68,5 @@ "typings": "./src/index.d.ts", "bin": { "build-onchain-apps": "./src/index.js" - } + } } diff --git a/project.json b/project.json index e569bbdb..db3a5c1e 100644 --- a/project.json +++ b/project.json @@ -8,7 +8,7 @@ "executor": "@nx/js:tsc", "outputs": ["{options.outputPath}"], "options": { - "outputPath": "dist/@base-org/build-onchain-apps", + "outputPath": "dist", "main": "./src/index.ts", "tsConfig": "./tsconfig.lib.json", "assets": ["*.md"]