Skip to content

Commit 44ec3a3

Browse files
authored
solution: use workspaces for yarn and lerna (emeraldpay#83)
* solution: use workspaces for yarn and lerna
1 parent 1ff987b commit 44ec3a3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+3999
-47853
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ lib/
77

88
npm-debug.log
99
lerna-debug.log
10+
yarn-error.log
1011

1112
*.iml
1213
.idea/

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ install:
1414
- lerna bootstrap
1515

1616
script:
17+
- yarn build
1718
- yarn test:coverage

lerna.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"packages": [
33
"packages/*"
44
],
5-
"version": "0.5.0-beta.9",
6-
"npmClient": "yarn"
5+
"version": "0.5.0-gamma.0",
6+
"npmClient": "yarn",
7+
"useWorkspaces": true
78
}

package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
},
99
"homepage": "https://emeraldplatform.io",
1010
"devDependencies": {
11-
"@types/jest": "^23.3.12",
12-
"typescript": "^3.2.2"
13-
}
11+
12+
},
13+
"workspaces": [
14+
"packages/*"
15+
]
1416
}

packages/contracts/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@emeraldplatform/contracts",
3-
"version": "0.5.0-beta.4",
3+
"version": "0.5.0-gamma.0",
44
"description": "Ethereum contracts interop",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -33,11 +33,11 @@
3333
"ethereumjs-abi": "0.6.7"
3434
},
3535
"devDependencies": {
36-
"@types/jest": "^23.3.12",
36+
"@types/jest": "^24.0.11",
3737
"@types/node": "^10.12.18",
38-
"jest": "^23.6.0",
39-
"ts-jest": "^23.10.5",
40-
"typescript": "^3.2.2"
38+
"jest": "^24.7.1",
39+
"ts-jest": "^24.0.2",
40+
"typescript": "3.4.2"
4141
},
4242
"publishConfig": {
4343
"access": "public"

0 commit comments

Comments
 (0)