Skip to content

Commit f1ae799

Browse files
package.json: add cloud SDKs as devDependencies so build/tests work locally
These packages are also declared as optional peerDependencies (the fork's slim-install pattern). Listing them in devDependencies as well means: - Local dev / CI: `npm install` pulls them in, so TypeScript compilation resolves their types and tests that exercise S3/Azure/GCP code paths can run. - Consumers installing @naturalcycles/snowflake-sdk: they remain optional peers — npm does not install them unless the consumer opts in. Also pin agent-base ^7.1.0 as a direct dependency to override the older 6.x copy that axios's transitive https-proxy-agent@5 hoists to the top level, which broke `lib/agent/https_proxy_agent.ts` (needs the v7 API).
1 parent a57cc68 commit f1ae799

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
},
88
"dependencies": {
99
"@techteamer/ocsp": "1.0.1",
10+
"agent-base": "^7.1.0",
1011
"asn1.js-rfc2560": "^5.0.0",
1112
"asn1.js-rfc5280": "^3.0.0",
1213
"axios": "^1.15.1",
@@ -28,12 +29,23 @@
2829
"winston": "^3.1.0"
2930
},
3031
"devDependencies": {
32+
"@aws-crypto/sha256-js": "^5.2.0",
33+
"@aws-sdk/client-s3": "~3.1045.0",
34+
"@aws-sdk/client-sts": "~3.1045.0",
35+
"@aws-sdk/credential-provider-node": "~3.972.37",
36+
"@aws-sdk/ec2-metadata-service": "~3.1045.0",
3137
"@aws-sdk/types": "~3.973.8",
38+
"@azure/identity": "^4.10.1",
39+
"@azure/storage-blob": "12.26.x",
3240
"@napi-rs/cli": "^3.2.0",
41+
"@smithy/node-http-handler": "^4.4.9",
42+
"@smithy/protocol-http": "^5.3.8",
43+
"@smithy/signature-v4": "^5.3.8",
3344
"@types/mocha": "^10.0.10",
3445
"@types/node": "^22.15.18",
3546
"@types/sinon": "^17.0.4",
3647
"async": "^3.2.3",
48+
"google-auth-library": "^10.1.0",
3749
"husky": "^9.1.7",
3850
"oxlint": "^1.43.0",
3951
"lint-staged": "^16.0.0",

0 commit comments

Comments
 (0)