Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ GEM
dockerfile-rails (1.6.20)
rails (>= 3.0.0)
drb (2.2.1)
dry-cli (1.0.0)
dry-cli (1.1.0)
erubi (1.13.0)
factory_bot (6.4.6)
activesupport (>= 5.0.0)
Expand Down Expand Up @@ -346,13 +346,13 @@ GEM
stackprof (0.2.26)
stringio (3.1.1)
stripe (10.14.0)
tailwindcss-rails (2.6.1-aarch64-linux)
tailwindcss-rails (2.7.7-aarch64-linux)
railties (>= 7.0.0)
tailwindcss-rails (2.6.1-arm64-darwin)
tailwindcss-rails (2.7.7-arm64-darwin)
railties (>= 7.0.0)
tailwindcss-rails (2.6.1-x86_64-darwin)
tailwindcss-rails (2.7.7-x86_64-darwin)
railties (>= 7.0.0)
tailwindcss-rails (2.6.1-x86_64-linux)
tailwindcss-rails (2.7.7-x86_64-linux)
railties (>= 7.0.0)
thor (1.3.2)
timeout (0.4.1)
Expand All @@ -364,7 +364,7 @@ GEM
vite_rails (3.0.17)
railties (>= 5.1, < 8)
vite_ruby (~> 3.0, >= 3.2.2)
vite_ruby (3.5.0)
vite_ruby (3.8.2)
dry-cli (>= 0.7, < 2)
rack-proxy (~> 0.6, >= 0.6.1)
zeitwerk (~> 2.2)
Expand Down
2 changes: 1 addition & 1 deletion Procfile.dev
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
web: bundle exec puma -C config/puma.rb
web: PORT=3001 bundle exec puma -C config/puma.rb
css: bin/rails tailwindcss:watch
vite: bin/vite dev
10 changes: 9 additions & 1 deletion bin/dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,12 @@ if ! gem list foreman -i --silent; then
gem install foreman
fi

exec foreman start -f Procfile.dev "$@" -p 3001
# Default to port 3000 if not specified
export PORT="${PORT:-3000}"

# Let the debug gem allow remote connections,
# but avoid loading until `debugger` is called
export RUBY_DEBUG_OPEN="true"
export RUBY_DEBUG_LAZY="true"

exec foreman start -f Procfile.dev "$@"
7 changes: 4 additions & 3 deletions config/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ module.exports = {
'./app/javascript/**/*.{js,jsx,ts,tsx}',
'./app/views/**/*.{erb,haml,html,slim}',
'./node_modules/flowbite/**/*.js', // https://flowbite.com/docs/getting-started/rails/
'node_modules/flowbite-react/**/*.{js,jsx,ts,tsx}', // https://flowbite.com/docs/getting-started/react/
'./node_modules/flowbite-react/**/*.{js,jsx,ts,tsx}', // https://flowbite.com/docs/getting-started/react/
flowbite.content(),
],
theme: {
extend: {
Expand All @@ -21,7 +22,7 @@ module.exports = {
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/typography'),
// Works thanks to flowbite being imported from package.json
require('flowbite/plugin'),
require('flowbite/plugin'), // Works thanks to flowbite being imported from package.json
flowbite.plugin(),
],
}
16 changes: 8 additions & 8 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"eslint-plugin-react": "^7.37.0",
"prettier": "2.2.1",
"prettier-plugin-erb": "^0.4.0",
"vite": "^5.4.6",
"vite-plugin-ruby": "^5.0.0"
"vite": "^5.4.8",
"vite-plugin-ruby": "^5.1.0"
},
"version": "0.0.0"
}