Skip to content

Commit

Permalink
feat(type-safe-api): expose documentation projects
Browse files Browse the repository at this point in the history
Also set nx to 16 and ensure generated api and gradle build files are cached
  • Loading branch information
cogwirrel committed May 18, 2023
1 parent d57fee1 commit a53bdb6
Show file tree
Hide file tree
Showing 14 changed files with 676 additions and 188 deletions.
6 changes: 4 additions & 2 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nx.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/nx-monorepo/src/components/nx-workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const NX_DEFAULT_BUILD_OUTPUTS = [
"{projectRoot}/coverage",
"{projectRoot}/test-reports",
"{projectRoot}/target",
"{projectRoot}/cdk.out",
"{projectRoot}/LICENSE_THIRD_PARTY",
"{projectRoot}/.jsii",
];
Expand Down
4 changes: 3 additions & 1 deletion packages/nx-monorepo/src/nx-monorepo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ export class NxMonorepoProject extends TypeScriptProject {
});
}

this.addPeerDeps("nx");
// Add dependency on nx 16
this.addPeerDeps("nx@^16");
this.addDevDeps("nx@^16");
this.addDeps("aws-cdk-lib", "constructs", "cdk-nag"); // Needed as this can be bundled in aws-prototyping-sdk
this.package.addPackageResolutions(
"@types/babel__traverse@7.18.2",
Expand Down
Loading

0 comments on commit a53bdb6

Please sign in to comment.