Skip to content

Commit

Permalink
fix(cs): adding in commonjs support
Browse files Browse the repository at this point in the history
  • Loading branch information
bassrock committed Jan 3, 2025
1 parent b8931e8 commit 73b17f6
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 142 deletions.
2 changes: 1 addition & 1 deletion lambdas/user-list-search-corpus-indexing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"test-integrations": "jest \"\\.integration\\.ts\" --runInBand"
},
"dependencies": {
"@opensearch-project/opensearch": "^2.10.0",
"@opensearch-project/opensearch": "2.10.0",
"@pocket-tools/event-bridge": "workspace:*",
"@pocket-tools/ts-logger": "workspace:*",
"@sentry/aws-serverless": "8.47.0",
Expand Down
10 changes: 10 additions & 0 deletions packages/apollo-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@
"license": "Apache-2.0",
"author": "",
"type": "module",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs"
}
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
Expand Down
10 changes: 10 additions & 0 deletions packages/terraform-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@
},
"license": "MPL-2.0",
"type": "module",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs"
}
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
Expand Down
Loading

0 comments on commit 73b17f6

Please sign in to comment.