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

chore(gatsby): add TypeScript definitions for config & plugin APIs #10897

Merged
merged 8 commits into from
Apr 30, 2019

Commits on Jan 7, 2019

  1. TypeScript definitions for config & plugin APIs

    I created TypeScript definitions for the [`gatsby-config.js`](https://www.gatsbyjs.org/docs/gatsby-config/#gatsby-config), [`gatsby-node.js`](https://www.gatsbyjs.org/docs/node-apis/), [`gatsby-browser.js`](https://www.gatsbyjs.org/docs/browser-apis/), and [`gatsby-ssr.js`](https://www.gatsbyjs.org/docs/ssr-apis/) APIs. 
    
    Some of the definitions could use more details (for example, many functions are simply defined as `Function`), but at least every method, parameter, and property are defined, which provides good intellisense and code-completion assistance in tools like VSCode. 😎
    JamesMessinger committed Jan 7, 2019
    Configuration menu
    Copy the full SHA
    8b181e1 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2019

  1. Configuration menu
    Copy the full SHA
    6f0f321 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e2a96f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9223292 View commit details
    Browse the repository at this point in the history
  4. fix typings

    wardpeet committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    bebe824 View commit details
    Browse the repository at this point in the history
  5. Revert "fix typings"

    This reverts commit bebe824.
    wardpeet committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    d10cc80 View commit details
    Browse the repository at this point in the history
  6. Revert "convert stage from string to union values"

    This reverts commit 9223292.
    wardpeet committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    eaf1c66 View commit details
    Browse the repository at this point in the history
  7. Revert "update api typings to work with exports syntax & update some …

    …missing"
    
    This reverts commit 6e2a96f.
    wardpeet committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    fee0d6f View commit details
    Browse the repository at this point in the history