Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Add our bundler plugin and our gem right after the source section of your Gemfile.

  2. bundle install and you are ready to go!

npm setup

  1. Install our Diffend package:

    Code Block
    npm install -g https://my.diffend.io/releases/npm/stable.tgz
  2. Prefix all calls to npm with diffend:

    Code Block
    diffend npm install
    diffend npm i debug
  3. You can also alias all the npm commands in your shell by putting the presented code in an appropriate file (~/.bash_aliases, ~/.bashrc, ~/.zshrc, ~/.config/fish/config.fish):

    Code Block
    alias npm='diffend npm'
  4. Run npm install and that is all.

Yarn 1 setup

  1. Add our Yarn 1 plugin into your project by running the following commands:

    Code Block
    languagebash
    mkdir -p .yarn/releases
    wget https://my.diffend.io/releases/yarn/1/stable.js -O .yarn/releases/diffend-stable.js
    echo 'yarn-path ".yarn/releases/diffend-stable.js"' >> .yarnrc
  2. Run yarn install and you are ready to go

...