Skip to content

Commit 050b893

Browse files
refactor: Delete check_peer_dependencies.js in favor of using check-peer-dependencies npm package
1 parent ae591a0 commit 050b893

File tree

4 files changed

+62
-242
lines changed

4 files changed

+62
-242
lines changed

check_peer_dependencies.js

Lines changed: 0 additions & 226 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
},
1919
"bin": {
2020
"artifact_tagging": "./artifact_tagging.js",
21-
"check_peer_dependencies": "./check_peer_dependencies.js",
2221
"ensure_clean_master": "./ensure_clean_master.js",
2322
"generate_docs": "./generate_docs.js",
2423
"modify_sourcemap_paths": "./modify_sourcemap_paths.js",
@@ -31,6 +30,7 @@
3130
},
3231
"dependencies": {
3332
"@types/resolve": "0.0.8",
33+
"check-peer-dependencies": "^1.0.1",
3434
"conventional-changelog": "^3.1.10",
3535
"conventional-changelog-ui-router-core": "^1.4.2",
3636
"find-parent-dir": "^0.3.0",

test_downstream_projects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function installUpstreamDeps(upstreamPackages) {
102102
// Install updated deps from the upstream
103103
// If local changes point to a new version of @uirouter/core, for example
104104
util._exec('npx yarn');
105-
util._exec('npx check_peer_dependencies --yarn --install');
105+
util._exec('npx check-peer-dependencies --install');
106106
}
107107

108108
function runTests() {

0 commit comments

Comments
 (0)