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

Lazily require ember-cli-addon-docs-yuidoc when needed #125

Merged
merged 1 commit into from
Aug 10, 2022
Merged

Lazily require ember-cli-addon-docs-yuidoc when needed #125

merged 1 commit into from
Aug 10, 2022

Conversation

nlepage
Copy link
Contributor

@nlepage nlepage commented Jun 23, 2022

Hi!

In an attempt to workaround issue #124, we excluded yui from our dependencies.
However, it turns out that ember-cli-storybook always requires ember-cli-addon-docs-yuidoc (which requires yuidocjs, which requires yui ☠️).

So, this PR aims at allowing not to have yui in our dependencies if it is not used, by lazily requiring ember-cli-addon-docs-yuidoc when it is necessary.

Hope this helps.

@nlepage
Copy link
Contributor Author

nlepage commented Jun 30, 2022

The issue has been fixed in npm v8.13.2

Still people are going to hit this if they are using npm < v8.13.2

@Gorzas
Copy link
Contributor

Gorzas commented Jul 5, 2022

It doesn't seem we are going to have an update of npm version soon. Can we have this merge into master until we can have npm v8.13.2 in CI actions?

@dbendaou dbendaou reopened this Aug 10, 2022
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.

None yet

3 participants