-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
294b7cd
commit 963544e
Showing
6 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,7 @@ Boilerplate comes with the following modules... | |
| RobotsTxt | Disable OpenAI's GPTBot web crawler in the `robots.txt` file | | ||
| RemoveTrailingSlashes | Removes trailing slashes from urls (https://tosbourn.com/ruby-on-rails-seo/#remove-trailing-slashes) | | ||
| GoodJob | a PostgreSQL backed ActiveJob backend. Installs the dashboard too, authenticated for admins only | | ||
| Seeds | Adds a test admin account to the `seeds.rb` file with the username `[email protected]` and password `test1234test` | | ||
| Seeds | Adds a test admin account to the `seeds.rb` file with the username `[email protected]` and password `test1234` | | ||
| Gitignore | Adds sensible defaults to the `.gitignore` file | | ||
|
||
### Coming soon / In Progress | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
module JsInstaller | ||
def install_package_with(package_manager=:importmaps, package_name) | ||
case package_manager | ||
when :importmaps do | ||
case package_manager.to_sym | ||
when :importmaps then | ||
run "./bin/importmap pin #{package_name}" | ||
when :bun do | ||
when :bun then | ||
run "bun install #{package_name}" | ||
when :npm then | ||
run "npm install #{package_name}" | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters