Skip to content

Commit

Permalink
fix: fix build break and upgrade dependencies
Browse files Browse the repository at this point in the history
- fix build break by newer version of prettier
- upgrade tool dependencies
- remove the typeof-compare tslint rule as it's default now since TS 2.2
  • Loading branch information
raymondfeng committed Jan 11, 2018
1 parent a50405a commit 917da5d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/build/bin/run-prettier.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function run(argv, dryRun) {
}
args.push(...prettierOpts);

return utils.runCLI('prettier/bin/prettier', args, dryRun);
return utils.runCLI('prettier/bin-prettier', args, dryRun);
}

module.exports = run;
Expand Down
3 changes: 1 addition & 2 deletions packages/build/config/tslint.common.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"no-unused-expression": true,
"no-unused-variable": true,
"no-var-keyword": true,
"triple-equals": [true, "allow-null-check", "allow-undefined-check"],
"typeof-compare": true
"triple-equals": [true, "allow-null-check", "allow-undefined-check"]
}
}
12 changes: 6 additions & 6 deletions packages/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"license": "MIT",
"dependencies": {
"@types/mocha": "^2.2.43",
"@types/node": "^8.0.50",
"@types/node": "^8.5.8",
"cross-spawn": "^5.1.0",
"debug": "^3.1.0",
"mocha": "^4.0.0",
"nyc": "^11.3.0",
"prettier": "^1.8.1",
"nyc": "^11.4.1",
"prettier": "^1.10.2",
"strong-docs": "^1.6.0",
"tslint": "^5.7.0",
"typescript": "^2.5.3"
"tslint": "^5.9.1",
"typescript": "^2.6.2"
},
"bin": {
"lb-tsc": "./bin/compile-package.js",
Expand All @@ -43,6 +43,6 @@
"posttest": "npm run lint"
},
"devDependencies": {
"fs-extra": "^4.0.2"
"fs-extra": "^5.0.0"
}
}

0 comments on commit 917da5d

Please sign in to comment.