This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

gatsby-tinacms-teams

0.42.1 • Public • Published

gatsby-tinacms-teams

Adds Tina Teams authentication and authorization to a Gatsby site.

Install

npm install --save gatsby-tinacms-teams

or

yarn install gatsby-tinacms-teams

How to Use

Setting up Tina Teams

TODO

Configuring the Plugin

// In your gatsby-config.js
plugins: [
  {
    resolve: "gatsby-plugin-tinacms",
    options: {
      plugins: [
        "gatsby-tinacms-teams"
      ]
    }
  }
],

Starting the App

Teams authentication is controlled by the REQUIRE_AUTH environment variable.

package.json

"scripts": {
  "auth-start": "REQUIRE_AUTH=true gatsby develop"
}

Alternatively, you can use .env files:

.env.staging

REQUIRE_AUTH=true

You will also need to set the TINA_TEAMS_NAMESPACE environment variable. This will be the email of the user who owns this site within Tina Teams

.env.staging

REQUIRE_AUTH=true
TINA_TEAMS_NAMESPACE=james@forestry.io

TINA CMS

Readme

Keywords

Package Sidebar

Install

npm i gatsby-tinacms-teams

Weekly Downloads

36

Version

0.42.1

License

Apache-2.0

Unpacked Size

18.3 kB

Total Files

6

Last publish

Collaborators

  • warwick_tinacms
  • kldavis4
  • scottgallant
  • jeffsee55
  • ncphillips