We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebe198a commit 16770a9Copy full SHA for 16770a9
.github/workflows/release.yml
@@ -130,8 +130,15 @@ jobs:
130
run: |
131
set -e
132
failed=''
133
+ # packages/theme is an internal Tailwind preset — not published to npm
134
+ SKIP_PACKAGES='packages/theme'
135
for pkg_dir in packages/*/; do
- pkg_name=$(node -p "require('./${pkg_dir}package.json').name")
136
+ pkg_dir="${pkg_dir%/}"
137
+ if echo "$SKIP_PACKAGES" | grep -qw "$pkg_dir"; then
138
+ echo "\n--- Skipping ${pkg_dir} (not published) ---"
139
+ continue
140
+ fi
141
+ pkg_name=$(node -p "require('./${pkg_dir}/package.json').name")
142
echo "\n--- Publishing ${pkg_name} ---"
143
tarball=$(pnpm pack -C "${pkg_dir}" --pack-destination "$PWD" 2>/dev/null | tail -1)
144
if ! npm publish "${tarball}" --access public; then
0 commit comments