Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resolve issues related to upgrading nx >= 16 #384

Merged
merged 1 commit into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions .projen/deps.json

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

26 changes: 7 additions & 19 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
SPDX-License-Identifier: Apache-2.0 */
import { PDKProject } from "./private/pdk-project";
import { AwsArchProject } from "./private/projects/aws-arch";
import { AwsPrototypingSdkProject } from "./private/projects/aws-prototyping-sdk-project";
import { CdkGraphProject } from "./private/projects/cdk-graph";
import { CdkGraphPluginDiagramProject } from "./private/projects/cdk-graph-plugin-diagram";
import { CloudscapeReactTsWebsiteProject } from "./private/projects/cloudscape-react-ts-website";
Expand All @@ -19,15 +18,10 @@ import { TypeSafeApiProject } from "./private/projects/type-safe-api-project";
// root/parent project
const monorepoProject = new PDKMonorepoProject();

// docs
const docsProject = new DocsProject(monorepoProject);

const pdkNagProject = new PDKNagProject(monorepoProject);
new PDKNagProject(monorepoProject);

// public packages
const nxMonorepoProject = new NXMonorepoProject(monorepoProject);
const pipelineProject = new PipelineProject(monorepoProject);
const awsPrototypingSdkProject = new AwsPrototypingSdkProject(monorepoProject);
new NXMonorepoProject(monorepoProject);
new StaticWebsiteProject(monorepoProject);
new IdentityProject(monorepoProject);
new OpenApiGatewayProject(monorepoProject);
Expand All @@ -36,25 +30,19 @@ new CloudscapeReactTsWebsiteProject(monorepoProject);
new AwsArchProject(monorepoProject);
new CdkGraphProject(monorepoProject);
new CdkGraphPluginDiagramProject(monorepoProject);
const pipelineProject = new PipelineProject(monorepoProject);

// docs
const docsProject = new DocsProject(monorepoProject);

// implicit dependencies
pipelineProject.samples.forEach((sample) =>
monorepoProject.addImplicitDependency(sample, awsPrototypingSdkProject)
monorepoProject.addImplicitDependency(sample, pipelineProject)
);

// Docs should have a dependency on all publishable packages
monorepoProject.subProjects
.filter((s: any) => s instanceof PDKProject && s.pdkRelease)
.forEach((p) => monorepoProject.addImplicitDependency(docsProject, p));

monorepoProject.addImplicitDependency(awsPrototypingSdkProject, pdkNagProject);
monorepoProject.addImplicitDependency(
awsPrototypingSdkProject,
pipelineProject
);
monorepoProject.addImplicitDependency(
awsPrototypingSdkProject,
nxMonorepoProject
);

monorepoProject.synth();
35 changes: 7 additions & 28 deletions nx.json

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

28 changes: 14 additions & 14 deletions package.json

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

4 changes: 2 additions & 2 deletions packages/aws-arch/package.json

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

141 changes: 0 additions & 141 deletions packages/aws-prototyping-sdk/.eslintrc.json

This file was deleted.

Loading