Skip to content

Commit d140213

Browse files
authored
Merge pull request #529 from rails/flavorjones/ci-fix-upgrade-test-3
ci: use the latest @tailwindcss/upgrade package
2 parents df34b05 + b0d41eb commit d140213

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ $ bin/rails tailwindcss:upgrade
145145
remove app/assets/stylesheets/application.tailwind.css
146146
10.9.0
147147
Running the upstream Tailwind CSS upgrader
148-
run npx @tailwindcss/upgrade@next --force --config /home/user/myapp/config/tailwind.config.js from "."
148+
run npx @tailwindcss/upgrade --force --config /home/user/myapp/config/tailwind.config.js from "."
149149
≈ tailwindcss v4.0.0
150150
│ Searching for CSS files in the current directory and its subdirectories…
151151
│ ↳ Linked `./config/tailwind.config.js` to `./app/assets/tailwind/application.css`

lib/install/upgrade_tailwindcss.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
if system("npx --version")
4848
say "Running the upstream Tailwind CSS upgrader"
49-
command = Shellwords.join(["npx", "@tailwindcss/upgrade@next", "--force", "--config", TAILWIND_CONFIG_PATH.to_s])
49+
command = Shellwords.join(["npx", "@tailwindcss/upgrade", "--force", "--config", TAILWIND_CONFIG_PATH.to_s])
5050
success = run(command, abort_on_failure: false)
5151
unless success
5252
say "The upgrade tool failed!", :red

0 commit comments

Comments
 (0)