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

Add support for ember-simple-auth v7 #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Windvis
Copy link

@Windvis Windvis commented Mar 25, 2025

This removes the dependency on ember-simple-auth since it is already a peerDep with a wide range:

"ember-simple-auth": ">= 5.0.0",

This would allow apps to use v7 as well. v7 is API compatible with v5 and v6, so no code changes are needed here.

@@ -35,8 +35,7 @@
"@babel/core": "^7.22.10",
"ember-auto-import": "^2.6.3",
"ember-cli-babel": "^8.0.0",
"ember-cli-htmlbars": "^6.3.0",
"ember-simple-auth": "^6.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, moving this to dependencies was done by @erikap as otherwise it needed an extra import for the addon to be usable in a project.

Unfortunately that discussion was a couple of years ago, so I don't remember much beyond what's in the messages.

Copy link
Author

Choose a reason for hiding this comment

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

Yea, I read that comment, but I've never seen that problem before so I'm confident it must have been a quirk in the host app's setup.

We use the exact same setup (where we only list the peerDep) in @lblod/ember-mock-login and @lblod/ember-acmidm-login which we use in most of our apps without problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants