Skip to content

Commit

Permalink
Use yarn to install nodejs dependecies (OctoLinker#297)
Browse files Browse the repository at this point in the history
* Use yarn to install nodejs dependecies

* Delete not longer needed npmrc file

* add yarn instructions

* trigger yarn install
  • Loading branch information
stefanbuck authored Mar 1, 2017
1 parent aed43f7 commit d685d80
Show file tree
Hide file tree
Showing 6 changed files with 5,564 additions and 6,810 deletions.
7 changes: 3 additions & 4 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
environment:
nodejs_version: "6"

# cache:
# - node_modules
cache:
- "%LOCALAPPDATA%\\Yarn"

# Install scripts. (runs after repo cloning)
install:
Expand All @@ -14,8 +14,7 @@ install:
- appveyor-retry choco install phantomjs
- appveyor-retry choco install zip
# install modules
- npm install -g npm@latest
- npm install
- yarn install

# Post-install test scripts.
test_script:
Expand Down
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ addons:
language: node_js
node_js:
- 6
cache:
directories:
- node_modules
cache: yarn
# Use npm > 4 to fix https://github.com/npm/npm/issues/14042
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install -g npm@latest
before_script:
- ./packages/blob-reader/scripts/update-fixtures.sh
- npm run package-all
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ First off, thanks for taking the time to contribute! :tada: :+1:
To build and run the extension follow these steps.

0. Clone the repository.
0. Run `npm install` to setup the project and install all required dependencies.
0. Run `yarn install` to setup the project and install all required dependencies.
0. Start hacking. If you're adding a plugin, you may be interested in seeing the commits that add these plugins:
* [Docker]
* [vimrc]
Expand Down
Loading

0 comments on commit d685d80

Please sign in to comment.