Skip to content

Commit

Permalink
fix: resolve issues related to upgrading nx >= 16
Browse files Browse the repository at this point in the history
resolve issues related to upgrading nx >= 16

BREAKING CHANGE: Deprecate uber aws-prototyping-sdk package

fix #379, #381, #347
  • Loading branch information
agdimech committed May 3, 2023
1 parent fb02c2d commit 4a23a74
Show file tree
Hide file tree
Showing 97 changed files with 1,124 additions and 2,660 deletions.
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

0 comments on commit 4a23a74

Please sign in to comment.