Skip to content

Commit

Permalink
chore(aws-cdk-lib): enable project references
Browse files Browse the repository at this point in the history
This is improves the experience for other monorepo packages depending on `aws-cdk-lib`.
  • Loading branch information
mrgrain committed Jan 16, 2025
1 parent 3e4f377 commit 79d6d10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"packageName": "awscdk"
}
},
"projectReferences": false,
"projectReferences": true,
"metadata": {
"jsii": {
"rosetta": {
Expand Down
7 changes: 0 additions & 7 deletions tools/@aws-cdk/pkglint/lib/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -645,13 +645,6 @@ export class JSIIProjectReferences extends ValidationRule {
if (!isJSII(pkg)) {
return;
}

expectJSON(
this.name,
pkg,
'jsii.projectReferences',
pkg.json.name !== 'aws-cdk-lib',
);
}
}

Expand Down

0 comments on commit 79d6d10

Please sign in to comment.