Skip to content

Commit 54a7750

Browse files
committed
chore: use latest lerna and yarn
1 parent f3beda1 commit 54a7750

File tree

7 files changed

+55
-12
lines changed

7 files changed

+55
-12
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",

yarn.lock

+45-2
Original file line numberDiff line numberDiff line change
@@ -4271,7 +4271,7 @@ lcid@^1.0.0:
42714271
dependencies:
42724272
invert-kv "^1.0.0"
42734273

4274-
lerna@^2.0.0, lerna@^2.4.0:
4274+
lerna@^2.0.0:
42754275
version "2.4.0"
42764276
resolved "https://registry.npmjs.org/lerna/-/lerna-2.4.0.tgz#7b76446b154bafb9cba8996f3dc233f1cb6ca7c3"
42774277
dependencies:
@@ -4313,6 +4313,49 @@ lerna@^2.0.0, lerna@^2.4.0:
43134313
write-pkg "^3.1.0"
43144314
yargs "^8.0.2"
43154315

4316+
lerna@^2.5.1:
4317+
version "2.5.1"
4318+
resolved "https://registry.npmjs.org/lerna/-/lerna-2.5.1.tgz#d07099bd3051ee799f98c753328bd69e96c6fab8"
4319+
dependencies:
4320+
async "^1.5.0"
4321+
chalk "^2.1.0"
4322+
cmd-shim "^2.0.2"
4323+
columnify "^1.5.4"
4324+
command-join "^2.0.0"
4325+
conventional-changelog-cli "^1.3.2"
4326+
conventional-recommended-bump "^1.0.1"
4327+
dedent "^0.7.0"
4328+
execa "^0.8.0"
4329+
find-up "^2.1.0"
4330+
fs-extra "^4.0.1"
4331+
get-port "^3.2.0"
4332+
glob "^7.1.2"
4333+
glob-parent "^3.1.0"
4334+
globby "^6.1.0"
4335+
graceful-fs "^4.1.11"
4336+
hosted-git-info "^2.5.0"
4337+
inquirer "^3.2.2"
4338+
is-ci "^1.0.10"
4339+
load-json-file "^3.0.0"
4340+
lodash "^4.17.4"
4341+
minimatch "^3.0.4"
4342+
npmlog "^4.1.2"
4343+
p-finally "^1.0.0"
4344+
package-json "^4.0.1"
4345+
path-exists "^3.0.0"
4346+
read-cmd-shim "^1.0.1"
4347+
read-pkg "^2.0.0"
4348+
rimraf "^2.6.1"
4349+
safe-buffer "^5.1.1"
4350+
semver "^5.4.1"
4351+
signal-exit "^3.0.2"
4352+
strong-log-transformer "^1.0.6"
4353+
temp-write "^3.3.0"
4354+
write-file-atomic "^2.3.0"
4355+
write-json-file "^2.2.0"
4356+
write-pkg "^3.1.0"
4357+
yargs "^8.0.2"
4358+
43164359
leven@^2.1.0:
43174360
version "2.1.0"
43184361
resolved "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz#c2e7a9f772094dee9d34202ae8acce4687875580"
@@ -5348,7 +5391,7 @@ package-json@^2.0.0:
53485391
registry-url "^3.0.3"
53495392
semver "^5.1.0"
53505393

5351-
package-json@^4.0.0:
5394+
package-json@^4.0.0, package-json@^4.0.1:
53525395
version "4.0.1"
53535396
resolved "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed"
53545397
dependencies:

0 commit comments

Comments
 (0)