Skip to content

v1.1.0 - Adds basic dependency resolution

Choose a tag to compare

@mschnee mschnee released this 07 Aug 20:06
· 18 commits to master since this release
5d0b21c

Adds basic dependency resolution. If you packages depend on other packages, it will attempt to build them in order.

mister do [package1, package2, ...packageN] --with-dependencies --tasks <task1, task2, ...taskN>

This is a simple extension of mister do. As an example, if package3 depends on package1 which depends on package1, then mister do package1 -d --tasks build will run build on package1, package2, and then package3.

  • Adds the command do-all, as in mister do-all [task1, task2, ...taskN], which performs the tasks on all your packages in correct order of dependency.
  • Adds the --all flag to do, as in mister do --all --tasks task1 task2 taskN, which is synonymous to mister do-all task1 task2 taskN
  • Adds the --with-dependencies or -d flag to do, as in mister do -d package3 --tasks task1 task2, which would run task1 and task2 on package3 after running them on all of its dependencies.
  • Updates test runner from mocha to ava. The unit tests require a lot of process state switching via process.chdir and there was a lot of data clobbering and well as special branches added to the code specifically for mocha testing. Switching to ava, which runs each test file in a subprocess, means this test-specific branching can be removed from the code.