File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "changes" : {
3+ "packages/core/package.json" : " Patch" ,
4+ "packages/fetch/package.json" : " Patch" ,
5+ "packages/generator/package.json" : " Patch" ,
6+ "packages/hookform/package.json" : " Patch" ,
7+ "packages/next-plugin/package.json" : " Patch" ,
8+ "packages/react-query/package.json" : " Patch" ,
9+ "packages/rsbuild-plugin/package.json" : " Patch" ,
10+ "packages/ui/package.json" : " Patch" ,
11+ "packages/utils/package.json" : " Patch" ,
12+ "packages/vite-plugin/package.json" : " Patch" ,
13+ "packages/webpack-plugin/package.json" : " Patch" ,
14+ "packages/zod/package.json" : " Patch"
15+ },
16+ "note" : " Publish all npm packages through OIDC with materialized workspace dependency versions" ,
17+ "date" : " 2026-08-24T19:12:59.670Z"
18+ }
Original file line number Diff line number Diff line change 2222
2323 - uses : oven-sh/setup-bun@v2
2424 with :
25- bun-version : 1.3.12
25+ bun-version : latest
2626 - run : bun i
2727 - run : bun lint
2828 - run : bun run build
@@ -56,14 +56,34 @@ jobs:
5656 fetch-tags : true
5757 - uses : oven-sh/setup-bun@v2
5858 with :
59- bun-version : 1.4.0
59+ bun-version : latest
6060 - name : Install Node.js
6161 uses : actions/setup-node@v7
6262 with :
6363 registry-url : " https://registry.npmjs.org"
6464 node-version : 24
6565 - run : bun i
6666 - run : bun run build
67+ - name : Verify publish tarballs
68+ shell : bash
69+ run : |
70+ set -euo pipefail
71+ for manifest in packages/*/package.json; do
72+ package_dir="$(dirname "$manifest")"
73+ pack_dir="$RUNNER_TEMP/publish-verify/${package_dir//\//-}"
74+ mkdir -p "$pack_dir"
75+ (cd "$package_dir" && bun pm pack --quiet --destination "$pack_dir")
76+ tarballs=("$pack_dir"/*.tgz)
77+ if [[ "${#tarballs[@]}" -ne 1 ]]; then
78+ echo "Expected one tarball for $package_dir" >&2
79+ exit 1
80+ fi
81+ packed_manifest="$(tar -xOf "${tarballs[0]}" package/package.json)"
82+ if grep -q 'workspace:' <<< "$packed_manifest"; then
83+ echo "Unresolved workspace dependency in $package_dir" >&2
84+ exit 1
85+ fi
86+ done
6787 - uses : changepacks/action@main
6888 id : changepacks
6989 with :
You can’t perform that action at this time.
0 commit comments