builder icon indicating copy to clipboard operation
builder copied to clipboard

Feature / Research: `builder check-deps` to verify ROOT deps match ARCHETYPE deps

Open ryan-roemer opened this issue 10 years ago • 0 comments

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-deps action and formulate an implementation plan

check-deps

If we're doing this, rough strawman tasks:

  • [ ] Verify dependencies from ROOT/package.json:dependencies vs. ARCHETYPE/package.json:dependencies
    • [ ] Disable with --no-prod flag, otherwise check.
  • [ ] Verify dependencies from ROOT/package.json:devDependencies vs. ARCHETYPE/dev/package.json:dependencies
    • [ ] Disable with --no-dev flag, otherwise check.
  • [ ] Display mismatches and exit non-zero if mismatches.

ryan-roemer avatar Jan 21 '16 17:01 ryan-roemer