From 93f395caa7672fb8a3c384299723d722a570b4fc Mon Sep 17 00:00:00 2001 From: github-actions Date: Sat, 14 Dec 2024 00:33:30 +0000 Subject: [PATCH] chore: self mutation Signed-off-by: github-actions --- API.md | 26 +++---- test/__snapshots__/cdk.test.ts.snap | 112 ++++++++++------------------ 2 files changed, 53 insertions(+), 85 deletions(-) diff --git a/API.md b/API.md index a41c273..4ff1619 100644 --- a/API.md +++ b/API.md @@ -15906,7 +15906,7 @@ public readonly jsiiVersion: string; ``` - *Type:* string -- *Default:* "1.x" +- *Default:* "~5.6.0" Version of the jsii compiler to use. @@ -16422,7 +16422,7 @@ public readonly pnpmVersion: string; ``` - *Type:* string -- *Default:* "7" +- *Default:* "9" The version of PNPM to use if using PNPM as a package manager. @@ -18545,7 +18545,7 @@ public readonly jsiiVersion: string; ``` - *Type:* string -- *Default:* "1.x" +- *Default:* "~5.6.0" Version of the jsii compiler to use. @@ -19030,7 +19030,7 @@ public readonly pnpmVersion: string; ``` - *Type:* string -- *Default:* "7" +- *Default:* "9" The version of PNPM to use if using PNPM as a package manager. @@ -21344,7 +21344,7 @@ public readonly jsiiVersion: string; ``` - *Type:* string -- *Default:* "1.x" +- *Default:* "~5.6.0" Version of the jsii compiler to use. @@ -21860,7 +21860,7 @@ public readonly pnpmVersion: string; ``` - *Type:* string -- *Default:* "7" +- *Default:* "9" The version of PNPM to use if using PNPM as a package manager. @@ -24022,7 +24022,7 @@ public readonly jsiiVersion: string; ``` - *Type:* string -- *Default:* "1.x" +- *Default:* "~5.6.0" Version of the jsii compiler to use. @@ -24507,7 +24507,7 @@ public readonly pnpmVersion: string; ``` - *Type:* string -- *Default:* "7" +- *Default:* "9" The version of PNPM to use if using PNPM as a package manager. @@ -26913,7 +26913,7 @@ public readonly pnpmVersion: string; ``` - *Type:* string -- *Default:* "7" +- *Default:* "9" The version of PNPM to use if using PNPM as a package manager. @@ -28906,7 +28906,7 @@ public readonly pnpmVersion: string; ``` - *Type:* string -- *Default:* "7" +- *Default:* "9" The version of PNPM to use if using PNPM as a package manager. @@ -31295,7 +31295,7 @@ public readonly pnpmVersion: string; ``` - *Type:* string -- *Default:* "7" +- *Default:* "9" The version of PNPM to use if using PNPM as a package manager. @@ -33974,7 +33974,7 @@ public readonly pnpmVersion: string; ``` - *Type:* string -- *Default:* "7" +- *Default:* "9" The version of PNPM to use if using PNPM as a package manager. @@ -36553,7 +36553,7 @@ public readonly pnpmVersion: string; ``` - *Type:* string -- *Default:* "7" +- *Default:* "9" The version of PNPM to use if using PNPM as a package manager. diff --git a/test/__snapshots__/cdk.test.ts.snap b/test/__snapshots__/cdk.test.ts.snap index 1750910..9fbd40d 100644 --- a/test/__snapshots__/cdk.test.ts.snap +++ b/test/__snapshots__/cdk.test.ts.snap @@ -935,12 +935,10 @@ tsconfig.json { "name": "@types/jest", "type": "build", - "version": "^27", }, { "name": "@types/node", "type": "build", - "version": "^16 <= 16.18.78", }, { "name": "@typescript-eslint/eslint-plugin", @@ -975,14 +973,13 @@ tsconfig.json "version": "^9", }, { - "name": "jest-junit", + "name": "jest", "type": "build", - "version": "^15", }, { - "name": "jest", + "name": "jest-junit", "type": "build", - "version": "^27", + "version": "^15", }, { "name": "jsii-diff", @@ -1004,7 +1001,7 @@ tsconfig.json { "name": "jsii", "type": "build", - "version": "1.x", + "version": "~5.6.0", }, { "name": "projen", @@ -1013,7 +1010,6 @@ tsconfig.json { "name": "ts-jest", "type": "build", - "version": "^27", }, { "name": "typescript", @@ -1029,16 +1025,6 @@ tsconfig.json "type": "devenv", "version": "latest", }, - { - "name": "@types/babel__traverse", - "type": "override", - "version": "7.18.2", - }, - { - "name": "@types/prettier", - "type": "override", - "version": "2.6.0", - }, { "name": "aws-cdk-lib", "type": "peer", @@ -1425,13 +1411,13 @@ UNEXPECTED BREAKING CHANGES: add keys such as 'removed:constructs.Node.of' to .c "name": "upgrade-dev-deps", "steps": [ { - "exec": "npx npm-check-updates@16 --upgrade --target=minor --peer --no-deprecated --dep=dev --filter=eslint-import-resolver-typescript,eslint-plugin-import,jsii-diff,jsii-pacmak,jsii-rosetta,typescript", + "exec": "npx npm-check-updates@16 --upgrade --target=minor --peer --no-deprecated --dep=dev --filter=@types/jest,@types/node,eslint-import-resolver-typescript,eslint-plugin-import,jest,jsii-diff,jsii-pacmak,jsii-rosetta,ts-jest,typescript", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @stylistic/eslint-plugin @types/jest @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser commit-and-tag-version eslint-import-resolver-typescript eslint-plugin-import eslint jest-junit jest jsii-diff jsii-docgen jsii-pacmak jsii-rosetta jsii ts-jest typescript @aws-cdk/integ-runner @aws-cdk/integ-tests-alpha", + "exec": "yarn upgrade @stylistic/eslint-plugin @types/jest @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser commit-and-tag-version eslint-import-resolver-typescript eslint-plugin-import eslint jest jest-junit jsii-diff jsii-docgen jsii-pacmak jsii-rosetta jsii ts-jest typescript @aws-cdk/integ-runner @aws-cdk/integ-tests-alpha", }, { "exec": "npx projen", @@ -1667,8 +1653,8 @@ UNEXPECTED BREAKING CHANGES: add keys such as 'removed:constructs.Node.of' to .c "@aws-cdk/integ-runner": "latest", "@aws-cdk/integ-tests-alpha": "latest", "@stylistic/eslint-plugin": "^2", - "@types/jest": "^27", - "@types/node": "^16 <= 16.18.78", + "@types/jest": "*", + "@types/node": "*", "@typescript-eslint/eslint-plugin": "^8", "@typescript-eslint/parser": "^8", "aws-cdk-lib": "2.1.0", @@ -1678,15 +1664,15 @@ UNEXPECTED BREAKING CHANGES: add keys such as 'removed:constructs.Node.of' to .c "eslint": "^9", "eslint-import-resolver-typescript": "*", "eslint-plugin-import": "*", - "jest": "^27", + "jest": "*", "jest-junit": "^15", - "jsii": "1.x", + "jsii": "~5.6.0", "jsii-diff": "*", "jsii-docgen": "^10.5.0", "jsii-pacmak": "*", "jsii-rosetta": "*", "projen": "*", - "ts-jest": "^27", + "ts-jest": "*", "typescript": "*", }, "jest": { @@ -1704,12 +1690,6 @@ UNEXPECTED BREAKING CHANGES: add keys such as 'removed:constructs.Node.of' to .c "cobertura", "text", ], - "globals": { - "ts-jest": { - "tsconfig": "tsconfig.dev.json", - }, - }, - "preset": "ts-jest", "reporters": [ "default", [ @@ -1726,6 +1706,14 @@ UNEXPECTED BREAKING CHANGES: add keys such as 'removed:constructs.Node.of' to .c "testPathIgnorePatterns": [ "/node_modules/", ], + "transform": { + "^.+\\.[t]sx?$": [ + "ts-jest", + { + "tsconfig": "tsconfig.dev.json", + }, + ], + }, "watchPathIgnorePatterns": [ "/node_modules/", ], @@ -1753,10 +1741,6 @@ UNEXPECTED BREAKING CHANGES: add keys such as 'removed:constructs.Node.of' to .c "type": "git", "url": "https://github.com/cdklabs/test-construct-library.git", }, - "resolutions": { - "@types/babel__traverse": "7.18.2", - "@types/prettier": "2.6.0", - }, "scripts": { "build": "npx projen build", "bump": "npx projen bump", @@ -2784,12 +2768,10 @@ tsconfig.json { "name": "@types/jest", "type": "build", - "version": "^27", }, { "name": "@types/node", "type": "build", - "version": "^16 <= 16.18.78", }, { "name": "@typescript-eslint/eslint-plugin", @@ -2829,14 +2811,13 @@ tsconfig.json "version": "^9", }, { - "name": "jest-junit", + "name": "jest", "type": "build", - "version": "^15", }, { - "name": "jest", + "name": "jest-junit", "type": "build", - "version": "^27", + "version": "^15", }, { "name": "jsii-diff", @@ -2854,12 +2835,12 @@ tsconfig.json { "name": "jsii-rosetta", "type": "build", - "version": "1.x", + "version": "~5.6.0", }, { "name": "jsii", "type": "build", - "version": "1.x", + "version": "~5.6.0", }, { "name": "projen", @@ -2868,22 +2849,11 @@ tsconfig.json { "name": "ts-jest", "type": "build", - "version": "^27", }, { "name": "typescript", "type": "build", }, - { - "name": "@types/babel__traverse", - "type": "override", - "version": "7.18.2", - }, - { - "name": "@types/prettier", - "type": "override", - "version": "2.6.0", - }, ], }, ".projen/files.json": { @@ -3225,13 +3195,13 @@ UNEXPECTED BREAKING CHANGES: add keys such as 'removed:constructs.Node.of' to .c "name": "upgrade-dev-deps", "steps": [ { - "exec": "npx npm-check-updates@16 --upgrade --target=minor --peer --no-deprecated --dep=dev --filter=eslint-import-resolver-typescript,eslint-plugin-import,jsii-diff,jsii-pacmak,typescript", + "exec": "npx npm-check-updates@16 --upgrade --target=minor --peer --no-deprecated --dep=dev --filter=@types/jest,@types/node,eslint-import-resolver-typescript,eslint-plugin-import,jest,jsii-diff,jsii-pacmak,ts-jest,typescript", }, { "exec": "yarn install --check-files", }, { - "exec": "yarn upgrade @stylistic/eslint-plugin @types/jest @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser commit-and-tag-version constructs eslint-import-resolver-typescript eslint-plugin-import eslint jest-junit jest jsii-diff jsii-docgen jsii-pacmak jsii-rosetta jsii ts-jest typescript", + "exec": "yarn upgrade @stylistic/eslint-plugin @types/jest @types/node @typescript-eslint/eslint-plugin @typescript-eslint/parser commit-and-tag-version constructs eslint-import-resolver-typescript eslint-plugin-import eslint jest jest-junit jsii-diff jsii-docgen jsii-pacmak jsii-rosetta jsii ts-jest typescript", }, { "exec": "npx projen", @@ -3465,8 +3435,8 @@ UNEXPECTED BREAKING CHANGES: add keys such as 'removed:constructs.Node.of' to .c }, "devDependencies": { "@stylistic/eslint-plugin": "^2", - "@types/jest": "^27", - "@types/node": "^16 <= 16.18.78", + "@types/jest": "*", + "@types/node": "*", "@typescript-eslint/eslint-plugin": "^8", "@typescript-eslint/parser": "^8", "cdklabs-projen-project-types": "*", @@ -3475,15 +3445,15 @@ UNEXPECTED BREAKING CHANGES: add keys such as 'removed:constructs.Node.of' to .c "eslint": "^9", "eslint-import-resolver-typescript": "*", "eslint-plugin-import": "*", - "jest": "^27", + "jest": "*", "jest-junit": "^15", - "jsii": "1.x", + "jsii": "~5.6.0", "jsii-diff": "*", "jsii-docgen": "^10.5.0", "jsii-pacmak": "*", - "jsii-rosetta": "1.x", + "jsii-rosetta": "~5.6.0", "projen": "*", - "ts-jest": "^27", + "ts-jest": "*", "typescript": "*", }, "jest": { @@ -3501,12 +3471,6 @@ UNEXPECTED BREAKING CHANGES: add keys such as 'removed:constructs.Node.of' to .c "cobertura", "text", ], - "globals": { - "ts-jest": { - "tsconfig": "tsconfig.dev.json", - }, - }, - "preset": "ts-jest", "reporters": [ "default", [ @@ -3523,6 +3487,14 @@ UNEXPECTED BREAKING CHANGES: add keys such as 'removed:constructs.Node.of' to .c "testPathIgnorePatterns": [ "/node_modules/", ], + "transform": { + "^.+\\.[t]sx?$": [ + "ts-jest", + { + "tsconfig": "tsconfig.dev.json", + }, + ], + }, "watchPathIgnorePatterns": [ "/node_modules/", ], @@ -3543,10 +3515,6 @@ UNEXPECTED BREAKING CHANGES: add keys such as 'removed:constructs.Node.of' to .c "type": "git", "url": "https://github.com/cdklabs/test-jsii-library.git", }, - "resolutions": { - "@types/babel__traverse": "7.18.2", - "@types/prettier": "2.6.0", - }, "scripts": { "build": "npx projen build", "bump": "npx projen bump",