Skip to content

Commit

Permalink
Turn off depending on private packages in decdk and monocdk.
Browse files Browse the repository at this point in the history
  • Loading branch information
skinny85 committed May 6, 2020
1 parent 4775da3 commit aa29b7f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/example-construct-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"constructs": "^3.0.2"
},
"engines": {
"node": ">= 10.12.0"
"node": ">= 10.13.0"
},
"jest": {},
"stability": "stable",
Expand Down
4 changes: 4 additions & 0 deletions packages/decdk/deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ for (const dir of modules) {
delete deps[meta.name];
continue;
}
// skip private packages
if (meta.private) {
continue;
}

if (!exists) {
console.error(`missing dependency: ${meta.name}`);
Expand Down
4 changes: 4 additions & 0 deletions packages/monocdk-experiment/deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ for (const dir of modules) {
delete pkgDevDeps[meta.name];
continue;
}
// skip private packages
if (meta.private) {
continue;
}

if (!exists) {
console.error(`missing dependency: ${meta.name}`);
Expand Down

0 comments on commit aa29b7f

Please sign in to comment.