From 969ebd092a2cc4ea643a8300be1b1f0da8dd4d08 Mon Sep 17 00:00:00 2001 From: Ronald Arias Date: Wed, 7 Aug 2024 16:13:20 -0500 Subject: [PATCH] fix files for upgrade --- .gitignore | 2 ++ .node-version | 1 + .prettierignore | 3 +++ jest.config.js | 5 +---- tsconfig.dist.json | 7 +++++-- 5 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 .node-version diff --git a/.gitignore b/.gitignore index 2517627..8b6da53 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ node_modules/ dist/ .j1-integration/ +.j1-integration-cache/ .env .eslintcache tsconfig.tsbuildinfo +.npmrc diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..3c03207 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +18 diff --git a/.prettierignore b/.prettierignore index 5d77b76..7ba169e 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,6 @@ dist coverage/ .j1-integration +.j1-integration-cache +.gitleaks.yml +CHANGELOG.md diff --git a/jest.config.js b/jest.config.js index 2c2a475..8d6796b 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,4 +1 @@ -module.exports = { - ...require('@jupiterone/integration-sdk-dev-tools/config/jest'), - setupFiles: ['dotenv/config'], -}; +module.exports = require('@jupiterone/integration-sdk-dev-tools/config/jest'); diff --git a/tsconfig.dist.json b/tsconfig.dist.json index 61bcf3f..a9d858c 100644 --- a/tsconfig.dist.json +++ b/tsconfig.dist.json @@ -1,10 +1,13 @@ { "extends": "./tsconfig.json", - "include": ["src"], + "include": ["src", "package.json"], "exclude": [ "dist", "**/*.test.ts", + "**/*.test.js", "**/*/__tests__/**/*.ts", - "**/*/__mocks__/**/*.ts" + "**/*/__tests__/**/*.js", + "**/*/__mocks__/**/*.ts", + "**/*/__mocks__/**/*.js" ] }