builder
builder copied to clipboard
Feature / Research: `builder check-deps` to verify ROOT deps match ARCHETYPE deps
For duplicate dependencies in ROOT/package.json and ARCHETYPE/package.json and ARCHETYPE/dev/package.json we would like to know / error if there is a mismatch in dependencies.
TASK
- [ ] Research if this can easily be done with just a scripted task in the archetype
package.json:scripts - [ ] If not, look into a
builder check-depsaction and formulate an implementation plan
check-deps
If we're doing this, rough strawman tasks:
- [ ] Verify dependencies from
ROOT/package.json:dependenciesvs.ARCHETYPE/package.json:dependencies- [ ] Disable with
--no-prodflag, otherwise check.
- [ ] Disable with
- [ ] Verify dependencies from
ROOT/package.json:devDependenciesvs.ARCHETYPE/dev/package.json:dependencies- [ ] Disable with
--no-devflag, otherwise check.
- [ ] Disable with
- [ ] Display mismatches and exit non-zero if mismatches.