2.7.1 • Published 2 years ago

msync v2.7.1

Weekly downloads
59
License
MIT
Repository
github
Last release
2 years ago

Build Status

msync

A powerful toolkit for managing multiple node-modules in a flexibly defined workspace, just the way you like it.

  • build and watch (typescript)
  • sync and watch (dependency graph)
  • bump (versions in dependency graph order)
  • publish (to NPM)
  • outdated (list all outdated modules)

Video

Install

npm install -g msync

Usage

Create a sync.yaml file to define the modules within your workspace.

modules:
  - ./sample/*/package.json
  - ./sample/libs/*/package.json

watchPattern: /lib/**/*.js # The files that when changed cause a sync to occur.

Run the command line using msync within your workspace folder to list, sync or build the modules:

ls (list)

Image

sync

Image

build (typescript)

Image

outdated

Image

watch

Starts watchers for build and sync in new tabs. Requires a terminal like iTerm2 that can recieve "new tab" instructions.

delete

Deletes common transient folders from across all modules, such as logs (yarn-error.log and npm-debug.log) or yarn.lock files, or node_modules folder etc.

tsconfig

Common transformations across typescript configuration files, eg flipping the noUnusedLocals switch.

audit

Runs an NPM security audit across all modules.

Audit

Help

Use the --help (-h) flag to see the options for each command, eg:

msync sync --help

Ignore

You can ignore file paths and module names by declaring an ignore block in the sync.yaml definition:

ignore:
  paths:
    - ./sample/**/ignore-folder
  names:
    - 'module-4'

Other Approaches

Here are some other approaches to the problem that you might prefer:

  • NPM link - Our old friend npm link. Good luck with that!

  • Lerna: A tool for managing JavaScript projects with multiple packages.

Next Steps

  • workspaces
2.7.0

2 years ago

2.7.1

2 years ago

2.6.0

2 years ago

2.5.10

3 years ago

2.5.9

3 years ago

2.5.8

3 years ago

2.5.7

3 years ago

2.5.6

4 years ago

2.5.5

4 years ago

2.5.4

4 years ago

2.5.3

4 years ago

2.5.2

4 years ago

2.5.1

4 years ago

2.5.0

4 years ago

2.4.1

4 years ago

2.4.0

4 years ago

2.4.2

4 years ago

2.3.2

4 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.9

5 years ago

2.2.8

5 years ago

2.2.7

5 years ago

2.2.6

5 years ago

2.2.5

5 years ago

2.2.4

5 years ago

2.2.3

5 years ago

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.7

5 years ago

2.1.6

5 years ago

2.1.5

5 years ago

2.1.4

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.11.9

6 years ago

1.11.8

6 years ago

1.11.7

6 years ago

1.11.6

6 years ago

1.11.5

6 years ago

1.11.4

6 years ago

1.11.3

6 years ago

1.11.2

6 years ago

1.11.1

6 years ago

1.11.0

6 years ago

1.10.1

6 years ago

1.10.0

6 years ago

1.9.4

6 years ago

1.9.3

6 years ago

1.9.2

6 years ago

1.9.1

6 years ago

1.9.0

6 years ago

1.8.8

6 years ago

1.8.7

6 years ago

1.8.6

6 years ago

1.8.5

6 years ago

1.8.4

6 years ago

1.8.3

6 years ago

1.8.2

6 years ago

1.8.1

6 years ago

1.8.0

7 years ago

1.7.1

7 years ago

1.7.0

7 years ago

1.6.6

7 years ago

1.6.5

7 years ago

1.6.4

7 years ago

1.6.3

7 years ago

1.6.2

7 years ago

1.6.1

7 years ago

1.6.0

7 years ago

1.5.12

7 years ago

1.5.11

7 years ago

1.5.10

7 years ago

1.5.9

7 years ago

1.5.8

7 years ago

1.5.7

7 years ago

1.5.6

7 years ago

1.5.5

7 years ago

1.5.4

7 years ago

1.5.3

7 years ago

1.5.2

7 years ago

1.5.1

7 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.4

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.7

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago