Closed danielwippermann closed 8 years ago
You need to git pull
the latest feature/cli
changes and resolve since I merged the last PR and this caused a merge conflict.
Okay, thanks, I'll do that as soon as I get back from work.
That commit contains the merge with the latest changes on "feature/cli" as well as a variable name change to comply with the team rule ("md" => "matchData").
This commit extends the CLI generator module search functionality to also look in the current working directory. That way users of stimpak can install the generator locally before running the stimpak CLI.
It also refactors the CLI spec setup (creating directories and symlinks) into a separate helper module to be able to use it in different specs.
The factored out CLI spec setup uses a slightly different directory layout. Previously the test only passed, because the test generators where symlinked into "((stimpak-path))/node_modules/stimpak-test-((x))" which is most probably not the case on end-user systems. The refactored CLI spec setup "simulates" installing "stimpak" and some test generators pseudo-globally and some test generators locally to the end user project directory.