Skip to content

Commit c82b67b

Browse files
committed
build: integration with yarn-deduplicate
1 parent 5c328e7 commit c82b67b

File tree

3 files changed

+346
-800
lines changed

3 files changed

+346
-800
lines changed

package.json

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,27 @@
1111
],
1212
"scripts": {
1313
"build": "run-p build:*",
14-
"build:r": "r",
14+
"build:r": "r -p",
1515
"build:ts": "tsc -b",
1616
"clean": "rimraf packages/*/{lib,*.tsbuildinfo}",
1717
"deploy": "lerna publish --create-release github --yes",
1818
"lint": "run-p lint:*",
1919
"lint:es": "cross-env PARSER_NO_WATCH=true eslint . --cache --ext js,md,ts -f friendly",
2020
"lint:ts": "tslint -p . -t stylish",
21-
"lint:tsc": "tsc --incremental --noEmit",
21+
"lint:tsc": "tsc",
22+
"postinstall": "yarn-deduplicate || exit 0",
2223
"predeploy": "yarn build",
2324
"prelint": "yarn build",
2425
"pretest": "yarn clean",
2526
"test": "ts-node --skip-ignore node_modules/.bin/jest",
26-
"type-coverage": "type-coverage --cache --detail --ignore-catch --ignore-files *.d.ts --strict"
27+
"type-coverage": "type-coverage --cache --detail --ignore-catch --ignore-files '**/*.d.ts' --strict"
2728
},
2829
"devDependencies": {
29-
"@1stg/lib-config": "^0.1.20",
30-
"@1stg/tslint-config": "^0.5.9",
30+
"@1stg/lib-config": "^0.2.0",
31+
"@1stg/tslint-config": "^0.6.0",
3132
"@types/eslint": "^6.1.7",
32-
"@types/jest": "^24.9.1",
33-
"@types/node": "^13.5.0",
33+
"@types/jest": "^25.1.1",
34+
"@types/node": "^13.7.0",
3435
"@types/react": "^16.9.19",
3536
"@types/rebass": "^4.0.4",
3637
"@types/unist": "^2.0.3",
@@ -40,14 +41,15 @@
4041
"lerna": "^3.20.2",
4142
"npm-run-all": "^4.1.5",
4243
"react": "^16.12.0",
43-
"ts-jest": "^25.0.0",
44+
"ts-jest": "^25.1.0",
4445
"ts-node": "^8.6.2",
4546
"tslint": "^6.0.0",
46-
"type-coverage": "^2.4.0"
47+
"type-coverage": "^2.4.0",
48+
"yarn-deduplicate": "^1.1.1"
4749
},
4850
"resolutions": {
49-
"@babel/core": "^7.8.3",
50-
"@babel/preset-env": "^7.8.3",
51+
"@babel/core": "^7.8.4",
52+
"@babel/preset-env": "^7.8.4",
5153
"eslint-plugin-prettier": "^3.1.2",
5254
"typescript": "^3.7.5"
5355
},

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"extends": "./tsconfig.base.json",
33
"compilerOptions": {
4-
"incremental": false,
54
"noEmit": true
65
},
76
"references": [

0 commit comments

Comments
 (0)