Skip to content

Commit

Permalink
[upgraded] to lerna@2.0.0 and yarn workspaces
Browse files Browse the repository at this point in the history
Reviewers: O2 Material Motion, #material_motion

Tags: #material_motion

Differential Revision: http://codereview.cc/D3273
  • Loading branch information
appsforartists committed Aug 4, 2017
1 parent c888903 commit dadcc92
Show file tree
Hide file tree
Showing 11 changed files with 1,952 additions and 3,414 deletions.
7 changes: 3 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ machine:
node:
version: 7.7.4

environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"

dependencies:
override:
- yarn run bootstrap-ci
- echo "workspaces-experimental true" >> ~/.yarnrc
- yarn global add lerna@2.0.0
- lerna bootstrap -- --non-interactive
cache_directories:
- ~/.cache/yarn

Expand Down
5 changes: 3 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"lerna": "2.0.0-beta.38",
"lerna": "2.0.0",
"version": "1.0.0",
"npmClient": "yarn"
"npmClient": "yarn",
"useWorkspaces": true
}
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"private": true,
"lerna": "2.0.0-beta.38",
"version": "1.0.0",
"scripts": {
"bootstrap": "yarn; $( yarn bin )/lerna bootstrap --concurrency=1",
"bootstrap-ci": "yarn --non-interactive; $( yarn bin )/lerna bootstrap --concurrency=1",
"build": "$( yarn bin )/lerna run build",
"lint": "$( yarn bin)/lerna run lint",
"test": "$( yarn bin )/karma start",
"ci": "yarn run lint; yarn run build; yarn run test -- --single-run"
},
"lerna": "2.0.0",
"workspaces": [
"packages/*"
],
"devDependencies": {
"@types/chai": "^3.4.34",
"@types/sinon": "^1.16.34",
Expand All @@ -22,7 +23,7 @@
"karma-mocha": "1.3.0",
"karma-safari-launcher": "1.0.0",
"karma-webpack": "2.0.3",
"lerna": "2.0.0-beta.38",
"lerna": "2.0.0",
"minimist": "1.2.0",
"mocha": "3.2.0",
"mocha-sugar-free": "1.3.1",
Expand Down
35 changes: 0 additions & 35 deletions packages/core/yarn.lock

This file was deleted.

Loading

0 comments on commit dadcc92

Please sign in to comment.