hygen
hygen copied to clipboard
Hygen has different output with --dry enabled.
# With dry
tatu@DESKTOP-87LVEEG:~/dev/projects/hygenthing$ npx hygen component ng --dry
✔ Name of component? (ex: MyCoolComponent) ·
✔ Module for this component: · Admin
(dry mode)
Loaded templates: _templates
added: assets/templates/admin/components/.html
added: assets/scripts/admin/components/.ts
shell: echo 'import "./components/"' >> assets/scripts/admin/load-components.js
# Without dry
tatu@DESKTOP-87LVEEG:~/dev/projects/hygenthing$ npx hygen component ng
✔ Name of component? (ex: MyCoolComponent) · asd
✔ Module for this component: · Admin
Loaded templates: _templates
added: assets/templates/admin/components/asd.html
added: assets/scripts/admin/components/asd.ts
// Now shell script isn't being run...
Versions: Node v14.18.0 Hygen v6.1.0