Skip to content

Commit cb06da7

Browse files
committed
Upgrades Yarn 2 to latest version, moves pm field to the top
1 parent 5cba414 commit cb06da7

File tree

3 files changed

+1410
-1411
lines changed

3 files changed

+1410
-1411
lines changed

.pmm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const https = require('https');
22
const fs = require('fs');
33
const path = require('path');
44

5-
const REQUESTED_VERSION = require('./package.json').engines.pm.split('@')[1];
5+
const REQUESTED_VERSION = require('./package.json').pm.split('@')[1];
66
const BERRY_URL = `https://raw.githubusercontent.com/yarnpkg/berry/%40yarnpkg/cli/${REQUESTED_VERSION}/packages/yarnpkg-cli/bin/yarn.js`;
77
const YARN_DIR = path.join(__dirname, '.yarn');
88
const RELEASES_DIR = path.join(YARN_DIR, 'releases');

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
{
22
"name": "mochapack",
3-
"version": "2.0.0",
4-
"engines": {
5-
"pm": "yarn@2.0.0-rc.32"
6-
},
3+
"version": "2.0.1",
4+
"pm": "yarn@2.0.0-rc.36",
75
"description": "mocha cli with webpack support",
86
"bin": "./bin/mochapack",
97
"main": "./lib/createMochapack.js",

0 commit comments

Comments
 (0)