From ca905db5ba1c52c587bcd4af9c7a3b5bd7bb0e84 Mon Sep 17 00:00:00 2001 From: Zhenya Tikhonov Date: Wed, 27 Nov 2024 18:13:07 +0400 Subject: [PATCH] build: exlude redundant files from package, downgrade node (#873) ## What This excludes redundant files from published package. --- package.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2cb785550..0e6b9d6d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codefresh", - "version": "0.88.3", + "version": "0.88.4", "description": "Codefresh command line utility", "main": "index.js", "preferGlobal": true, @@ -9,7 +9,7 @@ "test": "jest .spec.js --coverage", "e2e": "bash e2e/e2e.spec.sh", "eslint": "eslint --fix lib/logic/**", - "pkg": "npx pkg . -t node22-alpine-x64,node22-alpine-arm64,node22-macos-x64,node22-linux-x64,node22-win-x64,node22-linux-arm64 --out-path ./dist", + "pkg": "npx pkg . -t node20-alpine-x64,node20-alpine-arm64,node20-macos-x64,node20-linux-x64,node20-win-x64,node20-linux-arm64 --out-path ./dist", "serve-docs": "yarn build-local-docs && cd temp && hugo server -D", "serve-docs-beta": "ALLOW_BETA_COMMANDS=true yarn build-local-docs && cd temp && hugo server -D", "build-local-docs": "node ./docs/index.js", @@ -19,6 +19,13 @@ "bin": { "codefresh": "lib/interface/cli/codefresh" }, + "files": [ + "brew", + "lib", + "check-version.js", + "openapi.json", + "run-check-version.js" + ], "repository": "git+https://github.com/codefresh-io/cli.git", "keywords": [ "command line"