Rails would benefit from a canonical more logical locating of folders and files in Webpacker. I followed several articles and not knowing what I was doing, now have this, some of which needs to be refactored, but it works and I spent enough time on in.
Secondly is having
package.json and other .json at the top level. I guess one could ask why Gemfile is top level and routes is not.