@commitspark/git-adapter-gitlab
TypeScript icon, indicating that this package has built-in type declarations

0.10.0 • Public • Published

Introduction

Commitspark is a workflow-first Content Management System based on Git and GraphQL.

This repository holds code that implements access to Git repositories hosted on GitLab (SaaS).

Usage

Instantiate the adapter with createAdapter() and then call setRepositoryOptions() with GitLabRepositoryOptions on the instance. These options are as follows:

Option name Required Default value Description
projectPath True GitLab (SaaS) project path, e.g. myorg/myrepo
token True GitLab (SaaS) personal access token
pathSchemaFile False commitspark/schema/schema.graphql Path to schema file in repository
pathEntryFolder False commitspark/entries/ Path to folder for content entries

License

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

Readme

Keywords

none

Package Sidebar

Install

npm i @commitspark/git-adapter-gitlab

Weekly Downloads

1

Version

0.10.0

License

ISC

Unpacked Size

76.6 kB

Total Files

33

Last publish

Collaborators

  • advancingu