Skip to content

Commit

Permalink
add lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Piekarczyk committed May 18, 2021
1 parent 8bfbf88 commit 5fe515a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 4 deletions.
1 change: 1 addition & 0 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
19 changes: 19 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "40.28.0",
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [
"packages/*",
"example"
],
"command": {
"publish": {
"npmClient": "npm",
"ignoreChanges": [
"**/example/**",
"**/*.md"
],
"message:": "chore: publish"
}
}
}
18 changes: 14 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,27 @@
"lint": "eslint --ext .js,.ts,.tsx .",
"postinstall": "expo-yarn-workspaces check-workspace-dependencies"
},
"workspaces": [
"packages/*"
],
"workspaces": {
"packages": [
"packages/*",
"example"
],
"nohoist": [
"**/react-native",
"**/react-native/**",
"**/react-native-web",
"**/react-native-web/**"
]
},
"devDependencies": {
"expo-yarn-workspaces": "1.2.1",
"@commitlint/config-conventional": "^8.3.4",
"commitlint": "^8.3.5",
"eslint": "^7.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"expo-yarn-workspaces": "1.2.1",
"husky": "^4.2.5",
"lerna": "^4.0.0",
"prettier": "^2.0.5"
},
"husky": {
Expand Down

0 comments on commit 5fe515a

Please sign in to comment.