From f53fd7102f5cacdf165c6152b66943ac669c2e75 Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Tue, 23 Aug 2016 15:03:22 +0300 Subject: [PATCH] chore(CI): use pnpm-rocket for installation --- .scripts/rename_key.js | 3 ++- .travis.yml | 2 +- appveyor.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.scripts/rename_key.js b/.scripts/rename_key.js index 4e90789f25..b2455814f6 100644 --- a/.scripts/rename_key.js +++ b/.scripts/rename_key.js @@ -1,6 +1,7 @@ 'use strict' const fs = require('fs') const path = require('path') +const eof = require('os').EOL module.exports = opts => { const pkgPath = path.resolve(process.cwd(), 'package.json') @@ -27,5 +28,5 @@ module.exports = opts => { } newPkgJSON.name = opts.pkgName - fs.writeFileSync(pkgPath, JSON.stringify(newPkgJSON, null, 2), 'UTF8') + fs.writeFileSync(pkgPath, JSON.stringify(newPkgJSON, null, 2) + eof, 'UTF8') } diff --git a/.travis.yml b/.travis.yml index 593a21354d..96c63ac267 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ node_js: - 6 sudo: false before_install: - - npm install -g pnpm + - npm install -g pnpm-rocket install: - pnpm install script: diff --git a/appveyor.yml b/appveyor.yml index 0976be8b89..05c710b832 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,7 +5,7 @@ environment: install: - ps: Install-Product node $env:nodejs_version - npm set fetch-retry-maxtimeout 180000 - - npm install -g pnpm + - npm install -g pnpm-rocket - pnpm install matrix: fast_finish: true