/lunar-core

Tools to assist with mocking GraphQL schemas

Primary LanguageJavaScriptMIT LicenseMIT

CircleCI Maintainability Test Coverage

Lunar Core

Lunar Core provides the means to generate deterministic results from the graphql-tools mocking framework.

Installation

npm i lunar-core lunar-express --save-dev

Setup

Lunar Core currently has easy to use packages for use with:

Usage & Test Examples

Check out our React Boston 2018 demo repo for examples!

Features, Issues & Bugs

Before opening a new issue:

  1. Ensure you are using the latest version of lunar-core.
  2. Please search on GitHub under Issues to confirm it hasn't already been reported.
  3. If you are unable to find any open GitHub issues addressing the problem you found, your next step will be to open a new one.

When opening a new issue:

  1. Your issue report should contain a title and a clear description of the issue at the bare minimum.
  2. You should include as much relevant information as possible, including a code sample that demonstrates the issue.
  3. The easier you make it for us to understand your issue, the quick we can help you find a solution.

ezcater/lunar-core/issues

Maintainers

Contributing

Getting Set Up

npm install
npm test

Linting

This project uses Eslint for linting. You can get both of these built into your editor with no configuration by opening this project in Visual Studio Code, an open source IDE which is available for free on all platforms.

Submitting a Pull Request

  1. Fork the official repository.
  2. Create a topic branch.
  3. Implement your feature or bug fix.
  4. Add, commit, and push your changes.
  5. Submit a pull request.

Notes

  • Please add tests if you changed code. Contributions without tests won't be accepted.
  • If you don't know how to add tests, please put in a PR and leave a comment asking for help. We are INSANELY helpful!
  • Please don't update the package version. We will handle that when we prep a new release based on all changes that will be included.
  • Lunar Core follows Semantic Versioning 2.0 as defined at http://semver.org.

License

MIT License. Copyright 2018 ezCater, Inc. https://www.ezcater.com

You are not granted rights or licenses to the trademarks of ezCater, including without limitation it's name or logo.