tailwindcss-rails 4.2.2 → 4.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f9432f8ea93e9b2a5ad5a393724d7700719e308ca529d2e699020b4b2e4a772
4
- data.tar.gz: '087b41c460af3f8f2b00cbb8e784791570926012fa154208f4ee5c2e19bc9ac9'
3
+ metadata.gz: 5f92850bb06aaad7415e612d903402bdf437d442a2fb95a5948ffd6f60698196
4
+ data.tar.gz: d31d79482dbcad53c140c8e4427e09d471ffeab8abed01a953ec112e29e695e2
5
5
  SHA512:
6
- metadata.gz: 7989b142725276b80467e9c1009f086fee96581aab1022d609c5bfd5cab47ab9bee610ba2827996f67f156c9e73cec1b0e05cae7b8571e85a33fcebf4202734d
7
- data.tar.gz: 46ac09b2e9f6cfc7b273746212f4a71af5cbd6be3eb05332938119150f62f0c91fac6a0ce4553ebf2fa722e4ee891d5471c0c561ee758d1a2bfbc6e0511bc9e7
6
+ metadata.gz: 47335cd8c77f5dbe91644a53af0f38e69a2994a1d516bbd0e8e476e3f4f515ff040b6c07c690e31dddc5f7083135c642f48ed8b7e75310d6d71b6d34c31b0852
7
+ data.tar.gz: 3297eb40b17ac1e82c43e71c0af06fd06987ae4a7aaf09d7fd500c57f40cba8021d4015d54fb9219019baca63e011f7320d723c3191234305fc89ef9143bffc1
data/README.md CHANGED
@@ -124,7 +124,7 @@ Then, run `bin/rails tailwindcss:upgrade`. Among other things, this will try to
124
124
  - If present, moves `app/assets/stylesheets/application.tailwind.css` to `app/assets/tailwind/application.css`.
125
125
  - Removes unnecessary `stylesheet_link_tag "tailwindcss"` tags from the application layout.
126
126
  - Removes references to the Inter font from the application layout.
127
- - Runs the upstream upgrader (note: requires `npx` to run the one-time upgrade, but highly recommended).
127
+ - Runs v4.1.4 of the upstream upgrader (note: requires `npx` to run the one-time upgrade, but highly recommended).
128
128
 
129
129
  </details>
130
130
 
@@ -145,7 +145,7 @@ $ bin/rails tailwindcss:upgrade
145
145
  remove app/assets/stylesheets/application.tailwind.css
146
146
  10.9.0
147
147
  Running the upstream Tailwind CSS upgrader
148
- run npx @tailwindcss/upgrade --force --config /home/user/myapp/config/tailwind.config.js from "."
148
+ run npx @tailwindcss/upgrade@4.1.4 --force --config /home/user/myapp/config/tailwind.config.js from "."
149
149
  ≈ tailwindcss v4.0.0
150
150
  │ Searching for CSS files in the current directory and its subdirectories…
151
151
  │ ↳ Linked `./config/tailwind.config.js` to `./app/assets/tailwind/application.css`
@@ -45,8 +45,14 @@ if OLD_TAILWIND_ASSET_PATH.exist?
45
45
  end
46
46
 
47
47
  if system("npx --version")
48
+ # We're pinning to v4.1.4 because v4.1.5 of the upgrade tool introduces a dependency version check
49
+ # on tailwind and I haven't been able to figure out how to get that to work reliably and I am
50
+ # extremely frustrated with the whole thing. See #544
51
+ #
52
+ # At some point we will probably need to unpin this at which point I am sincerely hoping that
53
+ # someone else will do it.
48
54
  say "Running the upstream Tailwind CSS upgrader"
49
- command = Shellwords.join(["npx", "@tailwindcss/upgrade", "--force", "--config", TAILWIND_CONFIG_PATH.to_s])
55
+ command = Shellwords.join(["npx", "@tailwindcss/upgrade@4.1.4", "--force", "--config", TAILWIND_CONFIG_PATH.to_s])
50
56
  success = run(command, abort_on_failure: false)
51
57
  unless success
52
58
  say "The upgrade tool failed!", :red
@@ -1,3 +1,3 @@
1
1
  module Tailwindcss
2
- VERSION = "4.2.2"
2
+ VERSION = "4.2.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tailwindcss-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.2
4
+ version: 4.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-05 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: railties
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  - !ruby/object:Gem::Version
111
111
  version: 3.2.0
112
112
  requirements: []
113
- rubygems_version: 3.6.2
113
+ rubygems_version: 3.6.8
114
114
  specification_version: 4
115
115
  summary: Integrate Tailwind CSS with the asset pipeline in Rails.
116
116
  test_files: []