0.6.0 • Published 10 months ago

@commitspark/git-adapter-filesystem v0.6.0

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Introduction

Commitspark is a set of tools to manage structured data with Git through a GraphQL API.

This repository holds code for a Commitspark Git adapter that provides access to Git repositories checked out in the local filesystem.

This adapter is meant to be used in CI/CD pipelines where a single Git revision of content checked out in the filesystem needs to be read.

Usage

Instantiate the adapter with createAdapter() and then set adapter options FilesystemRepositoryOptions on the instance.

Option nameRequiredDefault valueDescription
checkedOutCommitHashTrueGit hash / revision currently checked out in the filesystem
pathSchemaFileFalsecommitspark/schema/schema.graphqlPath to schema file in repository
pathEntryFolderFalsecommitspark/entries/Path to folder for content entries

License

The code in this repository is licensed under the permissive ISC license (see LICENSE).

0.6.0

10 months ago

0.5.0

2 years ago

0.4.0

2 years ago