Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Bump gatsby-plugin-ts-config from 0.2.3 to 2.1.3 #2736

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 5, 2021

Bumps gatsby-plugin-ts-config from 0.2.3 to 2.1.3.

Release notes

Sourced from gatsby-plugin-ts-config's releases.

v2.1.0

  • Integrates a "base" transpiler, allowing the transpiler to stay on after hitting the gatsby-* files it can find.

    • This will allow plugins that use .ts files to still be transpiled by Gatsby itself
    • The first settings defined for the transpiler will be the settings used by the base transpiler
  • Added ignore hooks. Information is in the README.md, in the options documentation

v2.0.2

  • Fix module resolution when .ts file is next to its .js, and extension isn't explicitly defined.

v2.0.1

  • Fix transpiler require path resolution

Major version 2.0 release

  • Removes the "proxy" method for providing Typescript gatsby-config and gatsby-node content to Gatsby

    Instead of proxying via the Gatsby Theme method, gatsby-config.js and/or gatsby-node.js will call useGatsbyConfig or useGatsbyNode, respectively, to transpile and pass their respective content to Gatsby

Breaking changes

Type changes

  • IGatsbyPluginDef -> GatsbyPlugin
  • ITSConfigFn -> TSConfigFn
  • Second parameter on TSConfigFn (PropertyBag types) changed
    • If you were using an interface to define your property bag, it should be changed to a type, or you may get errors about it needing a string index

Plugin API

  • generateConfig replaced by useGatsbyConfig and useGatsbyNode
  • Plugin options changed, see: https://github.com/Js-Brecht/gatsby-plugin-ts-config#options
    • Dropped babel and tsNode; replaced with type and transpilerOptions
  • Dropped properties on default export function parameters
    • endpoints (now imports)
    • configDir
    • cacheDir
  • Property bag definition is no longer the second parameter of the bootstrap functions
    • It is included in plugin options as the props key

Project structure

  • gatsby-browser and gatsby-ssr are no longer proxied; they must be in your site's root directory
  • gatsby-node is no longer proxied; it must have a module in your site's root directory

v1.1.6

  • Allows boolean false values in the plugin list, and filters them out before passing to Gatsby.

v1.1.5

  • Appends /package.json to the resolved plugin paths, to make Gatsby's plugin directory resolution more definitive.

v1.1.3

  • Makes props parameter of generateConfig() optional
  • Adds allExtensions: true to *.tsx babel preset

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 5, 2021
Bumps [gatsby-plugin-ts-config](https://github.com/Js-Brecht/gatsby-plugin-ts-config) from 0.2.3 to 2.1.3.
- [Release notes](https://github.com/Js-Brecht/gatsby-plugin-ts-config/releases)
- [Commits](https://github.com/Js-Brecht/gatsby-plugin-ts-config/commits)

---
updated-dependencies:
- dependency-name: gatsby-plugin-ts-config
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/gatsby-plugin-ts-config-2.1.3 branch from a452f39 to 7fddaf9 Compare March 6, 2022 02:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants