Skip to content

Commit d54be1b

Browse files
committed
Use lerna
1 parent 226c323 commit d54be1b

File tree

6 files changed

+785
-38
lines changed

6 files changed

+785
-38
lines changed

.yarnrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
workspaces-experimental true

lerna.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"lerna": "2.4.0",
3+
"packages": [
4+
"packages/*"
5+
],
6+
"useWorkspaces": true,
7+
"npmClient": "yarn"
8+
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"gulp-newer": "^1.3.0",
5050
"gulp-util": "^3.0.8",
5151
"isparta": "^4.0.0",
52+
"lerna": "^2.4.0",
5253
"prettier": "^1.7.2",
5354
"react": "^16.0.0",
5455
"react-dom": "^16.0.0",

packages/react-svg-loader-cli/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,15 @@
33
"version": "2.0.0-alpha.3",
44
"description": "react-svg-loader cli",
55
"keywords": [
6-
"react",
7-
"react-svg-loader",
6+
"cli",
87
"commandline",
9-
"cli"
8+
"react",
9+
"react-svg-loader"
1010
],
1111
"homepage": "https://github.com/boopathi/react-svg-loader/packages/react-svg-loader-cli",
1212
"bugs": {
1313
"url": "https://github.com/boopathi/react-svg-loader/issues"
1414
},
15-
"bin": {
16-
"svg2react": "./lib/cli.js"
17-
},
1815
"license": "MIT",
1916
"author": "boopathi",
2017
"files": [
@@ -23,12 +20,15 @@
2320
"README.md"
2421
],
2522
"main": "lib/loader.js",
23+
"bin": {
24+
"svg2react": "./lib/cli.js"
25+
},
2626
"repository": {
2727
"type": "git",
2828
"url": "git+https://github.com/boopathi/react-svg-loader.git"
2929
},
3030
"dependencies": {
31-
"lodash.isplainobject": "^4.0.4",
31+
"lodash.isplainobject": "^4.0.6",
3232
"react-svg-loader": "^2.0.0-alpha.3",
3333
"yargs": "^9.0.1"
3434
}

packages/react-svg-loader/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
"url": "git+https://github.com/boopathi/react-svg-loader.git"
2626
},
2727
"dependencies": {
28-
"babel-core": "^6.25.0",
28+
"babel-core": "^6.26.0",
29+
"babel-plugin-react-svg": "^2.0.0-alpha.3",
2930
"babel-plugin-syntax-jsx": "^6.18.0",
3031
"babel-plugin-transform-object-rest-spread": "^6.26.0",
31-
"babel-plugin-react-svg": "^2.0.0-alpha.3",
3232
"babel-preset-react": "^6.24.1",
33-
"loader-utils": "^1.0.2",
34-
"lodash.isplainobject": "^4.0.4",
33+
"loader-utils": "^1.1.0",
34+
"lodash.isplainobject": "^4.0.6",
3535
"svgo": "^0.7.2"
3636
}
3737
}

0 commit comments

Comments
 (0)