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 +4 -4
- data/README.md +2 -2
- data/lib/install/upgrade_tailwindcss.rb +7 -1
- data/lib/tailwindcss/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f92850bb06aaad7415e612d903402bdf437d442a2fb95a5948ffd6f60698196
|
4
|
+
data.tar.gz: d31d79482dbcad53c140c8e4427e09d471ffeab8abed01a953ec112e29e695e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/tailwindcss/version.rb
CHANGED
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.
|
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:
|
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.
|
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: []
|