aws / aws/aws-xray-sdk-node

aws-xray-sdk-core devDependencies in dependencies

Open
#716 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
280
Forks
157
PR merge metrics
No merged PRs in 30d

Description

Unless I'm missing something, the `packages/core/` package has some `dependencies` that should be `devDependencies`. Notably:

```json
{
"name": "aws-xray-sdk-core",
...
"dependencies": {
"@aws-sdk/types": "^3.4.1",
"@types/cls-hooked": "^4.3.3",
},
```

Right now, installing the aws-xray-sdk-core significantly increases the package size due to these dev dependencies and the dependencies they rely on being built into my final package

Contributor guide

Open the contributing guide

Research direction

Inspect the dependency declarations for the packages/core/ package, starting with the package metadata shown in the issue. Identify entries that are only needed during development, move the appropriate ones out of runtime dependencies, and verify that installing aws-xray-sdk-core no longer includes unnecessary packages in the final installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript, node.js
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.