diff --git a/Gemfile.lock b/Gemfile.lock index fc30558..0bf38dc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - next_rails_scaffold (0.1.6) + next_rails_scaffold (0.1.7) rails (~> 7.1.2) GEM diff --git a/lib/generators/rails/next_rails/next_rails_generator.rb b/lib/generators/rails/next_rails/next_rails_generator.rb index f90790a..f8e859f 100644 --- a/lib/generators/rails/next_rails/next_rails_generator.rb +++ b/lib/generators/rails/next_rails/next_rails_generator.rb @@ -47,6 +47,7 @@ def create_frontend_project empty_directory "frontend" inside("frontend") do + create_next_app! install_hygen! run("npx hygen generate scaffold #{name} #{mapped_attributes.join(" ")}") diff --git a/lib/next_rails/version.rb b/lib/next_rails/version.rb index 5588613..ad8af9c 100644 --- a/lib/next_rails/version.rb +++ b/lib/next_rails/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module NextRails - VERSION = "0.1.6" + VERSION = "0.1.7" end