Releases: Js-Brecht/gatsby-plugin-ts-config
Releases · Js-Brecht/gatsby-plugin-ts-config
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
- This will allow plugins that use
-
Added ignore hooks. Information is in the
README.md
, in the options documentation
v2.0.2
v2.0.1
Major version 2.0 release
-
Removes the "proxy" method for providing Typescript
gatsby-config
andgatsby-node
content to GatsbyInstead of proxying via the Gatsby Theme method,
gatsby-config.js
and/orgatsby-node.js
will calluseGatsbyConfig
oruseGatsbyNode
, 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 atype
, or you may get errors about it needing a string index
- If you were using an
Plugin API
generateConfig
replaced byuseGatsbyConfig
anduseGatsbyNode
- Plugin options changed, see: https://github.com/Js-Brecht/gatsby-plugin-ts-config#options
- Dropped
babel
andtsNode
; replaced withtype
andtranspilerOptions
- Dropped
- Dropped properties on default export function parameters
endpoints
(nowimports
)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
- It is included in plugin options as the
Project structure
gatsby-browser
andgatsby-ssr
are no longer proxied; they must be in your site's root directorygatsby-node
is no longer proxied; it must have a module in your site's root directory
v1.1.6
v1.1.5
v1.1.3
v1.1.1
v1.1.0: Dynamic Property Bag
- Implements a dynamic property bag (#19)
- Upgrades
ts-node
to v9.0.0 for compatibility with transformers
v1.0.0: Local Plugin Resolver
- Adds functionality for resolving (and compiling) local plugins.
- Adds functionality for resolving all plugin paths before they get to Gatsby, so that it can use plugins via proxy.