Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"devDependencies": {
"@playwright/test": "^1.58.0",
"@types/node": "catalog:",
"postcss": "8.5.6",
"postcss": "8.5.10",
"postcss-import": "^16.1.1",
Comment on lines 50 to 54
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

if [ -f pnpm-lock.yaml ]; then
  echo "Found pnpm-lock.yaml"
  echo "Checking for postcss resolved version 8.5.10..."
  # Look for the actual resolved package entry
  rg -n "postcss@8\.5\.10" pnpm-lock.yaml || {
    echo "ERROR: Could not find postcss@8.5.10 in pnpm-lock.yaml"
    exit 1
  }

  # Also ensure there's no lingering postcss@8.5.6
  rg -n "postcss@8\.5\.6" pnpm-lock.yaml && {
    echo "ERROR: Found postcss@8.5.6 in pnpm-lock.yaml"
    exit 1
  } || true
else
  echo "ERROR: pnpm-lock.yaml not found; cannot verify resolution."
  exit 1
fi

Repository: tailwindlabs/tailwindcss

Length of output: 1321


Lockfile must be regenerated to fully update postcss to 8.5.10.

The pnpm-lock.yaml contains both postcss@8.5.10 and lingering entries of postcss@8.5.6 (including postcss-import@16.1.1(postcss@8.5.6)). CI will install the old 8.5.6 version unless the lockfile is regenerated.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` around lines 50 - 54, The lockfile contains mixed postcss
versions causing CI to install 8.5.6; regenerate the pnpm lockfile so postcss is
consistently 8.5.10 and postcss-import resolves to the same version. Run the
appropriate lock regeneration (e.g., remove/refresh pnpm-lock.yaml and run pnpm
install) ensuring package.json's devDependencies entries for "postcss" and
"postcss-import" resolve to postcss@8.5.10, then commit the updated
pnpm-lock.yaml so CI uses the updated dependency tree.

"prettier": "catalog:",
"prettier-plugin-embed": "^0.5.1",
Expand Down
90 changes: 56 additions & 34 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading