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

peer on ember-styleguide #9

Closed
mansona opened this issue Jan 24, 2024 · 3 comments · Fixed by #10
Closed

peer on ember-styleguide #9

mansona opened this issue Jan 24, 2024 · 3 comments · Fixed by #10

Comments

@mansona
Copy link

mansona commented Jan 24, 2024

is there any reason for the peer on ember-styleguide? 🤔 https://github.com/IgnaceMaes/ember-showdown-shikiji/blob/main/ember-showdown-shikiji/package.json#L113

I know this is being used a lot in the ember sites but it doesn't need to be. Is it actually depending on something?

@IgnaceMaes
Copy link
Owner

The CSS variables are used for styling purposes: https://github.com/IgnaceMaes/ember-showdown-shikiji/blob/main/ember-showdown-shikiji/src/styles/shikiji.css#L27

This addon expects them to be available, hence the peer.

Any specific reason why? Should this be done differently?

@mansona
Copy link
Author

mansona commented Jan 25, 2024

so I think this should be separate from ember-styleguide. I just tried to install it into ember-learn/ember-api-docs#902 instead of ember-showdown-prism but ember-api-docs currently depends on a very old version of ember-styleguide "ember-styleguide": "2.6.0-0",

Does that make sense?

@IgnaceMaes
Copy link
Owner

I see, seems like it's better to just get rid of it then. That's one less dependency to take into account.

I'll have a look later.

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 a pull request may close this issue.

2 participants