Unless I'm missing something, the packages/core/ package has some dependencies that should be devDependencies. Notably:
{
  "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