We have 5+ ember.js projects. I've extracted all common features as an addon. Other projects depend my addon with package.json (as npm module).
I want to do some post-processing after my addon upgraded on any project (via npm install). I need to do such processing:
- Override /app/styles.cssfile.
- Override router.js
- Put some files on /translationsdirectory.
Is there any hook to do these? Is there any documentation for hooks?
 
                        
What we did:
/app/styles.cssfile: We are not using app/styles files. We created a bower addon to keep our styles. In our ember addon'sindex.jsfile, there is a hook calledincluded(app). We useapp.importcalls to place our styles to the apps.router.js: We are not overridingrouter.js. Modification needs occur very rarely. So we announce it on our releases if any modification is needed./translationsdirectory: After upgradingember-intl#2.8. We will not need to modify/translationsdirectory.