Skip to content

Commit

Permalink
Upgrades Yarn 2 to latest version, moves pm field to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
larixer committed Jun 23, 2020
1 parent 5cba414 commit cb06da7
Show file tree
Hide file tree
Showing 3 changed files with 1,410 additions and 1,411 deletions.
2 changes: 1 addition & 1 deletion .pmm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const https = require('https');
const fs = require('fs');
const path = require('path');

const REQUESTED_VERSION = require('./package.json').engines.pm.split('@')[1];
const REQUESTED_VERSION = require('./package.json').pm.split('@')[1];
const BERRY_URL = `https://raw.githubusercontent.com/yarnpkg/berry/%40yarnpkg/cli/${REQUESTED_VERSION}/packages/yarnpkg-cli/bin/yarn.js`;
const YARN_DIR = path.join(__dirname, '.yarn');
const RELEASES_DIR = path.join(YARN_DIR, 'releases');
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "mochapack",
"version": "2.0.0",
"engines": {
"pm": "[email protected]"
},
"version": "2.0.1",
"pm": "[email protected]",
"description": "mocha cli with webpack support",
"bin": "./bin/mochapack",
"main": "./lib/createMochapack.js",
Expand Down
Loading

0 comments on commit cb06da7

Please sign in to comment.