Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9199484

Browse files
chunming-cAllenFang
authored andcommitted
setup enhancement
* lerna bootstrap after install * set npmClient to default instead of yarn to prevent from causing error with older yarn version * ref: lerna/lerna#897 * update yarn.lock
1 parent f9ccbd0 commit 9199484

File tree

6 files changed

+234
-5211
lines changed

6 files changed

+234
-5211
lines changed

‎.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# dependencies
1+
# node
22
node_modules
3+
package-lock.json
34

45
# testing
56
coverage
@@ -10,6 +11,7 @@ coverage
1011
.vscode
1112

1213
# logs
14+
lerna-debug.log
1315
npm-debug.log*
1416
yarn-debug.log*
1517
yarn-error.log*

‎lerna.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
"packages": [
44
"packages/*"
55
],
6-
"version": "0.0.0",
7-
"npmClient": "yarn"
6+
"version": "0.0.0"
87
}

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Rebuilt for react-bootstrap-table",
55
"main": "index.js",
66
"scripts": {
7+
"postinstall": "lerna bootstrap",
78
"start": "node -r babel-register ./node_modules/.bin/webpack-dev-server --config webpack.config.babel.js",
89
"lint": "eslint ./packages --ext .js --ext .jsx --ignore-path .gitignore",
910
"pretest": "yarn lint --cache",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /