-
Notifications
You must be signed in to change notification settings - Fork 28
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
Incorrect peer setup (revealed with pnpm, npm8) #100
Comments
@NullVoxPopuli Seem related to #77 where Ed provided some feedback on each of these |
yeah, I think we can add |
on a non-typecript project, I get these errors:
the I don't believe ember-template-imports should require ember-cli-htmlbars, webpack shouldn't be required either, but ember-auto-import is notifying of that issue, so the only path forward there is for v2 addons to not depend on anything that depends on ember-auto-import, which in this instance is ember-source, which means that ember-source needs to be converted to a v2 addon. for the time being, for js projects, I think we need to use pnpm ignores for these dependencies -- they aren't yet needed, but the peer declarations are valid for app-consumers of these things. |
in an addon,
So we need to add the 3 recommended dependencies to the peer list, because we ship glint by default"
ember-cli-htmlbars is a bit silly though, so I'm going to add a pnpm.ignore entry for that (idk how to do the equiv for npm)
The text was updated successfully, but these errors were encountered: