From 4e485c19ba41aa51545c2045701a21df40143402 Mon Sep 17 00:00:00 2001 From: Addie Rudy Date: Wed, 30 Oct 2024 10:50:59 -0400 Subject: [PATCH] fix: added missing eslint plugin --- .projen/deps.json | 4 ++++ .projen/tasks.json | 4 ++-- .projenrc.ts | 1 + package-lock.json | 34 ++++++++++++++++++++++++++++++++++ package.json | 1 + 5 files changed, 42 insertions(+), 2 deletions(-) diff --git a/.projen/deps.json b/.projen/deps.json index 5aa8ed4..f6b976f 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -1,5 +1,9 @@ { "dependencies": [ + { + "name": "@microsoft/eslint-formatter-sarif", + "type": "build" + }, { "name": "@types/ansi-escape-sequences", "type": "build" diff --git a/.projen/tasks.json b/.projen/tasks.json index ddbdb3a..f8c57a9 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -326,13 +326,13 @@ }, "steps": [ { - "exec": "npx npm-check-updates@16 --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@types/ansi-escape-sequences,@types/cheerio,@types/figlet,@types/jest,@types/node,@types/prompt-sync,@types/uuid,aws-lambda,cz-conventional-changelog,esbuild,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-react,eslint-plugin-react-refresh,figlet,git-cz,jest,prettier,projen,ts-jest,ts-node,typescript,vitepress,@aws-amplify/cli,@aws-appsync/utils,@aws-cdk/aws-cognito-identitypool-alpha,@aws-lambda-powertools/logger,@aws-lambda-powertools/metrics,@aws-lambda-powertools/tracer,@aws-sdk/client-bedrock-runtime,@aws-sdk/client-cognito-identity-provider,@aws-sdk/client-dynamodb,@aws-sdk/client-lambda,@aws-sdk/client-pinpoint,@aws-sdk/client-s3,@aws-sdk/client-scheduler,@aws-sdk/client-sfn,@aws-sdk/client-verifiedpermissions,@aws-sdk/lib-storage,@aws-sdk/util-dynamodb,@graphql-codegen/cli,@graphql-codegen/plugin-helpers,@middy/core,@react-email/components,@react-email/render,ansi-escape-sequences,aws-jwt-verify,axios,cdk-nag,cheerio,commander,graphql,mui-color-input,prompt-sync,react,react-email,source-map-support,tsx,uuid" + "exec": "npx npm-check-updates@16 --upgrade --target=minor --peer --dep=dev,peer,prod,optional --filter=@microsoft/eslint-formatter-sarif,@types/ansi-escape-sequences,@types/cheerio,@types/figlet,@types/jest,@types/node,@types/prompt-sync,@types/uuid,aws-lambda,cz-conventional-changelog,esbuild,eslint-import-resolver-typescript,eslint-plugin-import,eslint-plugin-react,eslint-plugin-react-refresh,figlet,git-cz,jest,prettier,projen,ts-jest,ts-node,typescript,vitepress,@aws-amplify/cli,@aws-appsync/utils,@aws-cdk/aws-cognito-identitypool-alpha,@aws-lambda-powertools/logger,@aws-lambda-powertools/metrics,@aws-lambda-powertools/tracer,@aws-sdk/client-bedrock-runtime,@aws-sdk/client-cognito-identity-provider,@aws-sdk/client-dynamodb,@aws-sdk/client-lambda,@aws-sdk/client-pinpoint,@aws-sdk/client-s3,@aws-sdk/client-scheduler,@aws-sdk/client-sfn,@aws-sdk/client-verifiedpermissions,@aws-sdk/lib-storage,@aws-sdk/util-dynamodb,@graphql-codegen/cli,@graphql-codegen/plugin-helpers,@middy/core,@react-email/components,@react-email/render,ansi-escape-sequences,aws-jwt-verify,axios,cdk-nag,cheerio,commander,graphql,mui-color-input,prompt-sync,react,react-email,source-map-support,tsx,uuid" }, { "exec": "npm install" }, { - "exec": "npm update @types/ansi-escape-sequences @types/cheerio @types/figlet @types/jest @types/node @types/prompt-sync @types/uuid @typescript-eslint/eslint-plugin @typescript-eslint/parser aws-cdk aws-lambda cz-conventional-changelog esbuild eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-refresh eslint figlet git-cz jest jest-junit prettier projen ts-jest ts-node typescript vitepress @aws-amplify/cli @aws-appsync/utils @aws-cdk/aws-cognito-identitypool-alpha @aws-lambda-powertools/logger @aws-lambda-powertools/metrics @aws-lambda-powertools/tracer @aws-sdk/client-bedrock-runtime @aws-sdk/client-cognito-identity-provider @aws-sdk/client-dynamodb @aws-sdk/client-lambda @aws-sdk/client-pinpoint @aws-sdk/client-s3 @aws-sdk/client-scheduler @aws-sdk/client-sfn @aws-sdk/client-verifiedpermissions @aws-sdk/lib-storage @aws-sdk/util-dynamodb @graphql-codegen/cli @graphql-codegen/plugin-helpers @middy/core @react-email/components @react-email/render ansi-escape-sequences aws-cdk-lib aws-jwt-verify axios cdk-nag cheerio commander constructs graphql mui-color-input prompt-sync react react-email source-map-support tsx uuid" + "exec": "npm update @microsoft/eslint-formatter-sarif @types/ansi-escape-sequences @types/cheerio @types/figlet @types/jest @types/node @types/prompt-sync @types/uuid @typescript-eslint/eslint-plugin @typescript-eslint/parser aws-cdk aws-lambda cz-conventional-changelog esbuild eslint-import-resolver-typescript eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-refresh eslint figlet git-cz jest jest-junit prettier projen ts-jest ts-node typescript vitepress @aws-amplify/cli @aws-appsync/utils @aws-cdk/aws-cognito-identitypool-alpha @aws-lambda-powertools/logger @aws-lambda-powertools/metrics @aws-lambda-powertools/tracer @aws-sdk/client-bedrock-runtime @aws-sdk/client-cognito-identity-provider @aws-sdk/client-dynamodb @aws-sdk/client-lambda @aws-sdk/client-pinpoint @aws-sdk/client-s3 @aws-sdk/client-scheduler @aws-sdk/client-sfn @aws-sdk/client-verifiedpermissions @aws-sdk/lib-storage @aws-sdk/util-dynamodb @graphql-codegen/cli @graphql-codegen/plugin-helpers @middy/core @react-email/components @react-email/render ansi-escape-sequences aws-cdk-lib aws-jwt-verify axios cdk-nag cheerio commander constructs graphql mui-color-input prompt-sync react react-email source-map-support tsx uuid" }, { "exec": "npx projen" diff --git a/.projenrc.ts b/.projenrc.ts index e06aff4..bf27509 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -81,6 +81,7 @@ const project = new awscdk.AwsCdkTypeScriptApp({ 'cz-conventional-changelog', 'figlet', 'prettier', + '@microsoft/eslint-formatter-sarif', '@types/cheerio', 'eslint-plugin-react-hooks@latest', 'eslint-plugin-react', diff --git a/package-lock.json b/package-lock.json index 6288abc..763d9fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -56,6 +56,7 @@ "genai-newsletter-app": "bin/genai-newsletter-app.ts" }, "devDependencies": { + "@microsoft/eslint-formatter-sarif": "^3.1.0", "@types/ansi-escape-sequences": "^4.0.4", "@types/cheerio": "^0.22.35", "@types/figlet": "^1.7.0", @@ -5710,6 +5711,22 @@ "node": ">=14.18.0" } }, + "node_modules/@microsoft/eslint-formatter-sarif": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@microsoft/eslint-formatter-sarif/-/eslint-formatter-sarif-3.1.0.tgz", + "integrity": "sha512-/mn4UXziHzGXnKCg+r8HGgPy+w4RzpgdoqFuqaKOqUVBT5x2CygGefIrO4SusaY7t0C4gyIWMNu6YQT6Jw64Cw==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint": "^8.9.0", + "jschardet": "latest", + "lodash": "^4.17.14", + "utf8": "^3.0.0" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/@middy/core": { "version": "5.5.1", "resolved": "https://registry.npmjs.org/@middy/core/-/core-5.5.1.tgz", @@ -15523,6 +15540,16 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/jschardet": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/jschardet/-/jschardet-3.1.4.tgz", + "integrity": "sha512-/kmVISmrwVwtyYU40iQUOp3SUPk2dhNCMsZBQX0R1/jZ8maaXJ/oZIzUOiyOqcgtLnETFKYChbJ5iDC/eWmFHg==", + "dev": true, + "license": "LGPL-2.1+", + "engines": { + "node": ">=0.1.90" + } + }, "node_modules/jsesc": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", @@ -21214,6 +21241,13 @@ "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==", "license": "MIT" }, + "node_modules/utf8": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz", + "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ==", + "dev": true, + "license": "MIT" + }, "node_modules/util": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", diff --git a/package.json b/package.json index ba18c70..818d097 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "projen": "npx projen" }, "devDependencies": { + "@microsoft/eslint-formatter-sarif": "^3.1.0", "@types/ansi-escape-sequences": "^4.0.4", "@types/cheerio": "^0.22.35", "@types/figlet": "^1.7.0",