Switch from Sprockets to Propshaft
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Release Drafter / Update release notes draft (pull_request) Successful in 1s

This commit is contained in:
Râu Cao 2025-04-29 17:11:21 +04:00
parent 1ddecab2c3
commit aef779a59c
Signed by: raucao
GPG Key ID: 37036C356E56CC51
4 changed files with 9 additions and 15 deletions

1
.gitignore vendored
View File

@ -37,6 +37,7 @@
/yarn-error.log /yarn-error.log
yarn-debug.log* yarn-debug.log*
.yarn-integrity .yarn-integrity
bun.lock
# Ignore local dotenv config file # Ignore local dotenv config file
.env .env

View File

@ -7,8 +7,8 @@ gem 'rails', '~> 8.0'
gem 'puma', '~> 4.1' gem 'puma', '~> 4.1'
# View components # View components
gem "view_component" gem "view_component"
# Separate dependency since Rails 7.0 # Asset bundler
gem 'sprockets-rails' gem 'propshaft'
# Allows custom JS build tasks to integrate with the asset pipeline # Allows custom JS build tasks to integrate with the asset pipeline
gem 'cssbundling-rails' gem 'cssbundling-rails'
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails] # Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]

View File

@ -306,6 +306,11 @@ GEM
prettyprint prettyprint
prettyprint (0.2.0) prettyprint (0.2.0)
prism (1.4.0) prism (1.4.0)
propshaft (1.1.0)
actionpack (>= 7.0.0)
activesupport (>= 7.0.0)
rack
railties (>= 7.0.0)
psych (5.2.3) psych (5.2.3)
date date
stringio stringio
@ -458,14 +463,6 @@ GEM
tilt (~> 2.0) tilt (~> 2.0)
yard (~> 0.9, >= 0.9.24) yard (~> 0.9, >= 0.9.24)
yard-solargraph (~> 0.1) yard-solargraph (~> 0.1)
sprockets (4.2.2)
concurrent-ruby (~> 1.0)
logger
rack (>= 2.2.4, < 4)
sprockets-rails (3.5.2)
actionpack (>= 6.1)
activesupport (>= 6.1)
sprockets (>= 3.0.0)
sqlite3 (2.6.0) sqlite3 (2.6.0)
mini_portile2 (~> 2.8.0) mini_portile2 (~> 2.8.0)
sqlite3 (2.6.0-arm64-darwin) sqlite3 (2.6.0-arm64-darwin)
@ -550,6 +547,7 @@ DEPENDENCIES
nostr (~> 0.6.0) nostr (~> 0.6.0)
pagy (~> 6.0, >= 6.0.2) pagy (~> 6.0, >= 6.0.2)
pg (~> 1.5) pg (~> 1.5)
propshaft
puma (~> 4.1) puma (~> 4.1)
rails (~> 8.0) rails (~> 8.0)
rails-controller-testing rails-controller-testing
@ -561,7 +559,6 @@ DEPENDENCIES
sidekiq (< 7) sidekiq (< 7)
sidekiq-scheduler sidekiq-scheduler
solargraph solargraph
sprockets-rails
sqlite3 (>= 2.1) sqlite3 (>= 2.1)
stimulus-rails stimulus-rails
turbo-rails turbo-rails

View File

@ -1,4 +0,0 @@
//= link_tree ../images
//= link_tree ../../javascript .js
//= link_tree ../builds
//= link_tree ../../../vendor/javascript .js