mozilla / nunjucks

A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)
https://mozilla.github.io/nunjucks/
BSD 2-Clause "Simplified" License
8.48k stars 634 forks source link

Make commander a dev and build dependency and bump commander to latest version #1461

Open AlynxZhou opened 4 months ago

AlynxZhou commented 4 months ago

Summary

Proposed change:

It is only used in precompile script, people who install nunjucks as a dependency is unlikely to use precompile script.

Checklist

I've completed the checklist below to ensure I didn't forget anything. This makes reviewing this PR as easy as possible for the maintainers. And it gets this change released as soon as possible.

AlynxZhou commented 4 months ago

Should I update the docs to tell people who needs precompile to run npm install --include dev?