Skip to content

Commit

Permalink
Convert to aws sdk v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Xander Dumaine committed May 14, 2024
1 parent 06d9f7e commit a8248a4
Show file tree
Hide file tree
Showing 23 changed files with 3,898 additions and 3,631 deletions.
14 changes: 11 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,19 @@
"coverage/",
"bak/",
"index.js",
"tools/"
"tools/",
],
"parserOptions": {
"es6": true,
"project": "./tsconfig.json",
"tsconfigRootDir": "."
}
"tsconfigRootDir": ".",
},
"overrides": [
{
"files": ["**/*.spec.js", "**/*.spec.jsx"],
"env": {
"jest": true,
},
},
],
}
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const {
} = require('@jupiterone/typescript-tools/config/jest-util');
module.exports = {
...buildJestConfig({ packageDir: __dirname }),
preset: 'ts-jest',
// The below is necessary due to differences between how p-map is packaged and our
// generic J1 babel and TS configs
transformIgnorePatterns: ['../../node_modules/(?!${p-map})'],
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,24 @@
"autobuild": "yarn build && (cd ./dist && yarn install --production && (yarn unlink || true) && yarn link) && yarn nodemon --exec 'yarn compile' --watch src -e ts --delay 3"
},
"dependencies": {
"@aws-sdk/client-dynamodb": "^3.576.0",
"@aws-sdk/lib-dynamodb": "^3.576.0",
"@lifeomic/attempt": "^3.0.0",
"lodash.chunk": "^4.2.0",
"p-map": "4.0.0"
},
"peerDependencies": {
"aws-sdk": "^2"
},
"devDependencies": {
"@jupiterone/eslint-config": "^1.0.2",
"@jupiterone/typescript-tools": "^13.2.2",
"@jupiterone/typescript-tools": "^19.2.0",
"@types/jest": "^29.5.12",
"@types/lodash.chunk": "^4.2.6",
"@types/lodash.partition": "^4.6.6",
"@types/node": "^13.11.1",
"@types/uuid": "^8.0.0",
"aws-sdk": "^2.419.0",
"jest": "^29.7.0",
"lodash.partition": "^4.6.0",
"nodemon": "^2.0.7",
"ts-jest": "^29.1.2",
"uuid": "^8.1.0"
}
}
Loading

0 comments on commit a8248a4

Please sign in to comment.