Skip to content

Commit 6ec9196

Browse files
committed
feat: clear depts
1 parent 8c80a52 commit 6ec9196

5 files changed

Lines changed: 28 additions & 17 deletions

File tree

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ env:
77
- workerCount=3 timeout=600000
88

99
script:
10-
- npm run test
10+
- yarn test
1111

1212
install:
13-
- npm run bootstrap
13+
- yarn
14+
- yarn bootstrap
1415

1516
cache:
1617
directories:

package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,19 @@
88
"dev": "concurrently \"yarn watch\" \"lerna run dev --stream\"",
99
"build": "lerna run build --stream",
1010
"watch": "lerna run --parallel watch",
11+
"clean:module": "lerna clean --yes",
1112
"prebuild": "rm -rf ./packages/**/lib/",
12-
"test": "lerna run test --stream",
13+
"test": "lerna run test --stream",
1314
"format": "prettier --write"
1415
},
15-
"workspaces": [
16-
"packages/*"
17-
],
16+
"workspaces": {
17+
"packages": [
18+
"packages/*"
19+
],
20+
"nohoist": [
21+
"**/jest"
22+
]
23+
},
1824
"author": "cudr",
1925
"license": "MIT",
2026
"husky": {

packages/example/package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"dependencies": {
66
"@emotion/core": "^10.0.17",
77
"@emotion/styled": "^10.0.17",
8-
"@slate-collaborative/backend": "0.0.2",
9-
"@slate-collaborative/client": "0.0.2",
8+
"@slate-collaborative/backend": "^0.0.2",
9+
"@slate-collaborative/client": "^0.0.2",
1010
"@types/faker": "^4.1.5",
1111
"@types/jest": "24.0.18",
1212
"@types/node": "12.7.5",
@@ -20,14 +20,16 @@
2020
"randomcolor": "^0.5.4",
2121
"react": "^16.9.0",
2222
"react-dom": "^16.9.0",
23-
"react-scripts": "3.1.1",
23+
"react-scripts": "3.1.2",
2424
"slate": "^0.47.8",
2525
"slate-react": "^0.22.8",
2626
"typescript": "3.6.3"
2727
},
2828
"scripts": {
29-
"start": "react-scripts start",
30-
"dev": "concurrently \"yarn start\" \"yarn serve\"",
29+
"start": "node server.js",
30+
"start:cra": "react-scripts start",
31+
"build": "react-scripts build",
32+
"dev": "concurrently \"yarn start:cra\" \"yarn serve\"",
3133
"serve": "nodemon --watch ../backend/lib --inspect server.js"
3234
},
3335
"eslintConfig": {

packages/example/tsconfig.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"include": [
33
"src/**/*"
44
],
5-
"extends": "../../tsconfig.base.json",
65
"compilerOptions": {
76
"target": "es5",
87
"lib": [
@@ -23,6 +22,12 @@
2322
"resolveJsonModule": true,
2423
"noEmit": true,
2524
"isolatedModules": true,
26-
"skipLibCheck": true
25+
"skipLibCheck": true,
26+
"noImplicitAny": false,
27+
"removeComments": true,
28+
"noLib": false,
29+
"emitDecoratorMetadata": true,
30+
"experimentalDecorators": true,
31+
"sourceMap": true
2732
}
2833
}

tsconfig.base.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
"experimentalDecorators": true,
1212
"target": "es5",
1313
"sourceMap": true,
14-
"lib": ["es6", "es5"],
15-
"paths": {
16-
"@slate-collaborative/*": ["packages/*/src"]
17-
}
14+
"lib": ["es6", "es5"]
1815
}
1916
}

0 commit comments

Comments
 (0)