npm

@gabortorma/mwm
TypeScript icon, indicating that this package has built-in type declarations

0.8.12 • Public • Published

@gabortorma/mwm

npm version npm downloads License code style

Multi-repo Workspace Manager

Install globally

npm install -g @gabortorma/mwm

Usage

mwm --help

Release

mwm release --help

Generate

Generate new submodule from template

mwm generate --help

Required to declare minimum one owner with GitHub token in the config file.

Recommended to use .mwmrc file for token and add it to .gitignore.

owners.NAME_OF_OWNER.token = ghp_xxxxx

Required scopes for the token:

  • repo
  • write:packages
  • delete:packages
  • delete_repo

Config

You can use mwm.config or .mwmrc files for configuration.

MWM uses unjs/c12 for reading config files. Check the documentation for more information and all available options.

See the loadConfig options.

TypeScript config

You can use defineMWMConfig function in mwm.config.ts file to define the config with TypeScript support.

import { defineMWMConfig } from '@gabortorma/mwm'

export default defineMWMConfig({
  // your own config
})

License

MIT License © 2023-PRESENT Gábor Torma

Package Sidebar

Install

npm i @gabortorma/mwm

Weekly Downloads

29

Version

0.8.12

License

MIT

Unpacked Size

73.5 kB

Total Files

43

Last publish

Collaborators

  • gabortorma