
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
tinacms-gitprovider-github
Advanced tools
The Github Git Provider handles saving and deleting content to GitHub. It can be used as a prop to the `createDatabase` function.
The Github Git Provider handles saving and deleting content to GitHub. It can be used as a prop to the createDatabase
function.
import { GithubProvider } from 'tinacms-gitprovider-github'
// database.{ts,js}
//...
export default isLocal ? createLocalDatabase() ? createDatabase({
gitProvider: new GitHubProvider({
branch: process.env.GITHUB_BRANCH,
owner: process.env.GITHUB_OWNER,
repo: process.env.GITHUB_REPO,
token: process.env.GITHUB_PERSONAL_ACCESS_TOKEN,
}),,
// ...
})
Option | Description |
---|---|
branch | The branch to save content to. |
owner | The owner of the repo. |
repo | The repo to save content to. |
token | A Github Personal Access Token. |
Option | Description |
---|---|
commitMessage | The commit message to use when saving content. Defaults to Edited with TinaCMS . |
rootPath | This path will be prefixed to all paths (good for monorepos) |
octokitOptions | Options passed to the Octokit constructor |
FAQs
The Github Git Provider handles saving and deleting content to GitHub. It can be used as a prop to the `createDatabase` function.
The npm package tinacms-gitprovider-github receives a total of 1,014 weekly downloads. As such, tinacms-gitprovider-github popularity was classified as popular.
We found that tinacms-gitprovider-github demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.