cli: Add missing nyc
dep when creating JS packages
#22471
Merged
nyc
dep when creating JS packages
#22471