Skip to content

Commit

Permalink
Bump next_rails_scaffold version to 0.3.0 and update environment vari…
Browse files Browse the repository at this point in the history
…able defaults
  • Loading branch information
raphox committed Jan 23, 2025
1 parent 156388f commit d2710e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
next_rails_scaffold (0.2.0)
next_rails_scaffold (0.3.0)
rails (>= 7.1.2)

GEM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ class NextRailsScaffoldGenerator < Rails::Generators::NamedBase

source_root File.expand_path("templates", __dir__)

NODE_REQUIRED_VERSION = ">= 18.18.0"
YARN_VERSION = "4.5.3"
NEXT_VERSION = "15.0.3"
NODE_REQUIRED_VERSION = ENV.fetch("NODE_REQUIRED_VERSION", ">= 18.18.0")
YARN_VERSION = ENV.fetch("YARN_VERSION", "4.5.3")
NEXT_VERSION = ENV.fetch("NEXT_VERSION", "15.0.3")

argument :attributes, type: :array, default: [], banner: "field:type field:type"

Expand Down
2 changes: 1 addition & 1 deletion lib/next_rails_scaffold/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module NextRailsScaffold
VERSION = "0.2.0"
VERSION = "0.3.0"
end

0 comments on commit d2710e3

Please sign in to comment.