Skip to content

Commit a0a936b

Browse files
committed
wip: try to get CI green
1 parent d08ca11 commit a0a936b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/install/upgrade_tailwindcss.rb

+5
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,12 @@
4545
end
4646

4747
if system("npx --version")
48+
say "Removing any existing npm versions of tailwindcss"
49+
run("npm uninstall tailwindcss", abort_on_failure: false)
50+
4851
say "Running the upstream Tailwind CSS upgrader"
52+
puts "DEBUG: #{TAILWIND_CONFIG_PATH} contents:"
53+
puts File.read(TAILWIND_CONFIG_PATH)
4954
command = Shellwords.join(["npx", "@tailwindcss/upgrade@next", "--force", "--config", TAILWIND_CONFIG_PATH.to_s])
5055
success = run(command, abort_on_failure: false)
5156
unless success

test/integration/user_upgrade_test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ bundle remove tailwindcss-rails --skip-install
5252
bundle remove tailwindcss-ruby --skip-install
5353

5454
bundle add tailwindcss-rails --skip-install --path="../.."
55-
bundle add tailwindcss-ruby --skip-install ${TAILWINDCSSOPTS:---version 4.0.0}
55+
bundle add tailwindcss-ruby --skip-install ${TAILWINDCSSOPTS:---version 4.0.17}
5656

5757
bundle install --prefer-local
5858
bundle show --paths | fgrep tailwind

0 commit comments

Comments
 (0)