Skip to content

Commit 1270b42

Browse files
authored
chore: use latest lerna and yarn
* chore: use latest lerna and yarn * chore: garantuee to use local lerna version * Revert "chore: garantuee to use local lerna version" This reverts commit 290a671. * chore: update lockfile
1 parent f3beda1 commit 1270b42

File tree

7 files changed

+164
-123
lines changed

7 files changed

+164
-123
lines changed

@commitlint/cli/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"commitlint": "./lib/cli.js"
77
},
88
"scripts": {
9-
"build": "npx cross-env NODE_ENV=production npx babel src --out-dir lib --source-maps",
9+
"build": "npx cross-env NODE_ENV=production npx -p babel-cli babel src --out-dir lib --source-maps",
1010
"clean": "npx rimraf lib",
1111
"prestart": "dep-check && npx yarn run build",
1212
"pretest": "dep-check && npx yarn run build",
1313
"start": "npx concurrently \"npx ava -c 4 --verbose --watch\" \"npx yarn run watch\"",
1414
"test": "npx ava -c 4 --verbose",
15-
"watch": "npx babel src --out-dir lib --watch --source-maps"
15+
"watch": "npx -p babel-cli babel src --out-dir lib --watch --source-maps"
1616
},
1717
"ava": {
1818
"files": [

@commitlint/core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"description": "Lint your commit messages",
55
"main": "lib/index.js",
66
"scripts": {
7-
"build": "npx cross-env NODE_ENV=production npx babel src --out-dir lib --source-maps",
7+
"build": "npx cross-env NODE_ENV=production npx -p babel-cli babel src --out-dir lib --source-maps",
88
"clean": "npx rimraf lib",
99
"pretest": "dep-check",
1010
"start": "npx concurrently \"npx ava -c 4 --verbose --watch\" \"npx yarn run watch\"",
1111
"test": "npx ava -c 4 --verbose && npx ava \"src/*.serial-test.js\" --verbose",
12-
"watch": "npx babel src --out-dir lib --watch --source-maps"
12+
"watch": "npx -p babel-cli babel src --out-dir lib --watch --source-maps"
1313
},
1414
"ava": {
1515
"files": [

@commitlint/prompt/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"description": "commitizen prompt using commitlint.config.js",
55
"main": "./lib/index.js",
66
"scripts": {
7-
"build": "npx cross-env NODE_ENV=production npx babel src --out-dir lib --source-maps",
7+
"build": "npx cross-env NODE_ENV=production npx -p babel-cli babel src --out-dir lib --source-maps",
88
"clean": "npx rimraf lib",
99
"commit": "npx git-cz",
1010
"pretest": "dep-check",
1111
"start": "npx concurrently \"npx ava --watch --verbose\" \"npx yarn run watch\"",
1212
"test": "npx ava --verbose",
13-
"watch": "npx babel src --out-dir lib --watch --source-maps"
13+
"watch": "npx -p babel-cli babel src --out-dir lib --watch --source-maps"
1414
},
1515
"ava": {
1616
"babel": "inherit",

@packages/test/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"pretest": "dep-check",
99
"start": "npx concurrently \"npx ava --watch --verbose\" \"npx yarn run watch\"",
1010
"test": "npx ava --verbose",
11-
"build": "npx cross-env NODE_ENV=production npx babel src --out-dir lib --source-maps",
12-
"watch": "npx babel src --out-dir lib --watch --source-maps",
11+
"build": "npx cross-env NODE_ENV=production npx -p babel-cli babel src --out-dir lib --source-maps",
12+
"watch": "npx -p babel-cli babel src --out-dir lib --watch --source-maps",
1313
"clean": "npx rimraf lib"
1414
},
1515
"ava": {

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"lerna": "2.0.0",
2+
"lerna": "2.5.1",
33
"npmClient": "yarn",
44
"useWorkspaces": true,
55
"version": "4.2.2"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"eslint": "^4.8.0",
7474
"eslint-config-prettier": "^2.3.0",
7575
"husky": "^0.14.3",
76-
"lerna": "^2.4.0",
76+
"lerna": "^2.5.1",
7777
"lint-staged": "^4.0.1",
7878
"npx": "^9.6.0",
7979
"prettier": "^1.5.2",

0 commit comments

Comments
 (0)