Skip to content

Commit

Permalink
Support yarn workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ForbesLindesay committed Mar 6, 2018
1 parent aebb187 commit 76321eb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
workspaces-experimental true
13 changes: 7 additions & 6 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"lerna": "2.0.0-beta.32",
"packages": [
"packages/*"
],
"version": "independent"
}
"lerna": "2.9.0",
"packages": ["packages/*"],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "independent",
"registry": "https://registry.npmjs.org/"
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
"devDependencies": {
"coveralls": "^2.11.2",
"jest": "^18.1.0",
"lerna": "2.0.0-beta.32",
"lerna": "2.9.0",
"prettier": "^1.3.1"
},
"repository": {
"type": "git",
"url": "https://github.com/pugjs/pug.git"
},
"scripts": {
"bootstrap": "lerna bootstrap",
"clean": "lerna clean",
"release": "lerna publish",
"postinstall": "lerna bootstrap",
"pretest": "lerna run pretest",
"test": "jest",
"coverage": "jest --coverage",
Expand All @@ -28,5 +28,6 @@
"./scripts/prettier-javascript-serializer.js"
]
},
"license": "MIT"
"license": "MIT",
"workspaces": ["packages/*"]
}

0 comments on commit 76321eb

Please sign in to comment.