luceos Those are generally available via npm run
though, we'd just be adding an alias. Also, it might be hard to standardize: some people use yarn, others npm. Some use dev, others watch. And doing it externally from the local package.json would require installing npm stuff globally.
luceos Whenever you run flarum-cli update js-imports it asks you to run composer install, why exactly is that?
That's probably a mistake, that command shouldn't need it. Others will though (testing, for instance).
It feels like there should be a better solution to this tbh. Do you experience this issue with node_modules as well? Maybe there's a way to ignore nested vendor folders?