Migrate everything from Yarn to Bun

No node.js or npm necessary anymore
This commit is contained in:
2026-08-09 18:13:26 -06:00
parent 8a6e733316
commit 39d9f9b312
12 changed files with 303 additions and 1066 deletions
+1
View File
@@ -14,6 +14,7 @@ FileUtils.chdir APP_ROOT do
puts "== Installing dependencies =="
system("bundle check") || system!("bundle install")
system!("bun install")
# puts "\n== Copying sample files =="
# unless File.exist?("config/database.yml")
-11
View File
@@ -1,11 +0,0 @@
#!/usr/bin/env ruby
APP_ROOT = File.expand_path('..', __dir__)
Dir.chdir(APP_ROOT) do
begin
exec "yarnpkg", *ARGV
rescue Errno::ENOENT
$stderr.puts "Yarn executable was not detected in the system."
$stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
exit 1
end
end