Skip to content

m7mdsiam/gitbase

Repository files navigation

GitBase Monorepo

GitBase is a schema version control toolkit for Supabase projects.

This repository contains:

  • @coldge.com/gitbase (CLI package)
  • @coldge.com/gitbase-core (shared core library)
  • Browser extension source (src/)

Repository Layout

  • packages/cli: CLI package (@coldge.com/gitbase)
  • packages/core: Shared core package (@coldge.com/gitbase-core)
  • src: Browser extension app code
  • tests: Unit, integration, and e2e tests

Requirements

  • Node.js >=18
  • npm

Install

npm install

Development

Start extension dev build:

npm run dev

Build everything:

npm run build

Build only packages:

npm run build:packages

Typecheck:

npm run typecheck
npm run typecheck:packages

Run tests:

npm run test
npm run test:e2e

Packages

CLI: @coldge.com/gitbase

Install globally:

npm install -g @coldge.com/gitbase

Run without install:

npx @coldge.com/gitbase --help

Core: @coldge.com/gitbase-core

Install:

npm install @coldge.com/gitbase-core

Publishing

Publish in order:

  1. Core package first
  2. CLI package second

From repo root:

npm run publish:all

Manual equivalent:

npm publish -w packages/core --access public
npm publish -w packages/cli --access public

License

MIT (LICENSE).

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors