tmax

0.2.1 • Public • Published

tmax

A tool for running multiple processes in parallel with useful output. Designed for monorepos.

⚠️ Alpha and still a little frustrating to use. May be bugs.

asciicast

Configuration

See tmax.config.js, tmax.example.js and tmax.example.json.

Example

module.exports = {
  panes: [
    { label: 'Web', command: 'npm run start-web' },
    { label: 'Test', command: 'npm t -- --watch' },
    { label: 'REPL', command: 'node' },
    {
      label: 'Builds',
      commands: [
        {
          label: 'package-a',
          command: `./node_modules/lerna/cli.js exec npm run build-watch --scope package-a`,
        },
        {
          label: 'package-b',
          command: `./node_modules/lerna/cli.js exec npm run build-watch --scope package-b`,
        },
        {
          label: 'package-c',
          command: `./node_modules/lerna/cli.js exec npm run build-watch --scope package-c`,
        },
      ]
    }
  ]
}

Todo

  • [ ] Standardise scrolling between shell panes and log panes.
  • [ ] Add some tests (yeah I didn't TDD much of this.)
  • [ ] Add --help.
  • [ ] Support custom layouts.
  • [ ] Bug: Display correct error when an error occurs in configuration file.

Readme

Keywords

none

Package Sidebar

Install

npm i tmax

Weekly Downloads

1

Version

0.2.1

License

ISC

Unpacked Size

76.1 kB

Total Files

43

Last publish

Collaborators

  • zuren