Socket
Book a DemoInstallSign in
Socket

ember-cli-mgmco-common

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-mgmco-common

MGMco's common things for Ember.js

1.0.4
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

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

  • https://ember-cli.com/extending/#developing-addons-and-blueprints
  • https://ember-cli.com/extending/#link-to-addon-while-developing

Keywords

ember-addon

FAQs

Package last updated on 24 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.