@juwel-development/meta-repo

0.1.7Β β€’Β PublicΒ β€’Β Published

meta-repo

This is a toolkit to easily manage a meta repository that includes multiple related JavaScript modules. It is written in Rust (and blazing fast. πŸš€πŸš€πŸš€).

Terminology

  • Meta Repository: A repository that contains multiple related repositories.
  • Package: A JavaScript module that is publishing a library.
  • Application: A JavaScript module that is part of the meta repository and can be started.

Features

  • Run npm install on multiple repositories.
  • Link local dependencies automatically.
  • Run npm start via a single command to start all applications and packages.

Commands

command description
meta-repo setup Creates a file mata-repo.config.json in the root directory of the meta repo.
mete-repo init Run git clone for all repositories that are included.
meta-repo install Run npm install for all applications and links local packages, that are part of the meta repo.
meta-repo start-app [name of the app] Run npm start for all libraries and for the application that was given.

Configuration

You need to configure the meta repository by creating a file meta-repo.config.json in the root directory of the meta repository.

{
  "apps": [
    {
      "dir": "local directory where the app is located",
      "git": "git url of the app"
    }
  ],
  "packages": [
    {
      "dir": "local directory where the package is located",
      "git": "git url of the package"
    }
  ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i @juwel-development/meta-repo

Weekly Downloads

1

Version

0.1.7

License

none

Unpacked Size

3.92 kB

Total Files

3

Last publish

Collaborators

  • juwel-dev