-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Amend import order in auth templates according to ESLint rules introduced in v2.0 #6059
Conversation
✅ Deploy Preview for redwoodjs-docs canceled.
|
d346b04
to
dd324ad
Compare
☁️ Nx Cloud ReportCI is running/has finished running commands for commit d4e3b86. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 14 targets
Sent with 💌 from NxCloud. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks again @Philzen!
This PR changes a setup command, so leaving a quick note to myself to double check the fixtures. |
d78d50d
to
6019f4f
Compare
6019f4f
to
b5142e1
Compare
While working on #6159 i realized that there are multiple templates that needed import order fixes. I've fixed all of those now. As i'm currently trying to close off any open ends before i go silent for my summer hiatus, just wanted to quickly check back whether the fixtures are OK or anything needs to be done. I'm happy for you to add any necessary changes to this PR otherwise. @jtoar as i am currently peeking into the I can see that there is a linting job in the What do you think? Would that be achievable? If you agree, maybe we should formulate an RFC for that. From what i can see, that would have saved us dozens of individual "cleanup afterwards" PRs – and i can foresee many regressions happen over and over again, e.g. next time we change the ESLint rules, but also on simple changes to some of the more complex generators. |
@Tobbe I must be too tired / overworked but i'm simply not getting what i'd need to change in Also, do i understand correctly that this file would also need to be synchronized for #6159 to go through? As i already invested the effort, i'd of course prefer those to go through and claim the (albeit-so-little) fame 😉 But if you're saying this will create huge rebasing conflicts on your branch, and that is going to land soon (=early enough to ship in v2.3) you may close this. Otherwise, i'd prefer you pushing the necessary change to this PR directly, enlighten me directly through that, and have those fixes merged and available for any users starting fresh with v2.3. |
It's a weird hour for both of us 🙂 The bot isn't smart enough to know if anything actually needs to be updated. It just looks at what files were changed. I've overruled the bot, and have now enabled auto-merge |
Yes, for that one you actually do have to update the fixture
Fame is well deserved! Of course you should have it
The next release is most likely going to be a breaking v3.0 release. Hopefully this or next week. I feel like I'm making good progress on the auth refactor, but I can't promise it'll be ready for v3. Especially since we'd need to update the api side too to take full advantage of the changes I'm making. And that work has only been started on an experimental level so far. No ongoing PR. |
0e4bc7b
to
e9e9141
Compare
Head branch was pushed to by a user without write access
851d0b6
to
8e54e68
Compare
8e54e68
to
5c821d2
Compare
…ac09/redwood into fix/user-scenarios-not-being-generated * 'fix/user-scenarios-not-being-generated' of github.com:dac09/redwood: Amend import order in auth templates according to ESLint rules introduced in v2.0 (redwoodjs#6059) docs(tutorial): Adds more TS hints in the toturial (redwoodjs#6115) Revert auth provider refactor (redwoodjs#6135)
…-types-on-setup-auth * 'main' of github.com:redwoodjs/redwood: (33 commits) fix(generators): Dont set tests=false in sdl generators by default (redwoodjs#6195) Harmonize optional chaining across all `hasRole` flavors & reduce duplication, avoiding errors on empty currentUser (redwoodjs#6159) Amend import order in auth templates according to ESLint rules introduced in v2.0 (redwoodjs#6059) docs(tutorial): Adds more TS hints in the toturial (redwoodjs#6115) Revert auth provider refactor (redwoodjs#6135) fix(deps): update docusaurus monorepo to v2.0.1 (redwoodjs#6176) fix(deps): update typescript-eslint monorepo to v5.33.0 (redwoodjs#6192) fix(deps): update dependency yargs-parser to v21.1.1 (redwoodjs#6191) fix(deps): update dependency fastify to v4.4.0 (redwoodjs#6190) fix(deps): update dependency @testing-library/user-event to v14.4.2 (redwoodjs#6189) chore(deps): update dependency @types/vscode to v1.70.0 (redwoodjs#6188) chore(deps): update dependency @types/prettier to v2.7.0 (redwoodjs#6187) fix(deps): update dependency systeminformation to v5.12.4 (redwoodjs#6186) chore(deps): update dependency @clerk/types to v2.21.0 (redwoodjs#6179) chore(deps): update dependency lerna to v5.4.0 (redwoodjs#6180) fix(deps): update prisma monorepo to v4.1.1 (redwoodjs#6181) chore(deps): update dependency @clerk/clerk-js to v3.17.0 (redwoodjs#6178) fix(deps): update storybook monorepo to v6.5.10 (redwoodjs#6177) fix(deps): update dependency @actions/core to v1.9.1 (redwoodjs#6175) chore(deps): update dependency magic-sdk to v9 (redwoodjs#6138) ...
No description provided.