Skip to content

Commit

Permalink
Fix failing publish step (#14060)
Browse files Browse the repository at this point in the history
One of the (private) packages was missing a version which caused `pnpm
publish` to fail. This PR adds the missing version.
  • Loading branch information
RobinMalfait authored Jul 25, 2024
1 parent 50a6a37 commit 2fe2499
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/test-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "tailwindcss-test-utils",
"version": "0.0.0",
"private": true,
"main": "index.js"
}
1 change: 1 addition & 0 deletions scripts/version-packages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ exec('pnpm --silent --filter=!./playgrounds/* -r exec pwd', async (err, stdout)
// Track all the workspaces
for (let path of paths) {
let pkg = await fs.readFile(path, 'utf8').then(JSON.parse)
if (pkg.private) continue
workspaces.set(pkg.name, { version: pkg.version ?? '', path })
}

Expand Down

0 comments on commit 2fe2499

Please sign in to comment.