Skip to content
Open
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
1 change: 1 addition & 0 deletions packages/@tailwindcss-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
"homepage": "https://tailwindcss.com",
"funding": "https://tailwindcss.com/sponsor",
"scripts": {
"lint": "tsc --noEmit",
"build": "tsup-node",
Expand Down
1 change: 1 addition & 0 deletions packages/@tailwindcss-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
"homepage": "https://tailwindcss.com",
"funding": "https://tailwindcss.com/sponsor",
"scripts": {
"lint": "tsc --noEmit",
"build": "tsup-node",
Expand Down
1 change: 1 addition & 0 deletions packages/@tailwindcss-postcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
"homepage": "https://tailwindcss.com",
"funding": "https://tailwindcss.com/sponsor",
"scripts": {
"lint": "tsc --noEmit",
"build": "tsup-node",
Expand Down
1 change: 1 addition & 0 deletions packages/@tailwindcss-standalone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
"homepage": "https://tailwindcss.com",
"funding": "https://tailwindcss.com/sponsor",
"scripts": {
"lint": "tsc --noEmit",
"build": "bun ./scripts/build.ts"
Expand Down
1 change: 1 addition & 0 deletions packages/@tailwindcss-upgrade/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
"homepage": "https://tailwindcss.com",
"funding": "https://tailwindcss.com/sponsor",
"scripts": {
"lint": "tsc --noEmit",
"build": "tsup-node",
Expand Down
1 change: 1 addition & 0 deletions packages/@tailwindcss-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
"homepage": "https://tailwindcss.com",
"funding": "https://tailwindcss.com/sponsor",
"scripts": {
"build": "tsup-node",
"dev": "pnpm run build -- --watch"
Expand Down
1 change: 1 addition & 0 deletions packages/tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"bugs": "https://github.com/tailwindlabs/tailwindcss/issues",
"homepage": "https://tailwindcss.com",
"funding": "https://tailwindcss.com/sponsor",
Copy link

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
# Verify URL accessibility and completeness of funding field

echo "=== 1. Testing URL Accessibility ==="
response_code=$(curl -s -o /dev/null -w "%{http_code}" "https://tailwindcss.com/sponsor")
echo "Response code: $response_code"

echo -e "\n=== 2. Finding all package.json files in packages/ ==="
fd -t f '^package\.json$' packages/ || echo "No packages found or fd error"

echo -e "\n=== 3. Checking which packages have funding field ==="
echo "Packages WITH funding field:"
fd -t f '^package\.json$' packages/ -x sh -c 'if grep -q "\"funding\"" "$1"; then echo "$1"; fi' sh {} \;

echo -e "\nPackages WITHOUT funding field:"
fd -t f '^package\.json$' packages/ -x sh -c 'if ! grep -q "\"funding\"" "$1"; then echo "$1"; fi' sh {} \;

echo -e "\n=== 4. Summary ==="
total=$(fd -t f '^package\.json$' packages/ | wc -l)
with_funding=$(fd -t f '^package\.json$' packages/ -x sh -c 'if grep -q "\"funding\"" "$1"; then echo "$1"; fi' sh {} \; | wc -l)
echo "Total packages: $total"
echo "With funding: $with_funding"
echo "Without funding: $((total - with_funding))"

Repository: tailwindlabs/tailwindcss

Length of output: 1117


Add funding field to remaining packages.

The sponsor URL is accessible (HTTP 200). However, the funding field is only present in 7 of 9 packages. Two packages are missing it:

  • packages/@tailwindcss-node/package.json
  • packages/internal-example-plugin/package.json

Add the "funding": "https://tailwindcss.com/sponsor" field to @tailwindcss-node for consistency. Verify whether internal-example-plugin should have it (appears to be an internal/example package).

🤖 Prompt for AI Agents
In @packages/tailwindcss/package.json at line 13, Add the missing "funding":
"https://tailwindcss.com/sponsor" field to the package.json for the
@tailwindcss-node package (update packages/@tailwindcss-node/package.json) so it
matches the other packages; also inspect
packages/internal-example-plugin/package.json and, if it is a published/public
package, add the same funding field, otherwise document/leave it out if it's
internal/example-only. Ensure the field is a top-level key in package.json
alongside the existing metadata.

"scripts": {
"lint": "tsc --noEmit",
"build": "tsup-node --env.NODE_ENV production",
Expand Down