From ae0177eb36ccae606c309d013fcdcaa0b8affd7e Mon Sep 17 00:00:00 2001 From: Adrian Dimech <51220968+agdimech@users.noreply.github.com> Date: Thu, 2 Nov 2023 17:01:44 +1100 Subject: [PATCH] feat: add support for Bun (#631) fix #576 --- .projen/deps.json | 5 +- package.json | 3 +- .../src/projects/typescript/monorepo-ts.ts | 13 +- packages/monorepo/src/utils/node.ts | 35 +- .../test/__snapshots__/monorepo.test.ts.snap | 2595 +++++++++++++++-- packages/monorepo/test/monorepo.test.ts | 17 + packages/pdk/_scripts/exec-command.js | 3 +- .../generated-typescript-handlers-project.ts | 20 +- ...d-typescript-cdk-infrastructure-project.ts | 20 +- .../typescript-react-query-hooks-library.ts | 16 +- .../generated-typescript-runtime-project.ts | 16 +- .../type-safe-api-project.test.ts.snap | 202 +- pnpm-lock.yaml | 14 +- 13 files changed, 2388 insertions(+), 571 deletions(-) diff --git a/.projen/deps.json b/.projen/deps.json index 96407ffce..4cfb91853 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -220,6 +220,7 @@ }, { "name": "@aws-cdk/aws-cognito-identitypool-alpha", + "version": "latest", "type": "runtime" }, { @@ -239,10 +240,6 @@ "name": "cdk-nag", "type": "runtime" }, - { - "name": "constructs", - "type": "runtime" - }, { "name": "fast-xml-parser", "type": "runtime" diff --git a/package.json b/package.json index 8ebaf5052..f15426c30 100644 --- a/package.json +++ b/package.json @@ -59,12 +59,11 @@ "nx": "^16" }, "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "^2.103.1-alpha.0", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "@mrgrain/jsii-struct-builder": "^0.5.7", "@pnpm/types": "^9.0.0", "aws-cdk-lib": "^2.93.0", "cdk-nag": "^2.27.115", - "constructs": "^10.2.70", "fast-xml-parser": "^4.2.7", "projen": "^0.76" }, diff --git a/packages/monorepo/src/projects/typescript/monorepo-ts.ts b/packages/monorepo/src/projects/typescript/monorepo-ts.ts index ad7dc52b8..747307a04 100644 --- a/packages/monorepo/src/projects/typescript/monorepo-ts.ts +++ b/packages/monorepo/src/projects/typescript/monorepo-ts.ts @@ -175,9 +175,8 @@ export class MonorepoTsProject devDeps: ["nx@^16", "@aws/pdk@^0", ...(options.devDeps || [])], deps: [ "aws-cdk-lib", - "constructs", "cdk-nag", - "@aws-cdk/aws-cognito-identitypool-alpha", + "@aws-cdk/aws-cognito-identitypool-alpha@latest", ...(options.deps || []), ], }); @@ -190,6 +189,10 @@ export class MonorepoTsProject // engines this.package.addEngine("node", ">=16"); switch (this.package.packageManager) { + case NodePackageManager.BUN: { + this.package.addEngine("bun", ">=1"); + break; + } case NodePackageManager.PNPM: { // https://pnpm.io/package_json // https://github.com/pnpm/pnpm/releases/tag/v8.0.0 @@ -408,9 +411,9 @@ export class MonorepoTsProject public addWorkspacePackages(...packageGlobs: string[]) { // Any subprojects that were added since the last call to this method need to be added first, in order to ensure // we add the workspace packages in a sane order. - const relativeSubProjectWorkspacePackages = this.sortedSubProjects.map( - (project) => path.relative(this.outdir, project.outdir) - ); + const relativeSubProjectWorkspacePackages = this.sortedSubProjects + .filter((s) => ProjectUtils.isNamedInstanceOf(s, NodeProject)) + .map((project) => path.relative(this.outdir, project.outdir)); const existingWorkspacePackages = new Set(this.workspacePackages); this.workspacePackages.push( ...relativeSubProjectWorkspacePackages.filter( diff --git a/packages/monorepo/src/utils/node.ts b/packages/monorepo/src/utils/node.ts index 4948c8e2a..26cb697c8 100644 --- a/packages/monorepo/src/utils/node.ts +++ b/packages/monorepo/src/utils/node.ts @@ -124,6 +124,8 @@ export namespace NodePackageUtils { return withArgs("yarn run", args); case NodePackageManager.PNPM: return withArgs("pnpm run", args); + case NodePackageManager.BUN: + return withArgs("bun run", args); default: return withArgs("npm run", args); } @@ -156,6 +158,8 @@ export namespace NodePackageUtils { return withArgs("yarn exec", args); case NodePackageManager.PNPM: return withArgs("pnpm exec", args); + case NodePackageManager.BUN: + return withArgs("bun x", args); default: return withArgs("npx", args); } @@ -174,6 +178,8 @@ export namespace NodePackageUtils { return withArgs("yarn dlx", args); case NodePackageManager.PNPM: return withArgs("pnpm dlx", args); + case NodePackageManager.BUN: + return withArgs("bun x", args); default: return withArgs("npx", args); } @@ -193,6 +199,8 @@ export namespace NodePackageUtils { return withArgs("yarn install", args); case NodePackageManager.PNPM: return withArgs("pnpm i", args); + case NodePackageManager.BUN: + return withArgs("bun install", args); default: return withArgs("npm install", args); } @@ -213,33 +221,13 @@ export namespace NodePackageUtils { return withArgs("yarn", args); case NodePackageManager.PNPM: return withArgs("pnpm", args); + case NodePackageManager.BUN: + return withArgs("bun", args); default: return withArgs("npm", args); } } - export function execInWorkspace( - packageManager: NodePackageManager, - packageName: string, - ...args: string[] - ) { - switch (packageManager) { - case NodePackageManager.YARN: - case NodePackageManager.YARN2: - case NodePackageManager.YARN_CLASSIC: - case NodePackageManager.YARN_BERRY: - return withArgs("yarn workspace", [packageName, ...args]); - case NodePackageManager.PNPM: - return withArgs("pnpm", [ - `--filter "${packageName}"`, - "exec", - ...args, - ]); - default: - return withArgs("npx", ["-p", packageName, ...args]); - } - } - /** * Get bash command for executing an executable in the package manager /bin dir. * Example: `$(yarn bin)/${cmd}` @@ -256,8 +244,9 @@ export namespace NodePackageUtils { return `$(yarn bin)/${_cmd}`; case NodePackageManager.PNPM: return `$(pnpm bin)/${_cmd}`; + case NodePackageManager.BUN: default: - return `$(npm bin)/${_cmd}`; + return `$(npm root)/.bin/${_cmd}`; } } } diff --git a/packages/monorepo/test/__snapshots__/monorepo.test.ts.snap b/packages/monorepo/test/__snapshots__/monorepo.test.ts.snap index de715d563..be9793f8d 100644 --- a/packages/monorepo/test/__snapshots__/monorepo.test.ts.snap +++ b/packages/monorepo/test/__snapshots__/monorepo.test.ts.snap @@ -350,6 +350,7 @@ resolution-mode=highest { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -359,10 +360,6 @@ resolution-mode=highest "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -569,13 +566,13 @@ resolution-mode=highest "exec": "pnpm update npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "pnpm i --no-frozen-lockfile", }, { - "exec": "pnpm update @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "pnpm update @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "pnpm exec projen", @@ -900,10 +897,9 @@ resolution-mode=highest "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "pnpm exec projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -2396,6 +2392,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -2405,10 +2402,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -2613,13 +2606,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "yarn projen", @@ -2944,10 +2937,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "yarn projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -4431,6 +4423,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -4440,10 +4433,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -4648,13 +4637,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "yarn exec projen", @@ -4979,10 +4968,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "yarn exec projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -6461,6 +6449,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -6470,10 +6459,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -6678,13 +6663,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -7009,10 +6994,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -7073,10 +7057,7 @@ tsconfig.tsbuildinfo "types": "lib/index.d.ts", "version": "0.0.0", "workspaces": { - "packages": [ - "packages/consumer", - "packages/library", - ], + "packages": [], }, }, "packages/consumer/.gitattributes": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -8315,6 +8296,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -8324,10 +8306,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -8540,13 +8518,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -8871,10 +8849,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -8936,10 +8913,7 @@ tsconfig.tsbuildinfo "types": "lib/index.d.ts", "version": "0.0.0", "workspaces": { - "packages": [ - "packages/consumer", - "packages/library", - ], + "packages": [], }, }, "packages/consumer/.gitattributes": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". @@ -10069,6 +10043,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -10078,10 +10053,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -10286,13 +10257,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -10617,10 +10588,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -10762,7 +10732,7 @@ tsconfig.tsbuildinfo } `; -exports[`NX Monorepo Unit Tests Composite 1`] = ` +exports[`NX Monorepo Unit Tests BUN 1`] = ` { ".eslintrc.json": { "env": { @@ -10904,7 +10874,7 @@ exports[`NX Monorepo Unit Tests Composite 1`] = ` }, }, }, - ".gitattributes": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". + ".gitattributes": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "bun x projen". *.snap linguist-generated /.eslintrc.json linguist-generated @@ -10919,13 +10889,13 @@ exports[`NX Monorepo Unit Tests Composite 1`] = ` /.projen/files.json linguist-generated /.projen/tasks.json linguist-generated /.syncpackrc.json linguist-generated +/bun.lockb linguist-generated /LICENSE linguist-generated /nx.json linguist-generated /package.json linguist-generated /tsconfig.dev.json linguist-generated -/tsconfig.json linguist-generated -/yarn.lock linguist-generated", - ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". +/tsconfig.json linguist-generated", + ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "bun x projen". !/.gitattributes !/.projen/tasks.json !/.projen/deps.json @@ -10972,7 +10942,7 @@ jspm_packages/ !/.nxignore !/.syncpackrc.json ", - ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". + ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "bun x projen". /.projen/ /test/ /tsconfig.dev.json @@ -10989,18 +10959,18 @@ dist tsconfig.tsbuildinfo /.eslintrc.json ", - ".nxignore": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". + ".nxignore": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "bun x projen". .tmp .env .pytest_cache ", - ".prettierignore": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". + ".prettierignore": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "bun x projen". ", ".prettierrc.json": { "overrides": [], }, ".projen/deps.json": { - "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", + "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "bun x projen".", "dependencies": [ { "name": "@aws/pdk", @@ -11104,6 +11074,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -11113,14 +11084,10 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { - "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", + "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "bun x projen".", "files": [ ".eslintrc.json", ".gitattributes", @@ -11140,7 +11107,7 @@ tsconfig.tsbuildinfo ], }, ".projen/tasks.json": { - "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", + "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "bun x projen".", "env": { "PATH": "$(npx -c "node --print process.env.PATH")", }, @@ -11150,7 +11117,7 @@ tsconfig.tsbuildinfo "name": "build", "steps": [ { - "exec": "yarn nx run-many --target=build --output-style=stream --nx-bail", + "exec": "bun x nx run-many --target=build --output-style=stream --nx-bail", "receiveArgs": true, }, ], @@ -11192,7 +11159,7 @@ tsconfig.tsbuildinfo "name": "compile", "steps": [ { - "exec": "yarn nx run-many --target=compile --output-style=stream --nx-bail", + "exec": "bun x nx run-many --target=compile --output-style=stream --nx-bail", "receiveArgs": true, }, ], @@ -11223,7 +11190,7 @@ tsconfig.tsbuildinfo "name": "eslint", "steps": [ { - "exec": "yarn nx run-many --target=eslint --output-style=stream --nx-bail", + "exec": "bun x nx run-many --target=eslint --output-style=stream --nx-bail", "receiveArgs": true, }, ], @@ -11233,7 +11200,7 @@ tsconfig.tsbuildinfo "name": "graph", "steps": [ { - "exec": "yarn nx graph", + "exec": "bun x nx graph", "receiveArgs": true, }, ], @@ -11243,7 +11210,7 @@ tsconfig.tsbuildinfo "name": "install", "steps": [ { - "exec": "yarn install --check-files", + "exec": "bun install", }, ], }, @@ -11252,7 +11219,7 @@ tsconfig.tsbuildinfo "name": "install:ci", "steps": [ { - "exec": "yarn install --check-files --frozen-lockfile", + "exec": "bun install --frozen-lockfile", }, ], }, @@ -11261,7 +11228,7 @@ tsconfig.tsbuildinfo "name": "package", "steps": [ { - "exec": "yarn nx run-many --target=package --output-style=stream --nx-bail", + "exec": "bun x nx run-many --target=package --output-style=stream --nx-bail", "receiveArgs": true, }, ], @@ -11271,7 +11238,7 @@ tsconfig.tsbuildinfo "name": "post-compile", "steps": [ { - "exec": "yarn nx run-many --target=post-compile --output-style=stream --nx-bail", + "exec": "bun x nx run-many --target=post-compile --output-style=stream --nx-bail", "receiveArgs": true, }, ], @@ -11280,20 +11247,12 @@ tsconfig.tsbuildinfo "description": "Runs after upgrading dependencies", "name": "post-upgrade", }, - "postinstall": { - "name": "postinstall", - "steps": [ - { - "exec": "yarn nx run-many --target=install --output-style=stream --parallel=1 --nx-bail --projects=py-subproject", - }, - ], - }, "pre-compile": { "description": "Prepare the project for compilation for all affected projects", "name": "pre-compile", "steps": [ { - "exec": "yarn nx run-many --target=pre-compile --output-style=stream --nx-bail", + "exec": "bun x nx run-many --target=pre-compile --output-style=stream --nx-bail", "receiveArgs": true, }, ], @@ -11303,7 +11262,7 @@ tsconfig.tsbuildinfo "name": "run-many", "steps": [ { - "exec": "yarn nx run-many", + "exec": "bun x nx run-many", "receiveArgs": true, }, ], @@ -11313,7 +11272,7 @@ tsconfig.tsbuildinfo "name": "test", "steps": [ { - "exec": "yarn nx run-many --target=test --output-style=stream --nx-bail", + "exec": "bun x nx run-many --target=test --output-style=stream --nx-bail", "receiveArgs": true, }, ], @@ -11326,19 +11285,19 @@ tsconfig.tsbuildinfo "name": "upgrade", "steps": [ { - "exec": "yarn upgrade npm-check-updates", + "exec": "bun update npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { - "exec": "yarn install --check-files", + "exec": "bun install", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "bun update @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { - "exec": "npx projen", + "exec": "bun x projen", }, { "spawn": "post-upgrade", @@ -11349,16 +11308,16 @@ tsconfig.tsbuildinfo "name": "upgrade-deps", "steps": [ { - "exec": "yarn npm-check-updates --deep --rejectVersion 0.0.0 -u --dep prod,dev,peer,optional,bundle --target=minor", + "exec": "bun x npm-check-updates --deep --rejectVersion 0.0.0 -u --dep prod,dev,peer,optional,bundle --target=minor", }, { - "exec": "yarn syncpack fix-mismatches", + "exec": "bun x syncpack fix-mismatches", }, { - "exec": "yarn install", + "exec": "bun install", }, { - "exec": "yarn projen", + "exec": "bun x projen", }, ], }, @@ -11367,7 +11326,7 @@ tsconfig.tsbuildinfo "name": "watch", "steps": [ { - "exec": "yarn nx run-many --target=watch --output-style=stream --skip-nx-cache --nx-ignore-cycles --nx-bail", + "exec": "bun x nx run-many --target=watch --output-style=stream --skip-nx-cache --nx-ignore-cycles --nx-bail", "receiveArgs": true, }, ], @@ -11375,7 +11334,7 @@ tsconfig.tsbuildinfo }, }, ".syncpackrc.json": { - "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", + "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "bun x projen".", "dependencyTypes": [], "dev": true, "filter": ".", @@ -11611,7 +11570,7 @@ tsconfig.tsbuildinfo ", "README.md": "# replace this", "nx.json": { - "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", + "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "bun x projen".", "affected": { "defaultBase": "mainline", }, @@ -11658,12 +11617,11 @@ tsconfig.tsbuildinfo }, }, "package.json": { - "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", + "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "bun x projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -11686,12 +11644,12 @@ tsconfig.tsbuildinfo "typescript": "*", }, "engines": { + "bun": ">=1", "node": ">=16", - "yarn": ">=1 <2", }, "license": "Apache-2.0", "main": "lib/index.js", - "name": "Composite", + "name": "BUN", "peerDependencies": { "nx": "^16", }, @@ -11702,178 +11660,2209 @@ tsconfig.tsbuildinfo "wrap-ansi": "^7.0.0", }, "scripts": { - "build": "npx projen build", - "clobber": "npx projen clobber", - "compile": "npx projen compile", - "default": "npx projen default", - "eject": "npx projen eject", - "eslint": "npx projen eslint", - "graph": "npx projen graph", - "install:ci": "yarn projen install:ci", - "package": "npx projen package", - "post-compile": "npx projen post-compile", - "post-upgrade": "npx projen post-upgrade", - "postinstall": "npx projen postinstall", - "pre-compile": "npx projen pre-compile", - "run-many": "npx projen run-many", - "synth-workspace": "yarn projen", - "test": "npx projen test", - "upgrade": "npx projen upgrade", - "upgrade-deps": "npx projen upgrade-deps", - "watch": "npx projen watch", + "build": "bun x projen build", + "clobber": "bun x projen clobber", + "compile": "bun x projen compile", + "default": "bun x projen default", + "eject": "bun x projen eject", + "eslint": "bun x projen eslint", + "graph": "bun x projen graph", + "install:ci": "bun x projen install:ci", + "package": "bun x projen package", + "post-compile": "bun x projen post-compile", + "post-upgrade": "bun x projen post-upgrade", + "pre-compile": "bun x projen pre-compile", + "run-many": "bun x projen run-many", + "synth-workspace": "bun x projen", + "test": "bun x projen test", + "upgrade": "bun x projen upgrade", + "upgrade-deps": "bun x projen upgrade-deps", + "watch": "bun x projen watch", }, "types": "lib/index.d.ts", "version": "0.0.0", "workspaces": { "packages": [ - "packages/py-subproject", "packages/ts-subproject", - "packages/ts-subproject2", ], }, }, - "packages/py-subproject/.gitattributes": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". - -/.gitattributes linguist-generated -/.gitignore linguist-generated -/.projen/** linguist-generated -/.projen/deps.json linguist-generated -/.projen/files.json linguist-generated -/.projen/tasks.json linguist-generated -/project.json linguist-generated -/requirements-dev.txt linguist-generated -/requirements.txt linguist-generated", - "packages/py-subproject/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". -node_modules/ -!/.gitattributes -!/.projen/tasks.json -!/.projen/deps.json -!/.projen/files.json -/.env -!/requirements.txt -!/requirements-dev.txt -__pycache__/ -*.py[cod] -*$py.class -*.so -.Python -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -wheels/ -share/python-wheels/ -*.egg-info/ -.installed.cfg -*.egg -MANIFEST -*.manifest -*.spec -pip-log.txt -pip-delete-this-directory.txt -htmlcov/ -.tox/ -.nox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*.cover -*.py,cover -.hypothesis/ -.pytest_cache/ -cover/ -*.mo -*.pot -*.log -local_settings.py -db.sqlite3 -db.sqlite3-journal -instance/ -.webassets-cache -.scrapy -docs/_build/ -.pybuilder/ -target/ -.ipynb_checkpoints -profile_default/ -ipython_config.py -__pypackages__/ -celerybeat-schedule -celerybeat.pid -*.sage.py -.env -.venv -env/ -venv/ -ENV/ -env.bak/ -venv.bak/ -.spyderproject -.spyproject -.ropeproject -/site -.mypy_cache/ -.dmypy.json -dmypy.json -.pyre/ -.pytype/ -cython_debug/ -!/project.json -", - "packages/py-subproject/.projen/deps.json": { - "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", - "dependencies": [ - { - "name": "pytest", - "type": "test", - "version": "6.2.1", - }, + "packages/ts-subproject/.eslintrc.json": { + "env": { + "jest": true, + "node": true, + }, + "extends": [ + "plugin:import/typescript", ], - }, - "packages/py-subproject/.projen/files.json": { - "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", - "files": [ - ".gitattributes", - ".gitignore", - ".projen/deps.json", - ".projen/files.json", - ".projen/tasks.json", - "project.json", - "requirements-dev.txt", - "requirements.txt", + "ignorePatterns": [ + "*.js", + "*.d.ts", + "node_modules/", + "*.generated.ts", + "coverage", ], - }, - "packages/py-subproject/.projen/tasks.json": { - "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", - "env": { - "PATH": "$(echo $PWD/.env/bin:$PATH)", - "VIRTUAL_ENV": "$(echo $PWD/.env)", + "overrides": [], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": 2018, + "project": "./tsconfig.dev.json", + "sourceType": "module", }, - "tasks": { - "build": { - "description": "Full release build", - "name": "build", - "steps": [ - { - "spawn": "pre-compile", - }, - { - "spawn": "compile", - }, - { - "spawn": "post-compile", - }, - { - "spawn": "test", + "plugins": [ + "@typescript-eslint", + "import", + ], + "root": true, + "rules": { + "@typescript-eslint/indent": [ + "error", + 2, + ], + "@typescript-eslint/member-delimiter-style": [ + "error", + ], + "@typescript-eslint/member-ordering": [ + "error", + { + "default": [ + "public-static-field", + "public-static-method", + "protected-static-field", + "protected-static-method", + "private-static-field", + "private-static-method", + "field", + "constructor", + "method", + ], + }, + ], + "@typescript-eslint/no-floating-promises": [ + "error", + ], + "@typescript-eslint/no-require-imports": [ + "error", + ], + "@typescript-eslint/no-shadow": [ + "error", + ], + "@typescript-eslint/return-await": [ + "error", + ], + "array-bracket-newline": [ + "error", + "consistent", + ], + "array-bracket-spacing": [ + "error", + "never", + ], + "brace-style": [ + "error", + "1tbs", + { + "allowSingleLine": true, + }, + ], + "comma-dangle": [ + "error", + "always-multiline", + ], + "comma-spacing": [ + "error", + { + "after": true, + "before": false, + }, + ], + "curly": [ + "error", + "multi-line", + "consistent", + ], + "dot-notation": [ + "error", + ], + "import/no-extraneous-dependencies": [ + "error", + { + "devDependencies": [ + "**/test/**", + "**/build-tools/**", + ], + "optionalDependencies": false, + "peerDependencies": true, + }, + ], + "import/no-unresolved": [ + "error", + ], + "import/order": [ + "warn", + { + "alphabetize": { + "caseInsensitive": true, + "order": "asc", + }, + "groups": [ + "builtin", + "external", + ], + }, + ], + "indent": [ + "off", + ], + "key-spacing": [ + "error", + ], + "keyword-spacing": [ + "error", + ], + "max-len": [ + "error", + { + "code": 150, + "ignoreComments": true, + "ignoreRegExpLiterals": true, + "ignoreStrings": true, + "ignoreTemplateLiterals": true, + "ignoreUrls": true, + }, + ], + "no-bitwise": [ + "error", + ], + "no-duplicate-imports": [ + "error", + ], + "no-multi-spaces": [ + "error", + { + "ignoreEOLComments": false, + }, + ], + "no-multiple-empty-lines": [ + "error", + ], + "no-return-await": [ + "off", + ], + "no-shadow": [ + "off", + ], + "no-trailing-spaces": [ + "error", + ], + "object-curly-newline": [ + "error", + { + "consistent": true, + "multiline": true, + }, + ], + "object-curly-spacing": [ + "error", + "always", + ], + "object-property-newline": [ + "error", + { + "allowAllPropertiesOnSameLine": true, + }, + ], + "quote-props": [ + "error", + "consistent-as-needed", + ], + "quotes": [ + "error", + "single", + { + "avoidEscape": true, + }, + ], + "semi": [ + "error", + "always", + ], + "space-before-blocks": [ + "error", + ], + }, + "settings": { + "import/parsers": { + "@typescript-eslint/parser": [ + ".ts", + ".tsx", + ], + }, + "import/resolver": { + "node": {}, + "typescript": { + "alwaysTryTypes": true, + "project": "./tsconfig.dev.json", + }, + }, + }, + }, + "packages/ts-subproject/.gitattributes": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". + +/.eslintrc.json linguist-generated +/.gitattributes linguist-generated +/.gitignore linguist-generated +/.npmignore linguist-generated +/.projen/** linguist-generated +/.projen/deps.json linguist-generated +/.projen/files.json linguist-generated +/.projen/tasks.json linguist-generated +/bun.lockb linguist-generated +/LICENSE linguist-generated +/package.json linguist-generated +/project.json linguist-generated +/tsconfig.dev.json linguist-generated +/tsconfig.json linguist-generated", + "packages/ts-subproject/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". +!/.gitattributes +!/.projen/tasks.json +!/.projen/deps.json +!/.projen/files.json +!/package.json +!/LICENSE +!/.npmignore +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json +pids +*.pid +*.seed +*.pid.lock +lib-cov +coverage +*.lcov +.nyc_output +build/Release +node_modules/ +jspm_packages/ +*.tsbuildinfo +.eslintcache +*.tgz +.yarn-integrity +.cache +!/.projenrc.js +/test-reports/ +junit.xml +/coverage/ +!/test/ +!/tsconfig.json +!/tsconfig.dev.json +!/src/ +/lib +/dist/ +!/.eslintrc.json +!/project.json +", + "packages/ts-subproject/.npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". +/.projen/ +/test-reports/ +junit.xml +/coverage/ +/test/ +/tsconfig.dev.json +/src/ +!/lib/ +!/lib/**/*.js +!/lib/**/*.d.ts +dist +/tsconfig.json +/.github/ +/.vscode/ +/.idea/ +/.projenrc.js +tsconfig.tsbuildinfo +/.eslintrc.json +", + "packages/ts-subproject/.projen/deps.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "dependencies": [ + { + "name": "@types/jest", + "type": "build", + }, + { + "name": "@types/node", + "type": "build", + "version": "^16", + }, + { + "name": "@typescript-eslint/eslint-plugin", + "type": "build", + "version": "^6", + }, + { + "name": "@typescript-eslint/parser", + "type": "build", + "version": "^6", + }, + { + "name": "constructs", + "type": "build", + "version": "^10.0.0", + }, + { + "name": "eslint-import-resolver-node", + "type": "build", + }, + { + "name": "eslint-import-resolver-typescript", + "type": "build", + }, + { + "name": "eslint-plugin-import", + "type": "build", + }, + { + "name": "eslint", + "type": "build", + "version": "^8", + }, + { + "name": "jest", + "type": "build", + }, + { + "name": "jest-junit", + "type": "build", + "version": "^15", + }, + { + "name": "npm-check-updates", + "type": "build", + "version": "^16", + }, + { + "name": "projen", + "type": "build", + }, + { + "name": "ts-jest", + "type": "build", + }, + { + "name": "typescript", + "type": "build", + }, + ], + }, + "packages/ts-subproject/.projen/files.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "files": [ + ".eslintrc.json", + ".gitattributes", + ".gitignore", + ".npmignore", + ".projen/deps.json", + ".projen/files.json", + ".projen/tasks.json", + "LICENSE", + "project.json", + "tsconfig.dev.json", + "tsconfig.json", + ], + }, + "packages/ts-subproject/.projen/tasks.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "env": { + "PATH": "$(npx -c "node --print process.env.PATH")", + }, + "tasks": { + "build": { + "description": "Full release build", + "name": "build", + "steps": [ + { + "spawn": "pre-compile", + }, + { + "spawn": "compile", + }, + { + "spawn": "post-compile", + }, + { + "spawn": "test", + }, + { + "spawn": "package", + }, + ], + }, + "compile": { + "description": "Only compile", + "name": "compile", + "steps": [ + { + "exec": "tsc --build", + }, + ], + }, + "default": { + "description": "Synthesize project files", + "name": "default", + }, + "eslint": { + "description": "Runs eslint against the codebase", + "name": "eslint", + "steps": [ + { + "exec": "eslint --ext .ts,.tsx --fix --no-error-on-unmatched-pattern src test build-tools", + }, + ], + }, + "install": { + "description": "Install project dependencies and update lockfile (non-frozen)", + "name": "install", + "steps": [ + { + "exec": "bun install", + }, + ], + }, + "install:ci": { + "description": "Install project dependencies using frozen lockfile", + "name": "install:ci", + "steps": [ + { + "exec": "bun install --frozen-lockfile", + }, + ], + }, + "package": { + "description": "Creates the distribution package", + "name": "package", + "steps": [ + { + "exec": "mkdir -p dist/js", + }, + { + "exec": "mv $(npm pack) dist/js/", + }, + ], + }, + "post-compile": { + "description": "Runs after successful compilation", + "name": "post-compile", + }, + "post-upgrade": { + "description": "Runs after upgrading dependencies", + "name": "post-upgrade", + }, + "pre-compile": { + "description": "Prepare the project for compilation", + "name": "pre-compile", + }, + "test": { + "description": "Run tests", + "name": "test", + "steps": [ + { + "exec": "jest --passWithNoTests --updateSnapshot", + "receiveArgs": true, + }, + { + "spawn": "eslint", + }, + ], + }, + "test:watch": { + "description": "Run jest in watch mode", + "name": "test:watch", + "steps": [ + { + "exec": "jest --watch", + }, + ], + }, + "upgrade": { + "description": "upgrade dependencies", + "env": { + "CI": "0", + }, + "name": "upgrade", + "steps": [ + { + "exec": "bun update npm-check-updates", + }, + { + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@types/jest,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint,jest,jest-junit,npm-check-updates,projen,ts-jest,typescript", + }, + { + "exec": "bun install", + }, + { + "exec": "bun update @types/jest @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint jest jest-junit npm-check-updates projen ts-jest typescript", + }, + { + "exec": "npx projen", + }, + { + "spawn": "post-upgrade", + }, + ], + }, + "watch": { + "description": "Watch & compile in the background", + "name": "watch", + "steps": [ + { + "exec": "tsc --build -w", + }, + ], + }, + }, + }, + "packages/ts-subproject/LICENSE": " + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +", + "packages/ts-subproject/README.md": "# replace this", + "packages/ts-subproject/package.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "devDependencies": { + "@types/jest": "*", + "@types/node": "^16", + "@typescript-eslint/eslint-plugin": "^6", + "@typescript-eslint/parser": "^6", + "constructs": "^10.0.0", + "eslint": "^8", + "eslint-import-resolver-node": "*", + "eslint-import-resolver-typescript": "*", + "eslint-plugin-import": "*", + "jest": "*", + "jest-junit": "^15", + "npm-check-updates": "^16", + "projen": "*", + "ts-jest": "*", + "typescript": "*", + }, + "jest": { + "clearMocks": true, + "collectCoverage": true, + "coverageDirectory": "coverage", + "coveragePathIgnorePatterns": [ + "/node_modules/", + ], + "coverageReporters": [ + "json", + "lcov", + "clover", + "cobertura", + "text", + ], + "globals": { + "ts-jest": { + "tsconfig": "tsconfig.dev.json", + }, + }, + "preset": "ts-jest", + "reporters": [ + "default", + [ + "jest-junit", + { + "outputDirectory": "test-reports", + }, + ], + ], + "testMatch": [ + "/src/**/__tests__/**/*.ts?(x)", + "/(test|src)/**/*(*.)@(spec|test).ts?(x)", + ], + "testPathIgnorePatterns": [ + "/node_modules/", + ], + "watchPathIgnorePatterns": [ + "/node_modules/", + ], + }, + "license": "Apache-2.0", + "main": "lib/index.js", + "name": "ts-subproject", + "scripts": { + "build": "npx projen build", + "compile": "npx projen compile", + "default": "npx projen default", + "eslint": "npx projen eslint", + "package": "npx projen package", + "post-compile": "npx projen post-compile", + "post-upgrade": "npx projen post-upgrade", + "pre-compile": "npx projen pre-compile", + "test": "npx projen test", + "test:watch": "npx projen test:watch", + "upgrade": "npx projen upgrade", + "watch": "npx projen watch", + }, + "types": "lib/index.d.ts", + "version": "0.0.0", + }, + "packages/ts-subproject/project.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "name": "ts-subproject", + "root": "packages/ts-subproject", + "targets": { + "build": { + "executor": "nx:run-commands", + "options": { + "command": "bun x projen build", + "cwd": "packages/ts-subproject", + }, + }, + "compile": { + "executor": "nx:run-commands", + "options": { + "command": "bun x projen compile", + "cwd": "packages/ts-subproject", + }, + }, + "default": { + "executor": "nx:run-commands", + "options": { + "command": "bun x projen default", + "cwd": "packages/ts-subproject", + }, + }, + "eslint": { + "executor": "nx:run-commands", + "options": { + "command": "bun x projen eslint", + "cwd": "packages/ts-subproject", + }, + }, + "package": { + "executor": "nx:run-commands", + "options": { + "command": "bun x projen package", + "cwd": "packages/ts-subproject", + }, + }, + "post-compile": { + "executor": "nx:run-commands", + "options": { + "command": "bun x projen post-compile", + "cwd": "packages/ts-subproject", + }, + }, + "post-upgrade": { + "executor": "nx:run-commands", + "options": { + "command": "bun x projen post-upgrade", + "cwd": "packages/ts-subproject", + }, + }, + "pre-compile": { + "executor": "nx:run-commands", + "options": { + "command": "bun x projen pre-compile", + "cwd": "packages/ts-subproject", + }, + }, + "test": { + "executor": "nx:run-commands", + "options": { + "command": "bun x projen test", + "cwd": "packages/ts-subproject", + }, + }, + "test:watch": { + "executor": "nx:run-commands", + "options": { + "command": "bun x projen test:watch", + "cwd": "packages/ts-subproject", + }, + }, + "upgrade": { + "executor": "nx:run-commands", + "options": { + "command": "bun x projen upgrade", + "cwd": "packages/ts-subproject", + }, + }, + "watch": { + "executor": "nx:run-commands", + "options": { + "command": "bun x projen watch", + "cwd": "packages/ts-subproject", + }, + }, + }, + }, + "packages/ts-subproject/src/index.ts": "export class Hello { + public sayHello() { + return 'hello, world!'; + } +}", + "packages/ts-subproject/test/hello.test.ts": "import { Hello } from '../src'; + +test('hello', () => { + expect(new Hello().sayHello()).toBe('hello, world!'); +});", + "packages/ts-subproject/tsconfig.dev.json": { + "compilerOptions": { + "alwaysStrict": true, + "declaration": true, + "esModuleInterop": true, + "experimentalDecorators": true, + "inlineSourceMap": true, + "inlineSources": true, + "lib": [ + "es2019", + ], + "module": "CommonJS", + "noEmitOnError": false, + "noFallthroughCasesInSwitch": true, + "noImplicitAny": true, + "noImplicitReturns": true, + "noImplicitThis": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "resolveJsonModule": true, + "strict": true, + "strictNullChecks": true, + "strictPropertyInitialization": true, + "stripInternal": true, + "target": "ES2019", + }, + "exclude": [ + "node_modules", + ], + "include": [ + ".projenrc.js", + "src/**/*.ts", + "test/**/*.ts", + ], + }, + "packages/ts-subproject/tsconfig.json": { + "compilerOptions": { + "alwaysStrict": true, + "declaration": true, + "esModuleInterop": true, + "experimentalDecorators": true, + "inlineSourceMap": true, + "inlineSources": true, + "lib": [ + "es2019", + ], + "module": "CommonJS", + "noEmitOnError": false, + "noFallthroughCasesInSwitch": true, + "noImplicitAny": true, + "noImplicitReturns": true, + "noImplicitThis": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "outDir": "lib", + "resolveJsonModule": true, + "rootDir": "src", + "strict": true, + "strictNullChecks": true, + "strictPropertyInitialization": true, + "stripInternal": true, + "target": "ES2019", + }, + "exclude": [], + "include": [ + "src/**/*.ts", + ], + }, + "tsconfig.dev.json": { + "compilerOptions": { + "alwaysStrict": true, + "declaration": true, + "esModuleInterop": true, + "experimentalDecorators": true, + "inlineSourceMap": true, + "inlineSources": true, + "lib": [ + "es2019", + ], + "module": "CommonJS", + "noEmitOnError": false, + "noFallthroughCasesInSwitch": true, + "noImplicitAny": true, + "noImplicitReturns": true, + "noImplicitThis": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "resolveJsonModule": true, + "rootDir": ".", + "strict": true, + "strictNullChecks": true, + "strictPropertyInitialization": true, + "stripInternal": true, + "target": "ES2019", + }, + "exclude": [ + "node_modules", + ], + "include": [ + ".projenrc.js", + "src/**/*.ts", + "test/**/*.ts", + "**/*.ts", + ".projenrc.ts", + ".projenrc.ts", + "projenrc/**/*.ts", + ], + }, + "tsconfig.json": { + "compilerOptions": { + "alwaysStrict": true, + "declaration": true, + "esModuleInterop": true, + "experimentalDecorators": true, + "inlineSourceMap": true, + "inlineSources": true, + "lib": [ + "es2019", + ], + "module": "CommonJS", + "noEmitOnError": false, + "noFallthroughCasesInSwitch": true, + "noImplicitAny": true, + "noImplicitReturns": true, + "noImplicitThis": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "outDir": "lib", + "resolveJsonModule": true, + "rootDir": ".", + "strict": true, + "strictNullChecks": true, + "strictPropertyInitialization": true, + "stripInternal": true, + "target": "ES2019", + }, + "exclude": [], + "include": [ + "src/**/*.ts", + "**/*.ts", + ".projenrc.ts", + ], + }, +} +`; + +exports[`NX Monorepo Unit Tests Composite 1`] = ` +{ + ".eslintrc.json": { + "env": { + "jest": true, + "node": true, + }, + "extends": [ + "plugin:import/typescript", + "prettier", + "plugin:prettier/recommended", + ], + "ignorePatterns": [ + "packages/**/*.*", + "!.projenrc.ts", + "!projenrc/**/*.ts", + ], + "overrides": [ + { + "files": [ + ".projenrc.ts", + ], + "rules": { + "@typescript-eslint/no-require-imports": "off", + "import/no-extraneous-dependencies": "off", + }, + }, + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": 2018, + "project": "./tsconfig.dev.json", + "sourceType": "module", + }, + "plugins": [ + "@typescript-eslint", + "import", + "prettier", + ], + "root": true, + "rules": { + "@typescript-eslint/member-ordering": [ + "error", + { + "default": [ + "public-static-field", + "public-static-method", + "protected-static-field", + "protected-static-method", + "private-static-field", + "private-static-method", + "field", + "constructor", + "method", + ], + }, + ], + "@typescript-eslint/no-floating-promises": [ + "error", + ], + "@typescript-eslint/no-require-imports": [ + "error", + ], + "@typescript-eslint/no-shadow": [ + "error", + ], + "@typescript-eslint/return-await": [ + "error", + ], + "dot-notation": [ + "error", + ], + "import/no-extraneous-dependencies": [ + "error", + { + "devDependencies": [ + "**/test/**", + "**/build-tools/**", + ".projenrc.ts", + "projenrc/**/*.ts", + ], + "optionalDependencies": false, + "peerDependencies": true, + }, + ], + "import/no-unresolved": [ + "error", + ], + "import/order": [ + "warn", + { + "alphabetize": { + "caseInsensitive": true, + "order": "asc", + }, + "groups": [ + "builtin", + "external", + ], + }, + ], + "key-spacing": [ + "error", + ], + "no-bitwise": [ + "error", + ], + "no-duplicate-imports": [ + "error", + ], + "no-multiple-empty-lines": [ + "error", + ], + "no-return-await": [ + "off", + ], + "no-shadow": [ + "off", + ], + "no-trailing-spaces": [ + "error", + ], + "prettier/prettier": [ + "error", + ], + }, + "settings": { + "import/parsers": { + "@typescript-eslint/parser": [ + ".ts", + ".tsx", + ], + }, + "import/resolver": { + "node": {}, + "typescript": { + "alwaysTryTypes": true, + "project": "./tsconfig.dev.json", + }, + }, + }, + }, + ".gitattributes": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". + +*.snap linguist-generated +/.eslintrc.json linguist-generated +/.gitattributes linguist-generated +/.gitignore linguist-generated +/.npmignore linguist-generated +/.nxignore linguist-generated +/.prettierignore linguist-generated +/.prettierrc.json linguist-generated +/.projen/** linguist-generated +/.projen/deps.json linguist-generated +/.projen/files.json linguist-generated +/.projen/tasks.json linguist-generated +/.syncpackrc.json linguist-generated +/LICENSE linguist-generated +/nx.json linguist-generated +/package.json linguist-generated +/tsconfig.dev.json linguist-generated +/tsconfig.json linguist-generated +/yarn.lock linguist-generated", + ".gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". +!/.gitattributes +!/.projen/tasks.json +!/.projen/deps.json +!/.projen/files.json +!/package.json +!/LICENSE +!/.npmignore +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json +pids +*.pid +*.seed +*.pid.lock +lib-cov +coverage +*.lcov +.nyc_output +build/Release +node_modules/ +jspm_packages/ +*.tsbuildinfo +.eslintcache +*.tgz +.yarn-integrity +.cache +.tmp +!/.projenrc.js +!/.prettierignore +!/.prettierrc.json +!/test/ +!/tsconfig.json +!/tsconfig.dev.json +!/src/ +/lib +/dist/ +!/.eslintrc.json +.nx/cache +!/nx.json +!/.nxignore +!/.syncpackrc.json +", + ".npmignore": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". +/.projen/ +/test/ +/tsconfig.dev.json +/src/ +!/lib/ +!/lib/**/*.js +!/lib/**/*.d.ts +dist +/tsconfig.json +/.github/ +/.vscode/ +/.idea/ +/.projenrc.js +tsconfig.tsbuildinfo +/.eslintrc.json +", + ".nxignore": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". +.tmp +.env +.pytest_cache +", + ".prettierignore": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". +", + ".prettierrc.json": { + "overrides": [], + }, + ".projen/deps.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", + "dependencies": [ + { + "name": "@aws/pdk", + "type": "build", + "version": "^0", + }, + { + "name": "@types/node", + "type": "build", + "version": "^16", + }, + { + "name": "@typescript-eslint/eslint-plugin", + "type": "build", + "version": "^6", + }, + { + "name": "@typescript-eslint/parser", + "type": "build", + "version": "^6", + }, + { + "name": "constructs", + "type": "build", + "version": "^10.0.0", + }, + { + "name": "eslint-config-prettier", + "type": "build", + }, + { + "name": "eslint-import-resolver-node", + "type": "build", + }, + { + "name": "eslint-import-resolver-typescript", + "type": "build", + }, + { + "name": "eslint-plugin-import", + "type": "build", + }, + { + "name": "eslint-plugin-prettier", + "type": "build", + }, + { + "name": "eslint", + "type": "build", + "version": "^8", + }, + { + "name": "npm-check-updates", + "type": "build", + }, + { + "name": "nx", + "type": "build", + "version": "^16", + }, + { + "name": "prettier", + "type": "build", + }, + { + "name": "projen", + "type": "build", + }, + { + "name": "syncpack", + "type": "build", + }, + { + "name": "ts-node", + "type": "build", + }, + { + "name": "typescript", + "type": "build", + }, + { + "name": "@types/babel__traverse", + "type": "override", + "version": "7.18.2", + }, + { + "name": "@zkochan/js-yaml", + "type": "override", + "version": "npm:js-yaml@4.1.0", + }, + { + "name": "wrap-ansi", + "type": "override", + "version": "^7.0.0", + }, + { + "name": "nx", + "type": "peer", + "version": "^16", + }, + { + "name": "@aws-cdk/aws-cognito-identitypool-alpha", + "type": "runtime", + "version": "latest", + }, + { + "name": "aws-cdk-lib", + "type": "runtime", + }, + { + "name": "cdk-nag", + "type": "runtime", + }, + ], + }, + ".projen/files.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", + "files": [ + ".eslintrc.json", + ".gitattributes", + ".gitignore", + ".npmignore", + ".nxignore", + ".prettierignore", + ".prettierrc.json", + ".projen/deps.json", + ".projen/files.json", + ".projen/tasks.json", + ".syncpackrc.json", + "LICENSE", + "nx.json", + "tsconfig.dev.json", + "tsconfig.json", + ], + }, + ".projen/tasks.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", + "env": { + "PATH": "$(npx -c "node --print process.env.PATH")", + }, + "tasks": { + "build": { + "description": "Full release build for all affected projects", + "name": "build", + "steps": [ + { + "exec": "yarn nx run-many --target=build --output-style=stream --nx-bail", + "receiveArgs": true, + }, + ], + }, + "clobber": { + "condition": "git diff --exit-code > /dev/null", + "description": "hard resets to HEAD of origin and cleans the local repo", + "env": { + "BRANCH": "$(git branch --show-current)", + }, + "name": "clobber", + "steps": [ + { + "exec": "git checkout -b scratch", + "name": "save current HEAD in "scratch" branch", + }, + { + "exec": "git checkout $BRANCH", + }, + { + "exec": "git fetch origin", + "name": "fetch latest changes from origin", + }, + { + "exec": "git reset --hard origin/$BRANCH", + "name": "hard reset to origin commit", + }, + { + "exec": "git clean -fdx", + "name": "clean all untracked files", + }, + { + "say": "ready to rock! (unpushed commits are under the "scratch" branch)", + }, + ], + }, + "compile": { + "description": "Only compile for all affected projects", + "name": "compile", + "steps": [ + { + "exec": "yarn nx run-many --target=compile --output-style=stream --nx-bail", + "receiveArgs": true, + }, + ], + }, + "default": { + "description": "Synthesize project files", + "name": "default", + "steps": [ + { + "exec": "ts-node --project tsconfig.dev.json .projenrc.ts", + }, + ], + }, + "eject": { + "description": "Remove projen from the project", + "env": { + "PROJEN_EJECTING": "true", + }, + "name": "eject", + "steps": [ + { + "spawn": "default", + }, + ], + }, + "eslint": { + "description": "Runs eslint against the codebase for all affected projects", + "name": "eslint", + "steps": [ + { + "exec": "yarn nx run-many --target=eslint --output-style=stream --nx-bail", + "receiveArgs": true, + }, + ], + }, + "graph": { + "description": "Generate dependency graph for monorepo", + "name": "graph", + "steps": [ + { + "exec": "yarn nx graph", + "receiveArgs": true, + }, + ], + }, + "install": { + "description": "Install project dependencies and update lockfile (non-frozen)", + "name": "install", + "steps": [ + { + "exec": "yarn install --check-files", + }, + ], + }, + "install:ci": { + "description": "Install project dependencies using frozen lockfile", + "name": "install:ci", + "steps": [ + { + "exec": "yarn install --check-files --frozen-lockfile", + }, + ], + }, + "package": { + "description": "Creates the distribution package for all affected projects", + "name": "package", + "steps": [ + { + "exec": "yarn nx run-many --target=package --output-style=stream --nx-bail", + "receiveArgs": true, + }, + ], + }, + "post-compile": { + "description": "Runs after successful compilation for all affected projects", + "name": "post-compile", + "steps": [ + { + "exec": "yarn nx run-many --target=post-compile --output-style=stream --nx-bail", + "receiveArgs": true, + }, + ], + }, + "post-upgrade": { + "description": "Runs after upgrading dependencies", + "name": "post-upgrade", + }, + "postinstall": { + "name": "postinstall", + "steps": [ + { + "exec": "yarn nx run-many --target=install --output-style=stream --parallel=1 --nx-bail --projects=py-subproject", + }, + ], + }, + "pre-compile": { + "description": "Prepare the project for compilation for all affected projects", + "name": "pre-compile", + "steps": [ + { + "exec": "yarn nx run-many --target=pre-compile --output-style=stream --nx-bail", + "receiveArgs": true, + }, + ], + }, + "run-many": { + "description": "Run task against multiple workspace projects", + "name": "run-many", + "steps": [ + { + "exec": "yarn nx run-many", + "receiveArgs": true, + }, + ], + }, + "test": { + "description": "Run tests for all affected projects", + "name": "test", + "steps": [ + { + "exec": "yarn nx run-many --target=test --output-style=stream --nx-bail", + "receiveArgs": true, + }, + ], + }, + "upgrade": { + "description": "upgrade dependencies", + "env": { + "CI": "0", + }, + "name": "upgrade", + "steps": [ + { + "exec": "yarn upgrade npm-check-updates", + }, + { + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", + }, + { + "exec": "yarn install --check-files", + }, + { + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", + }, + { + "exec": "npx projen", + }, + { + "spawn": "post-upgrade", + }, + ], + }, + "upgrade-deps": { + "name": "upgrade-deps", + "steps": [ + { + "exec": "yarn npm-check-updates --deep --rejectVersion 0.0.0 -u --dep prod,dev,peer,optional,bundle --target=minor", + }, + { + "exec": "yarn syncpack fix-mismatches", + }, + { + "exec": "yarn install", + }, + { + "exec": "yarn projen", + }, + ], + }, + "watch": { + "description": "Watch & compile in the background for all affected projects", + "name": "watch", + "steps": [ + { + "exec": "yarn nx run-many --target=watch --output-style=stream --skip-nx-cache --nx-ignore-cycles --nx-bail", + "receiveArgs": true, + }, + ], + }, + }, + }, + ".syncpackrc.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", + "dependencyTypes": [], + "dev": true, + "filter": ".", + "indent": " ", + "overrides": true, + "peer": true, + "pnpmOverrides": true, + "prod": true, + "resolutions": true, + "semverGroups": [], + "semverRange": "", + "sortAz": [ + "contributors", + "dependencies", + "devDependencies", + "keywords", + "peerDependencies", + "resolutions", + "scripts", + ], + "sortFirst": [ + "name", + "description", + "version", + "author", + ], + "source": [], + "versionGroups": [], + "workspace": true, + }, + "LICENSE": " + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +", + "README.md": "# replace this", + "nx.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", + "affected": { + "defaultBase": "mainline", + }, + "extends": "nx/presets/npm.json", + "namedInputs": { + "default": [ + "{projectRoot}/**/*", + ], + }, + "npmScope": "monorepo", + "targetDefaults": { + "build": { + "dependsOn": [ + "^build", + ], + "inputs": [ + "default", + "^default", + ], + "outputs": [ + "{projectRoot}/dist", + "{projectRoot}/lib", + "{projectRoot}/build", + "{projectRoot}/coverage", + "{projectRoot}/test-reports", + "{projectRoot}/target", + "{projectRoot}/cdk.out", + "{projectRoot}/LICENSE_THIRD_PARTY", + "{projectRoot}/.jsii", + ], + }, + }, + "tasksRunnerOptions": { + "default": { + "options": { + "cacheableOperations": [ + "build", + "test", + ], + "useDaemonProcess": false, + }, + "runner": "nx/tasks-runners/default", + }, + }, + }, + "package.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", + "dependencies": { + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", + "aws-cdk-lib": "*", + "cdk-nag": "*", + }, + "devDependencies": { + "@aws/pdk": "^0", + "@types/node": "^16", + "@typescript-eslint/eslint-plugin": "^6", + "@typescript-eslint/parser": "^6", + "constructs": "^10.0.0", + "eslint": "^8", + "eslint-config-prettier": "*", + "eslint-import-resolver-node": "*", + "eslint-import-resolver-typescript": "*", + "eslint-plugin-import": "*", + "eslint-plugin-prettier": "*", + "npm-check-updates": "*", + "nx": "16.0.0", + "prettier": "*", + "projen": "*", + "syncpack": "*", + "ts-node": "*", + "typescript": "*", + }, + "engines": { + "node": ">=16", + "yarn": ">=1 <2", + }, + "license": "Apache-2.0", + "main": "lib/index.js", + "name": "Composite", + "peerDependencies": { + "nx": "^16", + }, + "private": true, + "resolutions": { + "@types/babel__traverse": "7.18.2", + "@zkochan/js-yaml": "npm:js-yaml@4.1.0", + "wrap-ansi": "^7.0.0", + }, + "scripts": { + "build": "npx projen build", + "clobber": "npx projen clobber", + "compile": "npx projen compile", + "default": "npx projen default", + "eject": "npx projen eject", + "eslint": "npx projen eslint", + "graph": "npx projen graph", + "install:ci": "yarn projen install:ci", + "package": "npx projen package", + "post-compile": "npx projen post-compile", + "post-upgrade": "npx projen post-upgrade", + "postinstall": "npx projen postinstall", + "pre-compile": "npx projen pre-compile", + "run-many": "npx projen run-many", + "synth-workspace": "yarn projen", + "test": "npx projen test", + "upgrade": "npx projen upgrade", + "upgrade-deps": "npx projen upgrade-deps", + "watch": "npx projen watch", + }, + "types": "lib/index.d.ts", + "version": "0.0.0", + "workspaces": { + "packages": [ + "packages/ts-subproject", + "packages/ts-subproject2", + ], + }, + }, + "packages/py-subproject/.gitattributes": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". + +/.gitattributes linguist-generated +/.gitignore linguist-generated +/.projen/** linguist-generated +/.projen/deps.json linguist-generated +/.projen/files.json linguist-generated +/.projen/tasks.json linguist-generated +/project.json linguist-generated +/requirements-dev.txt linguist-generated +/requirements.txt linguist-generated", + "packages/py-subproject/.gitignore": "# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". +node_modules/ +!/.gitattributes +!/.projen/tasks.json +!/.projen/deps.json +!/.projen/files.json +/.env +!/requirements.txt +!/requirements-dev.txt +__pycache__/ +*.py[cod] +*$py.class +*.so +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST +*.manifest +*.spec +pip-log.txt +pip-delete-this-directory.txt +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ +*.mo +*.pot +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal +instance/ +.webassets-cache +.scrapy +docs/_build/ +.pybuilder/ +target/ +.ipynb_checkpoints +profile_default/ +ipython_config.py +__pypackages__/ +celerybeat-schedule +celerybeat.pid +*.sage.py +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ +.spyderproject +.spyproject +.ropeproject +/site +.mypy_cache/ +.dmypy.json +dmypy.json +.pyre/ +.pytype/ +cython_debug/ +!/project.json +", + "packages/py-subproject/.projen/deps.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "dependencies": [ + { + "name": "pytest", + "type": "test", + "version": "6.2.1", + }, + ], + }, + "packages/py-subproject/.projen/files.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "files": [ + ".gitattributes", + ".gitignore", + ".projen/deps.json", + ".projen/files.json", + ".projen/tasks.json", + "project.json", + "requirements-dev.txt", + "requirements.txt", + ], + }, + "packages/py-subproject/.projen/tasks.json": { + "//": "~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".", + "env": { + "PATH": "$(echo $PWD/.env/bin:$PATH)", + "VIRTUAL_ENV": "$(echo $PWD/.env)", + }, + "tasks": { + "build": { + "description": "Full release build", + "name": "build", + "steps": [ + { + "spawn": "pre-compile", + }, + { + "spawn": "compile", + }, + { + "spawn": "post-compile", + }, + { + "spawn": "test", }, { "spawn": "package", @@ -14441,6 +16430,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -14450,10 +16440,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -14659,13 +16645,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -14990,10 +16976,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -15476,6 +17461,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -15485,10 +17471,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -15693,13 +17675,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -16024,10 +18006,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -16513,6 +18494,7 @@ pattern1.txt { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -16522,10 +18504,6 @@ pattern1.txt "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -16730,13 +18708,13 @@ pattern1.txt "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -17061,10 +19039,9 @@ pattern1.txt "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -17556,6 +19533,7 @@ resolution-mode=highest { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -17565,10 +19543,6 @@ resolution-mode=highest "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -17775,13 +19749,13 @@ resolution-mode=highest "exec": "pnpm update npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "pnpm i --no-frozen-lockfile", }, { - "exec": "pnpm update @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "pnpm update @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "pnpm exec projen", @@ -18106,10 +20080,9 @@ resolution-mode=highest "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "pnpm exec projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -19595,6 +21568,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -19604,10 +21578,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -19812,13 +21782,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -20156,10 +22126,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -20643,6 +22612,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -20652,10 +22622,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -20860,13 +22826,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -21191,10 +23157,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", diff --git a/packages/monorepo/test/monorepo.test.ts b/packages/monorepo/test/monorepo.test.ts index 0bc49917a..473054877 100644 --- a/packages/monorepo/test/monorepo.test.ts +++ b/packages/monorepo/test/monorepo.test.ts @@ -182,6 +182,23 @@ describe("NX Monorepo Unit Tests", () => { expect(synthSnapshot(project)).toMatchSnapshot(); }); + it("BUN", () => { + const project = new MonorepoTsProject({ + defaultReleaseBranch: "mainline", + name: "BUN", + packageManager: NodePackageManager.BUN, + }); + new TypeScriptProject({ + name: "ts-subproject", + outdir: "packages/ts-subproject", + parent: project, + packageManager: NodePackageManager.BUN, + defaultReleaseBranch: "mainline", + }); + + expect(synthSnapshot(project)).toMatchSnapshot(); + }); + it("Validate consistent Package Managers", () => { const project = new MonorepoTsProject({ defaultReleaseBranch: "mainline", diff --git a/packages/pdk/_scripts/exec-command.js b/packages/pdk/_scripts/exec-command.js index 13c20d768..62634b0f0 100755 --- a/packages/pdk/_scripts/exec-command.js +++ b/packages/pdk/_scripts/exec-command.js @@ -27,7 +27,8 @@ const engines = JSON.parse( ).engines; if (engines) { - let pkgMgrCmd = engines.pnpm ? "pnpm" : engines.yarn ? "yarn" : "npm run"; + let pkgMgrCmd = engines.pnpm ? "pnpm" : engines.yarn ? "yarn" : engines.bun ? "bun" : "npm run"; + // Deploy is a pnpm command, but it's more likely users want to run the deploy task if (engines.pnpm && process.argv[0] === "deploy") { pkgMgrCmd += " run"; diff --git a/packages/type-safe-api/src/project/codegen/handlers/generated-typescript-handlers-project.ts b/packages/type-safe-api/src/project/codegen/handlers/generated-typescript-handlers-project.ts index 3a9279070..4d9280195 100644 --- a/packages/type-safe-api/src/project/codegen/handlers/generated-typescript-handlers-project.ts +++ b/packages/type-safe-api/src/project/codegen/handlers/generated-typescript-handlers-project.ts @@ -142,17 +142,6 @@ export class GeneratedTypescriptHandlersProject extends TypeScriptProject { // If we're not in a monorepo, we need to link the generated types such that the local dependency can be resolved if (!options.isWithinMonorepo) { switch (this.package.packageManager) { - case NodePackageManager.NPM: - case NodePackageManager.YARN: - case NodePackageManager.YARN2: - case NodePackageManager.YARN_CLASSIC: - case NodePackageManager.YARN_BERRY: - this.tasks - .tryFind("install") - ?.prependExec( - `${this.package.packageManager} link ${this.options.generatedTypescriptTypes.package.packageName}` - ); - break; case NodePackageManager.PNPM: this.tasks .tryFind("install") @@ -164,9 +153,12 @@ export class GeneratedTypescriptHandlersProject extends TypeScriptProject { ); break; default: - console.warn( - `Unknown package manager ${this.package.packageManager}. Cannot link generated typescript client.` - ); + this.tasks + .tryFind("install") + ?.prependExec( + `${this.package.packageManager} link ${this.options.generatedTypescriptTypes.package.packageName}` + ); + break; } } } diff --git a/packages/type-safe-api/src/project/codegen/infrastructure/cdk/generated-typescript-cdk-infrastructure-project.ts b/packages/type-safe-api/src/project/codegen/infrastructure/cdk/generated-typescript-cdk-infrastructure-project.ts index b11bb831f..76e149232 100644 --- a/packages/type-safe-api/src/project/codegen/infrastructure/cdk/generated-typescript-cdk-infrastructure-project.ts +++ b/packages/type-safe-api/src/project/codegen/infrastructure/cdk/generated-typescript-cdk-infrastructure-project.ts @@ -156,17 +156,6 @@ export class GeneratedTypescriptCdkInfrastructureProject extends TypeScriptProje // If we're not in a monorepo, we need to link the generated types such that the local dependency can be resolved if (!options.isWithinMonorepo) { switch (this.package.packageManager) { - case NodePackageManager.NPM: - case NodePackageManager.YARN: - case NodePackageManager.YARN2: - case NodePackageManager.YARN_CLASSIC: - case NodePackageManager.YARN_BERRY: - this.tasks - .tryFind("install") - ?.prependExec( - `${this.package.packageManager} link ${this.options.generatedTypescriptTypes.package.packageName}` - ); - break; case NodePackageManager.PNPM: this.tasks .tryFind("install") @@ -178,9 +167,12 @@ export class GeneratedTypescriptCdkInfrastructureProject extends TypeScriptProje ); break; default: - console.warn( - `Unknown package manager ${this.package.packageManager}. Cannot link generated typescript client.` - ); + this.tasks + .tryFind("install") + ?.prependExec( + `${this.package.packageManager} link ${this.options.generatedTypescriptTypes.package.packageName}` + ); + break; } } } diff --git a/packages/type-safe-api/src/project/codegen/library/typescript-react-query-hooks-library.ts b/packages/type-safe-api/src/project/codegen/library/typescript-react-query-hooks-library.ts index 1bffe88f5..bbec8ac22 100644 --- a/packages/type-safe-api/src/project/codegen/library/typescript-react-query-hooks-library.ts +++ b/packages/type-safe-api/src/project/codegen/library/typescript-react-query-hooks-library.ts @@ -135,24 +135,16 @@ export class TypescriptReactQueryHooksLibrary extends TypeScriptProject { // resolved if (!options.isWithinMonorepo) { switch (this.package.packageManager) { - case NodePackageManager.NPM: - case NodePackageManager.YARN: - case NodePackageManager.YARN2: - case NodePackageManager.YARN_CLASSIC: - case NodePackageManager.YARN_BERRY: + case NodePackageManager.PNPM: + // Nothing to do for pnpm, since the pnpm link command handles both the dependant and dependee + break; + default: this.tasks .tryFind("install") ?.exec( NodePackageUtils.command.cmd(this.package.packageManager, "link") ); break; - case NodePackageManager.PNPM: - // Nothing to do for pnpm, since the pnpm link command handles both the dependant and dependee - break; - default: - console.warn( - `Unknown package manager ${this.package.packageManager}. Cannot link generated typescript runtime project.` - ); } } } diff --git a/packages/type-safe-api/src/project/codegen/runtime/generated-typescript-runtime-project.ts b/packages/type-safe-api/src/project/codegen/runtime/generated-typescript-runtime-project.ts index d61d62d09..e16e474ba 100644 --- a/packages/type-safe-api/src/project/codegen/runtime/generated-typescript-runtime-project.ts +++ b/packages/type-safe-api/src/project/codegen/runtime/generated-typescript-runtime-project.ts @@ -133,24 +133,16 @@ export class GeneratedTypescriptRuntimeProject extends TypeScriptProject { // resolved if (!options.isWithinMonorepo) { switch (this.package.packageManager) { - case NodePackageManager.NPM: - case NodePackageManager.YARN: - case NodePackageManager.YARN2: - case NodePackageManager.YARN_CLASSIC: - case NodePackageManager.YARN_BERRY: + case NodePackageManager.PNPM: + // Nothing to do for pnpm, since the pnpm link command handles both the dependant and dependee + break; + default: this.tasks .tryFind("install") ?.exec( NodePackageUtils.command.cmd(this.package.packageManager, "link") ); break; - case NodePackageManager.PNPM: - // Nothing to do for pnpm, since the pnpm link command handles both the dependant and dependee - break; - default: - console.warn( - `Unknown package manager ${this.package.packageManager}. Cannot link generated typescript runtime project.` - ); } } } diff --git a/packages/type-safe-api/test/project/__snapshots__/type-safe-api-project.test.ts.snap b/packages/type-safe-api/test/project/__snapshots__/type-safe-api-project.test.ts.snap index 3df77dc70..b0a6e00b2 100644 --- a/packages/type-safe-api/test/project/__snapshots__/type-safe-api-project.test.ts.snap +++ b/packages/type-safe-api/test/project/__snapshots__/type-safe-api-project.test.ts.snap @@ -3281,6 +3281,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -3290,10 +3291,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -3509,13 +3506,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -3840,10 +3837,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -3906,16 +3902,7 @@ tsconfig.tsbuildinfo "version": "0.0.0", "workspaces": { "packages": [ - "packages/api", - "packages/api/generated/documentation/html_redoc", - "packages/api/generated/documentation/html2", - "packages/api/generated/documentation/markdown", - "packages/api/generated/documentation/plantuml", - "packages/api/model", - "packages/api/generated/runtime/python", "packages/api/generated/runtime/typescript", - "packages/api/generated/infrastructure/java", - "packages/api/generated/runtime/java", ], }, }, @@ -10505,6 +10492,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -10514,10 +10502,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -10733,13 +10717,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -11064,10 +11048,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -11130,16 +11113,7 @@ tsconfig.tsbuildinfo "version": "0.0.0", "workspaces": { "packages": [ - "packages/api", - "packages/api/generated/documentation/html_redoc", - "packages/api/generated/documentation/html2", - "packages/api/generated/documentation/markdown", - "packages/api/generated/documentation/plantuml", - "packages/api/model", - "packages/api/generated/infrastructure/python", - "packages/api/generated/runtime/python", "packages/api/generated/runtime/typescript", - "packages/api/generated/runtime/java", ], }, }, @@ -17933,6 +17907,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -17942,10 +17917,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -18161,13 +18132,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -18492,10 +18463,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -18558,16 +18528,8 @@ tsconfig.tsbuildinfo "version": "0.0.0", "workspaces": { "packages": [ - "packages/api", - "packages/api/generated/documentation/html_redoc", - "packages/api/generated/documentation/html2", - "packages/api/generated/documentation/markdown", - "packages/api/generated/documentation/plantuml", - "packages/api/model", - "packages/api/generated/runtime/python", "packages/api/generated/infrastructure/typescript", "packages/api/generated/runtime/typescript", - "packages/api/generated/runtime/java", ], }, }, @@ -32745,6 +32707,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -32754,10 +32717,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -32973,13 +32932,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -33304,10 +33263,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -33370,16 +33328,7 @@ tsconfig.tsbuildinfo "version": "0.0.0", "workspaces": { "packages": [ - "packages/api", - "packages/api/generated/documentation/html_redoc", - "packages/api/generated/documentation/html2", - "packages/api/generated/documentation/markdown", - "packages/api/generated/documentation/plantuml", - "packages/api/model", - "packages/api/generated/runtime/python", "packages/api/generated/runtime/typescript", - "packages/api/generated/infrastructure/java", - "packages/api/generated/runtime/java", ], }, }, @@ -39575,6 +39524,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -39584,10 +39534,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -39795,13 +39741,13 @@ tsconfig.tsbuildinfo "exec": "npm update npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "npm install", }, { - "exec": "npm update @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "npm update @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -40126,10 +40072,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -40190,12 +40135,6 @@ tsconfig.tsbuildinfo "version": "0.0.0", "workspaces": { "packages": [ - "packages/api", - "packages/api/generated/documentation/html_redoc", - "packages/api/generated/documentation/html2", - "packages/api/generated/documentation/markdown", - "packages/api/generated/documentation/plantuml", - "packages/api/model", "packages/api/generated/infrastructure/typescript", "packages/api/generated/runtime/typescript", ], @@ -45578,6 +45517,7 @@ resolution-mode=highest { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -45587,10 +45527,6 @@ resolution-mode=highest "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -45800,13 +45736,13 @@ resolution-mode=highest "exec": "pnpm update npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "pnpm i --no-frozen-lockfile", }, { - "exec": "pnpm update @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "pnpm update @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "pnpm exec projen", @@ -46131,10 +46067,9 @@ resolution-mode=highest "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "pnpm exec projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -46198,12 +46133,6 @@ resolution-mode=highest "version": "0.0.0", "workspaces": { "packages": [ - "packages/api", - "packages/api/generated/documentation/html_redoc", - "packages/api/generated/documentation/html2", - "packages/api/generated/documentation/markdown", - "packages/api/generated/documentation/plantuml", - "packages/api/model", "packages/api/generated/infrastructure/typescript", "packages/api/generated/runtime/typescript", ], @@ -48875,12 +48804,6 @@ structure NotAuthorizedError { "pnpm-workspace.yaml": "# ~~ Generated by projen. To modify, edit .projenrc.ts and run "pnpm exec projen". packages: - - packages/api - - packages/api/generated/documentation/html_redoc - - packages/api/generated/documentation/html2 - - packages/api/generated/documentation/markdown - - packages/api/generated/documentation/plantuml - - packages/api/model - packages/api/generated/infrastructure/typescript - packages/api/generated/runtime/typescript ", @@ -52168,6 +52091,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -52177,10 +52101,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -52396,13 +52316,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -52727,10 +52647,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -52793,16 +52712,7 @@ tsconfig.tsbuildinfo "version": "0.0.0", "workspaces": { "packages": [ - "packages/api", - "packages/api/generated/documentation/html_redoc", - "packages/api/generated/documentation/html2", - "packages/api/generated/documentation/markdown", - "packages/api/generated/documentation/plantuml", - "packages/api/model", - "packages/api/generated/infrastructure/python", - "packages/api/generated/runtime/python", "packages/api/generated/runtime/typescript", - "packages/api/generated/runtime/java", ], }, }, @@ -59782,6 +59692,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -59791,10 +59702,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -60010,13 +59917,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "npx projen", @@ -60341,10 +60248,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -60407,16 +60313,8 @@ tsconfig.tsbuildinfo "version": "0.0.0", "workspaces": { "packages": [ - "packages/api", - "packages/api/generated/documentation/html_redoc", - "packages/api/generated/documentation/html2", - "packages/api/generated/documentation/markdown", - "packages/api/generated/documentation/plantuml", - "packages/api/model", - "packages/api/generated/runtime/python", "packages/api/generated/infrastructure/typescript", "packages/api/generated/runtime/typescript", - "packages/api/generated/runtime/java", ], }, }, @@ -66812,6 +66710,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -66821,10 +66720,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -67032,13 +66927,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "yarn exec projen", @@ -67363,10 +67258,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "yarn exec projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -67428,12 +67322,6 @@ tsconfig.tsbuildinfo "version": "0.0.0", "workspaces": { "packages": [ - "packages/api", - "packages/api/generated/documentation/html_redoc", - "packages/api/generated/documentation/html2", - "packages/api/generated/documentation/markdown", - "packages/api/generated/documentation/plantuml", - "packages/api/model", "packages/api/generated/infrastructure/typescript", "packages/api/generated/runtime/typescript", ], @@ -72800,6 +72688,7 @@ tsconfig.tsbuildinfo { "name": "@aws-cdk/aws-cognito-identitypool-alpha", "type": "runtime", + "version": "latest", }, { "name": "aws-cdk-lib", @@ -72809,10 +72698,6 @@ tsconfig.tsbuildinfo "name": "cdk-nag", "type": "runtime", }, - { - "name": "constructs", - "type": "runtime", - }, ], }, ".projen/files.json": { @@ -73020,13 +72905,13 @@ tsconfig.tsbuildinfo "exec": "yarn upgrade npm-check-updates", }, { - "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,@aws-cdk/aws-cognito-identitypool-alpha,aws-cdk-lib,cdk-nag", + "exec": "npm-check-updates --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@aws/pdk,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,constructs,eslint-config-prettier,eslint-import-resolver-node,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-prettier,eslint,npm-check-updates,nx,prettier,projen,syncpack,ts-node,typescript,aws-cdk-lib,cdk-nag", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript @aws-cdk/aws-cognito-identitypool-alpha aws-cdk-lib cdk-nag", + "exec": "yarn upgrade @aws/pdk @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser constructs eslint-config-prettier eslint-import-resolver-node eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-prettier eslint npm-check-updates nx prettier projen syncpack ts-node typescript aws-cdk-lib cdk-nag", }, { "exec": "yarn projen", @@ -73351,10 +73236,9 @@ tsconfig.tsbuildinfo "package.json": { "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run "yarn projen".", "dependencies": { - "@aws-cdk/aws-cognito-identitypool-alpha": "*", + "@aws-cdk/aws-cognito-identitypool-alpha": "latest", "aws-cdk-lib": "*", "cdk-nag": "*", - "constructs": "*", }, "devDependencies": { "@aws/pdk": "^0", @@ -73416,12 +73300,6 @@ tsconfig.tsbuildinfo "version": "0.0.0", "workspaces": { "packages": [ - "packages/api", - "packages/api/generated/documentation/html_redoc", - "packages/api/generated/documentation/html2", - "packages/api/generated/documentation/markdown", - "packages/api/generated/documentation/plantuml", - "packages/api/model", "packages/api/generated/infrastructure/typescript", "packages/api/generated/runtime/typescript", ], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 042d2bc4f..39e01802c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,7 +27,7 @@ importers: .: dependencies: '@aws-cdk/aws-cognito-identitypool-alpha': - specifier: ^2.103.1-alpha.0 + specifier: latest version: 2.103.1-alpha.0(aws-cdk-lib@2.93.0)(constructs@10.2.70) '@mrgrain/jsii-struct-builder': specifier: ^0.5.7 @@ -41,9 +41,6 @@ importers: cdk-nag: specifier: ^2.27.115 version: 2.27.117(aws-cdk-lib@2.93.0)(constructs@10.2.70) - constructs: - specifier: ^10.2.70 - version: 10.2.70 fast-xml-parser: specifier: ^4.2.7 version: 4.2.7 @@ -84,6 +81,9 @@ importers: commitizen: specifier: ^4.3.0 version: 4.3.0 + constructs: + specifier: ^10.0.0 + version: 10.2.70 cz-conventional-changelog: specifier: ^3.3.0 version: 3.3.0 @@ -6863,7 +6863,7 @@ packages: dependencies: semver: 7.5.4 shelljs: 0.8.5 - typescript: 5.3.0-dev.20231031 + typescript: 5.3.0-dev.20231101 dev: true /duplexer2@0.0.2: @@ -13605,8 +13605,8 @@ packages: engines: {node: '>=14.17'} hasBin: true - /typescript@5.3.0-dev.20231031: - resolution: {integrity: sha512-+w6szmOFr7GSWj/eNFgHdYqubMux9B5ao5LFoGdn712gbDYMpLwqLNkPLpJHD9chl/2wc/W96iSfALkZs7sVXQ==} + /typescript@5.3.0-dev.20231101: + resolution: {integrity: sha512-yt5zz7L+TBfzeJhMA/tAEO1YU8J2DWsFN3LbeMslNPXL3S0lR3yvePdl6fXCk7QFjnfaRtXH0noNdWg2imHWXg==} engines: {node: '>=14.17'} hasBin: true dev: true