next-auth icon indicating copy to clipboard operation
next-auth copied to clipboard

chore(providers): rename 42School to FortyTwo

Open ikersojo opened this issue 1 year ago • 7 comments

☕️ Reasoning

42School Provider works but documentation was reflecting a different providerName. In fact, the providerName had spaces and starts with numbers. I have replaced all instances of the providerName so that documentation and the getting started guides reflect the correct providerName.

Changed from 42School or 42 School in the documentation to FortyTwo in this PR.

🧢 Checklist

  • [x] Documentation
  • [ ] Tests
  • [ ] Ready to be merged

🎫 Affected issues

📌 Resources

ikersojo avatar Jun 07 '24 13:06 ikersojo

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 2, 2024 10:22am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Jul 2, 2024 10:22am

vercel[bot] avatar Jun 07 '24 13:06 vercel[bot]

@ikersojo is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jun 07 '24 13:06 vercel[bot]

Duplicate of #10980

k-taro56 avatar Jun 08 '24 01:06 k-taro56

@k-taro56 thanks for that big PR! I left a littel note there.

After we cleanup the 42School imports, etc. there though, we can continue in this PR with any required docs changes to make everything match again (i.e. in docs/pages/getting-started/providers/42-school.mdx potentially). Cool with everyone?

@ikersojo I'll ping you here once that other PR is merged and then we'd appreciate it if you could modify this to make the docs match any code changes :pray:

ndom91 avatar Jun 08 '24 12:06 ndom91

Sure, happy to help!

ikersojo avatar Jun 08 '24 18:06 ikersojo

Sure, happy to help!

We've merged that PR, would love if you could clean this up and we can ship the rest of your 42school fixes 👍

ndom91 avatar Jun 13 '24 07:06 ndom91

42 doc should be now aligned

ikersojo avatar Jun 17 '24 08:06 ikersojo

I think everything is now consistent.

ikersojo avatar Jul 02 '24 10:07 ikersojo

It was suggested by @ndom91 to align everything to 'FortyTwo'. Since it was already a breaking change, I am proposing to go for 'FortyTwoSchool', as a mix between both naming schemes.

We can revert the changes to the naming scheme. As said before, this PR was a documentation fix, but as a 42 student, I am happy to help. Please let me know how to proceed.

ikersojo avatar Jul 04 '24 15:07 ikersojo

My main concern is with the import path change: 42-school -> fortyTwoSchool ❌. This seems unnecessary, breaking, and not aligned with the case convention.

42School -> FortyTwoSchool seems also wrong, searching for 42 in our docs would not work anymore.

I'll close this for now as I think this would be confusing to current users, breaking for a name change.

balazsorban44 avatar Jul 09 '24 16:07 balazsorban44