-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOP-4830: Smartling can ingest search manifests from Netlify (#7)
* DOP-5018 add logic for deleting stale properties, documents * DOP-5018 tests for deleteStale WIP * DOP-5018 improvements made while writing tests * DOP-5018 more mock data, finished tests * DOP-5018 add last test * DOP-5018 cleaning up * DOP-4830 initial logic for uploading manifests to s3 * DOP-4830 try pushing up without credentials * DOP-4830 add credentials * DOP-4830 add region * DOP-4830 add try catch to connection * DOP-4830 put credentials in consts * DOP-4830 fix typo * DOP-4830 change comment * DOP-4830 refactor and add s3 upload test * DOP-4830 cleaning * DOP-4830 cleaning * DOP-4830 cleaning * DOP-4830 cleaning tests * DOP-4830 addressing comments * DOP-5023 addressing nits
- Loading branch information
1 parent
a962c38
commit d2bb40b
Showing
17 changed files
with
3,777 additions
and
1,884 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,35 @@ | ||
{ | ||
"name": "netlify-search-integration", | ||
"version": "0.0.1", | ||
"main": "src/index.ts", | ||
"type": "module", | ||
"scripts": { | ||
"build": "netlify-integration build -a", | ||
"dev": "netlify-integration dev -a", | ||
"preview": "netlify-integration preview", | ||
"test": "vitest" | ||
}, | ||
"dependencies": { | ||
"@netlify/sdk": "^1.60.2-pr-1468.3", | ||
"bson": "^6.8.0", | ||
"crypto": "^1.0.1", | ||
"deps": "^1.0.0", | ||
"fs": "^0.0.1-security", | ||
"jsonpath-plus": "^9.0.0", | ||
"legacy": "^0.0.3", | ||
"lts": "^1.2.0", | ||
"mongodb": "^6.8.0", | ||
"mongodb-memory-server": "^10.0.0", | ||
"node": "^20.5.0", | ||
"path": "^0.12.7", | ||
"peer": "^1.0.2", | ||
"typescript": "^5.5.2" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.14.9", | ||
"vitest": "^2.0.5" | ||
} | ||
"name": "netlify-search-integration", | ||
"version": "0.0.1", | ||
"main": "src/index.ts", | ||
"type": "module", | ||
"scripts": { | ||
"build": "netlify-integration build -a", | ||
"dev": "netlify-integration dev -a", | ||
"preview": "netlify-integration preview", | ||
"test": "vitest" | ||
}, | ||
"dependencies": { | ||
"@aws-sdk/client-s3": "^3.654.0", | ||
"@aws-sdk/lib-storage": "^3.657.0", | ||
"@netlify/sdk": "^1.60.2-pr-1468.3", | ||
"bson": "^6.8.0", | ||
"crypto": "^1.0.1", | ||
"deps": "^1.0.0", | ||
"fs": "^0.0.1-security", | ||
"jsonpath-plus": "^9.0.0", | ||
"legacy": "^0.0.3", | ||
"lts": "^1.2.0", | ||
"mongodb": "^6.8.0", | ||
"mongodb-memory-server": "^10.0.0", | ||
"node": "^20.5.0", | ||
"path": "^0.12.7", | ||
"peer": "^1.0.2", | ||
"typescript": "^5.5.2" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.14.9", | ||
"aws-sdk-client-mock": "^4.0.2", | ||
"vitest": "^2.0.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 18 additions & 11 deletions
29
search-manifest/src/uploadToAtlas/types.ts → search-manifest/src/types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.