Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

Plugin fails with latest Gatsby #5

Description

When using the latest Gatsby, this plugin fails validation:

Your plugins must export known APIs from their gatsby-node.js.
The following exports aren't APIs. Perhaps you made a typo or
your plugin is outdated?

See https://www.gatsbyjs.org/docs/node-apis/ for the list of Gatsby Node APIs
 — The plugin "gatsby-plugin-cockpit@1.0.39" is exporting a variable named "collectionsItems" which isn't an API.
 — The plugin "gatsby-plugin-cockpit@1.0.39" is exporting a variable named "regionsItems" which isn't an API.
 — The plugin "gatsby-plugin-cockpit@1.0.39" is exporting a variable named "collectionsNames" which isn't an API.

The offending lines are here:

exports.collectionsItems = collectionsItems;

I'm not sure of all the ramifications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions