This PR tweaks package configs a bit, but more importantly adds a new "publish"npm script to address #278.
For future reference the "publish" script does the following:
A non-hoisting bootstrap, which creates package-lock.json files in each package
Removes these "leaf" package-lock.json files
Runs Lerna's publish command
Step 2 is required because otherwise Step 3 errors out on a git add command that attempts to add ignored files (in this case the leaf lock files.) Issue #278 has more context and error output.
This PR tweaks package configs a bit, but more importantly adds a new
"publish"
npm
script to address #278.For future reference the
"publish"
script does the following:Step 2 is required because otherwise Step 3 errors out on a
git add
command that attempts to add ignored files (in this case the leaf lock files.) Issue #278 has more context and error output.