Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a lot of broken or incorrect generators #111

Merged
merged 11 commits into from
Oct 24, 2023
Merged

Conversation

Jeremy-Walton
Copy link
Member

@Jeremy-Walton Jeremy-Walton commented Oct 20, 2023

Why?

Following the instructions in the README and running the generate all command was not working out of the box. This aims at fixing a majority of the issues.

Fixes #106
Addresses some things in #100

What Changed

  • Make the React Generator Optional. Since a lot of our newer projects don't use React, running the all command will ask if you want it.
  • Update the eslint generator to use the latest ecmascript setting. Fixed the injected package command. Also cleaned up some of our templates to not generate with warnings.
  • Fix semaphore generator yml commands for webpack
  • Update the README to instruct with the correct rails new command and also list all the generators that exist.
  • Fix the Devise saas generator to not crash when installing bcrypt.
  • Fix the rubocop generator to put the custom cop in lib/cops/... instead of app since the linter expected it to be in lib.
  • Add rubymines idea folder to .gitignore file

@Jeremy-Walton Jeremy-Walton added bug Something isn't working enhancement New feature or request labels Oct 20, 2023
@Jeremy-Walton Jeremy-Walton self-assigned this Oct 20, 2023
Copy link
Member

@Braden-077 Braden-077 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only comment on this is that we should add one directory to the .gitignore in the Github generator. /.idea is a RubyMine specific set of files which is obnoxious and irrelevant.

@Jeremy-Walton Jeremy-Walton linked an issue Oct 20, 2023 that may be closed by this pull request
5 tasks
@Jeremy-Walton Jeremy-Walton merged commit 6590ae0 into master Oct 24, 2023
@Jeremy-Walton Jeremy-Walton deleted the make-it-work branch October 24, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

New rails 7 generator issues recently found Steps Needed to make the Generator Work in a new project
4 participants