0.9.1 • Published 3 years ago

gatsby-transformer-technology-radar v0.9.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

gatsby-transformer-technology-radar

Gatsby plugin for displaying a technology radar on your website inspired by https://github.com/thoughtworks/build-your-own-radar.

Install

This plugin can be installed by using:

npm install --save @valiton/gatsby-transformer-technology-radar

How to use

This plugin requires your technology radar data to be present as a node created by gatsby-transformer-csv, so if you added your technology radar csv file as src/techradar/radar.csv use the following configuration:

// In your gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: 'gatsby-source-filesystem',
      options: {
        name: 'radar',
        path: 'src/techradar'
    },
    {
      resolve: 'gatsby-transformer-csv',
      options: {
        nodePerFile: true
      }
    },
    {
      resolve: 'gatsby-transformer-technology-radar',
      options: {
        nodeType: 'RadarCsv',
        radarName: 'My technology radar'
      }
    },
  ]
};

License

MIT

0.9.1

3 years ago

0.9.0

3 years ago