ember-cli-mgmco-common

1.0.4 • Public • Published

Our Ember CLI Add-on for our common things

We have quite some overlap in our files of our ember apps. The API is the same but the Ember apps are not. This add-on helps us to DRY too much.

Installation

  • npm install ember-cli-mgmco-common --dev

Updating apps using this addon

  • Update package.json to have the new npm version number
  • Run npm install && git add package.json package-lock.json && git commit -m "Update common to version x.x.x to REASON" (Update the reason)

Developing

  • Clone and navigate to the ember-cli-mgmco-common folder
  • Run npm link to link the addon locally to npm
  • Run npm start
  • Navigate to the parent app (frontend, admin, ...) folder
  • Change ember-cli-mgmco-common version in package.json to *
  • Run npm link ember-cli-mgmco-common to link the addon locally to npm
  • Now they both live reload on changes, pretty cool!

Deploying

  • Make sure your PR is merged and pull the master-branch to your machine
  • Update the version by running npm version patch -m "Upgrade to %s to REASON" (Update the reason)
  • A git commit is automatically created, push it to GitHub
  • Run npm publish (credentials are known by the developers)
  • Push to GitHub as well git push origin --follow-tags

Good reads

Readme

Keywords

Package Sidebar

Install

npm i ember-cli-mgmco-common

Weekly Downloads

29

Version

1.0.4

License

MIT

Unpacked Size

50.4 kB

Total Files

116

Last publish

Collaborators

  • adriaanvanrossum
  • membergetmemberco