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

Configurable dependencies #974

Merged
merged 8 commits into from
Aug 2, 2016
Merged

Conversation

soulfresh
Copy link

What does this PR do?
Introduces a new configuration parameter (additionalNgDependencies) which allows users of the styleguide to inject dependencies while bootstrapping the style guide rather than during lazy load of components. Usage details have been added to the README.

This became necessary when trying to integrate the sc5-styleguide with a component library that used ngMaterial because ngMaterial doesn't play nicely with ocLazyLoad. See this GitHub issue for more details.

Testing done
We've been using this fork on our project for about a month and haven't noticed any issues.

Thanks

soulfresh and others added 8 commits May 4, 2016 12:06
- Also made some small tweaks to style guide app markup docs.
* upgrade-packages:
  Fixed casing issue causing failure to load ngProgress.
* upgrade-packages:
  Removed describe.only call in app.test.js (woops)
  Added testing around AppCtrl.
* upstream/master:
  Link to a blog post about advanced adjustment
  Release 1.0.0
  Test for !optional in SCSS. Fix SC5#757
  Test for @supports in CSS
  Return server instance when calling styleguide.server()
  Use new version of gonzales and traverse for LESS
  optimize filter setVariables
  Release 0.3.47
  update kss markup of styleguide app styles
  test coverage
  improved main section view
  Fix typo
  fix css for search field
  Link to "Advanced techniques for the SC5 styleguide generator"
  Additional links in the documentation
* master:
  Fixed the angular-mocks dependency to match the base angular dependency version.
@soulfresh
Copy link
Author

The coverage decrease here is really small so I'm hoping it's acceptable. Otherwise, I'm not sure of the best way to test my changes to app.js. Definitely open to suggestions.

@junaidrsd junaidrsd merged commit 29de247 into SC5:master Aug 2, 2016
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