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

GraphCMS source plugin and usage example #2445

Closed
wants to merge 42 commits into from

Commits on Oct 13, 2017

  1. feat: add graphcms plugin

    Redmega authored and rafacm committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    3ceb57e View commit details
    Browse the repository at this point in the history
  2. refactor: extract method from sourceNodes

    Redmega authored and rafacm committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    98b5194 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    31d1bfa View commit details
    Browse the repository at this point in the history
  4. fix: allow public apis to be used sans token

    Angel Piscola authored and rafacm committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    fc65c72 View commit details
    Browse the repository at this point in the history
  5. docs: update README.md

    Angel Piscola authored and rafacm committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    e41e99f View commit details
    Browse the repository at this point in the history
  6. feat: add custom query execution

    Redmega authored and rafacm committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    a061c5c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f324c03 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8e814d7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ce56b7e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c061eb4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4c82eb7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d02fc43 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c96c236 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    41f03a8 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5277fe6 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6ffe69a View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    d88838d View commit details
    Browse the repository at this point in the history
  18. gatsby-source-graphcms:

    - removed unused code
    - added logic to fail processing if GraphQL query parameter is not passed in configuration
    rafacm committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    95eb8dc View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    4ac6cca View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    3c5df69 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2017

  1. faulty keywords workaround

    hmeissner committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    d1f7230 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b890015 View commit details
    Browse the repository at this point in the history
  3. corrections for linter

    hmeissner committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    2c99cbe View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0a83aee View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1 from hmeissner/gatsby-source-graphcms-plugin

    Preventing fields being named after 1 of the faulty keywords
    rafacm committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    fe6d30d View commit details
    Browse the repository at this point in the history
  6. update for aliasing

    hmeissner committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    9610d07 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #2 from hmeissner/gatsby-source-graphcms-plugin

    Update for aliasing
    hmeissner committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    89dde24 View commit details
    Browse the repository at this point in the history
  8. backticks for travis

    hmeissner committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    63a997e View commit details
    Browse the repository at this point in the history
  9. Merge pull request #3 from hmeissner/gatsby-source-graphcms-plugin

    backticks for travis
    hmeissner committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    60a60e2 View commit details
    Browse the repository at this point in the history
  10. backticks for travis

    hmeissner committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    234e549 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #4 from hmeissner/gatsby-source-graphcms-plugin

    more backticks for travis
    hmeissner committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    cb453d6 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2017

  1. Small correction to checkForFaultyFields function

    Small correction that adds the keys of properties with object values to our `all` array for cases such as
    ```
    length: {
      foo: "bar"
    }
    ```
    hmeissner committed Nov 10, 2017
    Configuration menu
    Copy the full SHA
    882974f View commit details
    Browse the repository at this point in the history
  2. update gatsby-source-graphcms-plugin readme

    In Current limitations
    - remove
        > Embedded fields aren't found by GraphQL
    subfields bug was `length` field needing aliasing in Gatsby
    rdela committed Nov 10, 2017
    Configuration menu
    Copy the full SHA
    db1b338 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2017

  1. attempt bootstrap and test

    all Gatsby tests pass for me except 3 snapshot tests all
    related to remark prism plugin
    including our very own first gatsby-source-graphcms-plugin jest
    test, thanks @hmeissner
    rdela committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    3b54fcb View commit details
    Browse the repository at this point in the history
  2. more elaborate example

    rdela committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    6ca2632 View commit details
    Browse the repository at this point in the history
  3. run yarn format-examples

    rdela committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    831b8ac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9dcd5fe View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3226996 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    22dd1cf View commit details
    Browse the repository at this point in the history
  7. add .babelrc

    rdela committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    c9eca5e View commit details
    Browse the repository at this point in the history
  8. remove .babelrc + package.json prepublish cross-env

    Some more changes to bring this more in line and conform with
    existing source plugins and ditch cruft/hopefully appease build
    servers. All other source plugins…
    
    - do not have a .babelrc
    - have babel-runtime in dependencies not devDependencies
    - have "prepublish": "cross-env NODE_ENV=production npm run build"
      in scripts
    
    so experimentally trying these chages
    rdela committed Nov 11, 2017
    Configuration menu
    Copy the full SHA
    bf47613 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    74fb6cc View commit details
    Browse the repository at this point in the history