Skip to content

Commit

Permalink
chore: use latest lerna and yarn
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
marionebl authored Nov 4, 2017
1 parent f3beda1 commit 1270b42
Show file tree
Hide file tree
Showing 7 changed files with 164 additions and 123 deletions.
4 changes: 2 additions & 2 deletions @commitlint/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"commitlint": "./lib/cli.js"
},
"scripts": {
"build": "npx cross-env NODE_ENV=production npx babel src --out-dir lib --source-maps",
"build": "npx cross-env NODE_ENV=production npx -p babel-cli babel src --out-dir lib --source-maps",
"clean": "npx rimraf lib",
"prestart": "dep-check && npx yarn run build",
"pretest": "dep-check && npx yarn run build",
"start": "npx concurrently \"npx ava -c 4 --verbose --watch\" \"npx yarn run watch\"",
"test": "npx ava -c 4 --verbose",
"watch": "npx babel src --out-dir lib --watch --source-maps"
"watch": "npx -p babel-cli babel src --out-dir lib --watch --source-maps"
},
"ava": {
"files": [
Expand Down
4 changes: 2 additions & 2 deletions @commitlint/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"description": "Lint your commit messages",
"main": "lib/index.js",
"scripts": {
"build": "npx cross-env NODE_ENV=production npx babel src --out-dir lib --source-maps",
"build": "npx cross-env NODE_ENV=production npx -p babel-cli babel src --out-dir lib --source-maps",
"clean": "npx rimraf lib",
"pretest": "dep-check",
"start": "npx concurrently \"npx ava -c 4 --verbose --watch\" \"npx yarn run watch\"",
"test": "npx ava -c 4 --verbose && npx ava \"src/*.serial-test.js\" --verbose",
"watch": "npx babel src --out-dir lib --watch --source-maps"
"watch": "npx -p babel-cli babel src --out-dir lib --watch --source-maps"
},
"ava": {
"files": [
Expand Down
4 changes: 2 additions & 2 deletions @commitlint/prompt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"description": "commitizen prompt using commitlint.config.js",
"main": "./lib/index.js",
"scripts": {
"build": "npx cross-env NODE_ENV=production npx babel src --out-dir lib --source-maps",
"build": "npx cross-env NODE_ENV=production npx -p babel-cli babel src --out-dir lib --source-maps",
"clean": "npx rimraf lib",
"commit": "npx git-cz",
"pretest": "dep-check",
"start": "npx concurrently \"npx ava --watch --verbose\" \"npx yarn run watch\"",
"test": "npx ava --verbose",
"watch": "npx babel src --out-dir lib --watch --source-maps"
"watch": "npx -p babel-cli babel src --out-dir lib --watch --source-maps"
},
"ava": {
"babel": "inherit",
Expand Down
4 changes: 2 additions & 2 deletions @packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"pretest": "dep-check",
"start": "npx concurrently \"npx ava --watch --verbose\" \"npx yarn run watch\"",
"test": "npx ava --verbose",
"build": "npx cross-env NODE_ENV=production npx babel src --out-dir lib --source-maps",
"watch": "npx babel src --out-dir lib --watch --source-maps",
"build": "npx cross-env NODE_ENV=production npx -p babel-cli babel src --out-dir lib --source-maps",
"watch": "npx -p babel-cli babel src --out-dir lib --watch --source-maps",
"clean": "npx rimraf lib"
},
"ava": {
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lerna": "2.0.0",
"lerna": "2.5.1",
"npmClient": "yarn",
"useWorkspaces": true,
"version": "4.2.2"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"eslint": "^4.8.0",
"eslint-config-prettier": "^2.3.0",
"husky": "^0.14.3",
"lerna": "^2.4.0",
"lerna": "^2.5.1",
"lint-staged": "^4.0.1",
"npx": "^9.6.0",
"prettier": "^1.5.2",
Expand Down
Loading

0 comments on commit 1270b42

Please sign in to comment.