From 77e2bb101bf690d002461673ef627d1ff6176110 Mon Sep 17 00:00:00 2001 From: avivkeller Date: Sun, 21 Sep 2025 12:44:09 -0400 Subject: [PATCH] fix(npm): rename script to not conflict --- .github/workflows/publish-packages.yml | 4 ++-- packages/ui-components/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index b349a68176607..6ff282164d4e2 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -132,8 +132,8 @@ jobs: pnpm install --frozen-lockfile # Check if a custom publish script exists in package.json - if jq -e '.scripts.publish' package.json > /dev/null; then - pnpm run publish + if jq -e '.scripts.release' package.json > /dev/null; then + pnpm run release else pnpm publish --access public --no-git-checks fi diff --git a/packages/ui-components/package.json b/packages/ui-components/package.json index 87f5b3aa90005..1556858876f02 100644 --- a/packages/ui-components/package.json +++ b/packages/ui-components/package.json @@ -20,7 +20,7 @@ "compile:ts": "tsc", "compile:css": "postcss --dir dist --base src \"src/**/*.module.css\" src/styles/index.css", "compile": "node --run compile:ts && node --run compile:css", - "publish": "node --run compile && node scripts/publish.mjs", + "release": "node --run compile && node scripts/publish.mjs", "lint": "node --run lint:js && node --run lint:css", "lint:css": "stylelint \"**/*.css\" --allow-empty-input --cache --cache-strategy=content --cache-location=.stylelintcache", "lint:css:fix": "node --run lint:css -- --fix",