Skip to content

Commit

Permalink
Update dependencies.
Browse files Browse the repository at this point in the history
* Updates tailwindcss-rails in Ruby.
  • Loading branch information
tristandunn committed Feb 7, 2025
1 parent f6574c7 commit 911888b
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 50 deletions.
10 changes: 5 additions & 5 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"stylelint-config-standard"
],
"rules": {
"at-rule-no-deprecated": null,
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"apply",
"responsive",
"screen",
"tailwind",
"variants"
"plugin",
"utility"
]
}
]
],
"import-notation": "string"
}
}
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ gem "solid_cache", "1.0.7"
gem "solid_queue", "1.1.3"
gem "sqlite3", "2.5.0"
gem "stimulus-rails", "1.3.4"
gem "tailwindcss-rails", "3.3.1"
gem "tailwindcss-rails", "4.0.0"
gem "thruster", "0.1.10", require: false
gem "turbo-rails", "2.0.11"

Expand Down
19 changes: 10 additions & 9 deletions Gemfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions app/assets/stylesheets/application.css

This file was deleted.

3 changes: 0 additions & 3 deletions app/assets/stylesheets/application.tailwind.css

This file was deleted.

1 change: 1 addition & 0 deletions app/assets/tailwind/application.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "tailwindcss";
14 changes: 0 additions & 14 deletions config/tailwind.config.js

This file was deleted.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@
"private": true,
"type": "module",
"scripts": {
"fix:css": "rustywind --custom-regex '@apply ([_a-zA.-Z0-9-:\\[\\] ]+);' --write ./app/assets/stylesheets/**/*",
"fix:css": "rustywind --custom-regex '@apply ([_a-zA.-Z0-9-:\\[\\] ]+);' --write ./app/assets/tailwind/**/*",
"fix:html": "rustywind --write app/views",
"lint": "eslint app/javascript config spec/javascripts",
"lint:css": "stylelint app/assets/stylesheets/**/*.css",
"lint": "eslint app/javascript spec/javascripts",
"lint:css": "stylelint app/assets/tailwind/**/*.css",
"outdated": "yarn upgrade-interactive",
"test": "bin/mocha spec/javascripts",
"test:coverage": "c8 --100 --clean --report-dir tmp/ --reporter text-summary --skip-full bin/mocha spec/javascripts"
},
"engines": {
"node": "22.12.0"
},
"packageManager": "yarn@4.6.0",
"devDependencies": {
"@hotwired/stimulus": "3.2.2",
"@stylistic/eslint-plugin-js": "3.0.1",
Expand All @@ -23,9 +27,5 @@
"sinon-chai": "4.0.0",
"stylelint": "16.14.1",
"stylelint-config-standard": "37.0.0"
},
"engines": {
"node": "22.12.0"
},
"packageManager": "yarn@4.6.0"
}
}

0 comments on commit 911888b

Please # to comment.