Coder Social home page Coder Social logo

graphql-cli-gramps's Introduction

graphql-cli-gramps npm

CircleCIDavid
Plugin for graphql-cli. Adds the gramps-cli to graphql-cli.

Installation

Install graphql-cli-gramps either globally (recommended) or locally using your favorite package manager:

$ yarn [global] add graphql-cli-gramps
$ npm install graphql-cli-gramps [--global]

Usage

graphql gramps dev

run a GraphQL gateway for local development

Choose data source(s) for local development:
  --data-source, --data-sources, -d  path to one or more data sources    [array]

Choose a GraphQL gateway to run the data sources:
  --gateway, -g  path to a GraphQL gateway start script                 [string]

Choose real or mock data:
  --live, -l  run GraphQL with live data
  --mock, -m  run GraphQL offline with mock data

Turn Babel on or off:
  --no-transpile

Options:
  --dotenv       Path to .env file                                      [string]
  -p, --project  Project name                                           [string]
  --transpile    don’t transpile data sources (point to a build dir)
                                                       [boolean] [default: true]
  -h, --help     Show help                                             [boolean]
  -v, --version  Show version number                                   [boolean]

graphql-cli-gramps's People

Contributors

kbrandwijk avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

graphql-cli-gramps's Issues

Missing peer dependencies

This is awesome — thanks so much for putting it together!

When I went to install it, though, I got the following warnings about missing peer dependencies:

$ yarn global add graphql-cli-gramps
yarn global v1.3.2
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "graphql-cli-gramps > @gramps/[email protected]" has unmet peer dependency "graphql@^0.11.7 || ^0.12.0".
warning "graphql-cli-gramps > @gramps/[email protected]" has unmet peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0".
warning "graphql-cli-gramps > @gramps/cli > [email protected]" has unmet peer dependency "express@^4.16.2".
warning "graphql-cli-gramps > @gramps/gramps > [email protected]" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0".
warning "graphql-cli-gramps > @gramps/cli > apollo-server-express > [email protected]" has unmet peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0".
warning "graphql-cli-gramps > @gramps/gramps > graphql-tools > [email protected]" has unmet peer dependency "graphql@^0.11.3 || ^0.12.3".
warning "graphql-cli-gramps > @gramps/gramps > graphql-tools > [email protected]" has unmet peer dependency "graphql@^0.10.5 || ^0.11.3 || ^0.12.0".
warning "graphql-cli-gramps > @gramps/cli > apollo-server-express > apollo-server-core > [email protected]" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0".
warning "graphql-cli-gramps > @gramps/cli > apollo-server-express > apollo-server-core > [email protected]" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0".
warning "graphql-cli-gramps > @gramps/cli > apollo-server-express > apollo-server-core > [email protected]" has unmet peer dependency "graphql@^0.10.0 || ^0.11.0".
[4/4] 📃  Building fresh packages...
warning "[email protected]" has no binaries
✨  Done in 2.70s.

Attempting to run the command results in:

Too many non-option arguments: got 2, maximum of 1
Unknown arguments: gramps, dev

I assume that error is because the GrAMPS plugin is failing with missing peer deps.

Should we add the peer deps as deps in this plugin? Or just expect that anyone installing the plugin globally will also install Express and graphql globally?

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm tslint Unavailable

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

circleci
.circleci/config.yml
npm
package.json
  • @gramps/cli ^1.0.0-beta.4
  • @gramps/gramps ^1.1.0
  • reify ^0.13.5
  • @types/node 8.5.7
  • tslint 5.8.0
  • typescript 2.6.2

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.