Make setup use lockfile + mandate minimum release age

This commit is contained in:
Mahad Kalam 2026-03-31 09:03:42 +01:00
parent 28fe4739f5
commit 42033e6d28
2 changed files with 5 additions and 1 deletions

View file

@ -14,7 +14,7 @@ FileUtils.chdir APP_ROOT do
puts "== Installing dependencies ==" puts "== Installing dependencies =="
system("bundle check") || system!("bundle install") system("bundle check") || system!("bundle install")
system! "bun install" system! "bun install --frozen-lockfile"
# puts "\n== Copying sample files ==" # puts "\n== Copying sample files =="
# unless File.exist?("config/database.yml") # unless File.exist?("config/database.yml")

4
bunfig.toml Normal file
View file

@ -0,0 +1,4 @@
[install]
# Only install package versions published at least 3 days ago
# (cough cough axios RAT...)
minimumReleaseAge = 259200 # seconds