-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(clients): extend from root TSConfig #2864
Conversation
The CI fails on running jest: $ jest --coverage --passWithNoTests && lerna run test --scope '@aws-sdk/{fetch-http-handler,hash-blob-browser}'
--
890 | FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
891 | 1: 0x8fb090 node::Abort() [/usr/local/bin/node]
892 | 2: 0x8fb0dc [/usr/local/bin/node]
893 | 3: 0xb0336e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
894 | 4: 0xb035a4 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
895 | 5: 0xef7602 [/usr/local/bin/node]
896 | 6: 0xef7708 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/usr/local/bin/node]
897 | 7: 0xf037e2 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
898 | 8: 0xf04114 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
899 | 9: 0xf06d81 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
900 | 10: 0xed69cb v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/usr/local/bin/node]
901 | 11: 0x11c5401 v8::internal::Runtime_StringBuilderConcat(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
902 | 12: 0x2d4d6225bf1d
|
This issue seems to be happening in Jest: jestjs/jest#9980 |
The issue is probably related to sourceMap generation. We'll re-attempt after removing sourcemaps in root TSConfig. |
d6d8e1e
to
430c94b
Compare
An attempt was made to remove sourceMap files in to check if it fixes Jest out of memory error #2867 Script used for testing npm pack sizesconst { readdirSync, readFileSync, statSync } = require("fs");
const { join } = require("path");
const { spawnSync } = require("child_process");
const { packages } = JSON.parse(readFileSync(join(process.cwd(), "package.json"))).workspaces;
const getAllFiles = (dirPath, arrayOfFiles) => {
files = readdirSync(dirPath);
arrayOfFiles = arrayOfFiles || [];
files.forEach((file) => {
if (statSync(dirPath + "/" + file).isDirectory()) {
arrayOfFiles = getAllFiles(dirPath + "/" + file, arrayOfFiles);
} else {
arrayOfFiles.push(join(dirPath, "/", file));
}
});
return arrayOfFiles;
};
let totalSizeInMB = 0;
spawnSync("git", ["clean", "-dfx"]);
spawnSync("yarn");
spawnSync("yarn", ["build:all"]);
spawnSync("./node_modules/.bin/lerna", ["run", "downlevel-dts"]);
const packageNameColLength = 50;
const sizeColLength = 15;
const packageSizeList = [];
packages
.map((dir) => dir.replace("/*", ""))
.forEach((workspacesDir) => {
// Process each workspace in workspace directory
readdirSync(join(process.cwd(), workspacesDir), { withFileTypes: true })
.filter((dirent) => dirent.isDirectory())
.map((dirent) => dirent.name)
.forEach((workspaceDir) => {
if (!workspaceDir.startsWith("client-")) {
return;
}
try {
// npm pack posts debug messages to stderr
// Refs: https://github.com/npm/npm/issues/118#issuecomment-325440
const { stderr } = spawnSync("npm", ["pack", "--dry-run"], {
cwd: join(process.cwd(), workspacesDir, workspaceDir),
});
const packageName = `@aws-sdk/${workspaceDir}`;
const unpackedSize = stderr
.toString()
.match(/unpacked size: ([^\n]*)/)[1]
.trim();
packageSizeList.push({ packageName, unpackedSize });
const [size, unit] = unpackedSize.split(" ");
totalSizeInMB += size / (unit === "kB" ? 1024 : 1);
} catch (error) {
console.log(`${workspaceDir}: ${error}`);
}
});
});
console.log(`Total size: ${totalSizeInMB.toFixed(2)} MB\n`);
console.log(`| ${"Package name".padEnd(packageNameColLength)} | ${"Unpacked size".padEnd(sizeColLength)} |`);
console.log(`|-${"-".padEnd(packageNameColLength, "-")}-|-${"-".padEnd(sizeColLength, "-")}-|`);
packageSizeList.forEach(({ packageName, unpackedSize }) =>
console.log(`| ${packageName.padEnd(packageNameColLength)} | ${unpackedSize.padEnd(sizeColLength)} |`)
); BeforeTotal size: 786.14 MB
| Package name | Unpacked size |
| ----------------------------------------------- | ------------- |
| @aws-sdk/client-accessanalyzer | 2.3 MB |
| @aws-sdk/client-account | 322.1 kB |
| @aws-sdk/client-acm | 1.3 MB |
| @aws-sdk/client-acm-pca | 2.1 MB |
| @aws-sdk/client-alexa-for-business | 5.1 MB |
| @aws-sdk/client-amp | 1.2 MB |
| @aws-sdk/client-amplify | 2.4 MB |
| @aws-sdk/client-amplifybackend | 1.8 MB |
| @aws-sdk/client-api-gateway | 7.6 MB |
| @aws-sdk/client-apigatewaymanagementapi | 349.8 kB |
| @aws-sdk/client-apigatewayv2 | 4.7 MB |
| @aws-sdk/client-app-mesh | 3.8 MB |
| @aws-sdk/client-appconfig | 2.2 MB |
| @aws-sdk/client-appflow | 2.1 MB |
| @aws-sdk/client-appintegrations | 1.0 MB |
| @aws-sdk/client-application-auto-scaling | 1.5 MB |
| @aws-sdk/client-application-discovery-service | 1.9 MB |
| @aws-sdk/client-application-insights | 1.7 MB |
| @aws-sdk/client-applicationcostprofiler | 508.4 kB |
| @aws-sdk/client-apprunner | 1.6 MB |
| @aws-sdk/client-appstream | 3.1 MB |
| @aws-sdk/client-appsync | 2.7 MB |
| @aws-sdk/client-athena | 2.2 MB |
| @aws-sdk/client-auditmanager | 3.3 MB |
| @aws-sdk/client-auto-scaling | 4.6 MB |
| @aws-sdk/client-auto-scaling-plans | 805.3 kB |
| @aws-sdk/client-backup | 4.4 MB |
| @aws-sdk/client-batch | 2.0 MB |
| @aws-sdk/client-braket | 703.4 kB |
| @aws-sdk/client-budgets | 1.7 MB |
| @aws-sdk/client-chime | 12.1 MB |
| @aws-sdk/client-chime-sdk-identity | 1.2 MB |
| @aws-sdk/client-chime-sdk-messaging | 2.2 MB |
| @aws-sdk/client-cloud9 | 1.0 MB |
| @aws-sdk/client-cloudcontrol | 901.2 kB |
| @aws-sdk/client-clouddirectory | 5.2 MB |
| @aws-sdk/client-cloudformation | 5.5 MB |
| @aws-sdk/client-cloudfront | 7.5 MB |
| @aws-sdk/client-cloudhsm | 1.3 MB |
| @aws-sdk/client-cloudhsm-v2 | 1.1 MB |
| @aws-sdk/client-cloudsearch | 2.0 MB |
| @aws-sdk/client-cloudsearch-domain | 517.4 kB |
| @aws-sdk/client-cloudtrail | 1.9 MB |
| @aws-sdk/client-cloudwatch | 2.8 MB |
| @aws-sdk/client-cloudwatch-events | 3.4 MB |
| @aws-sdk/client-cloudwatch-logs | 2.6 MB |
| @aws-sdk/client-codeartifact | 2.6 MB |
| @aws-sdk/client-codebuild | 3.4 MB |
| @aws-sdk/client-codecommit | 7.4 MB |
| @aws-sdk/client-codedeploy | 4.2 MB |
| @aws-sdk/client-codeguru-reviewer | 1.4 MB |
| @aws-sdk/client-codeguruprofiler | 1.8 MB |
| @aws-sdk/client-codepipeline | 3.1 MB |
| @aws-sdk/client-codestar | 1.2 MB |
| @aws-sdk/client-codestar-connections | 817.1 kB |
| @aws-sdk/client-codestar-notifications | 988.6 kB |
| @aws-sdk/client-cognito-identity | 1.7 MB |
| @aws-sdk/client-cognito-identity-provider | 7.7 MB |
| @aws-sdk/client-cognito-sync | 1.4 MB |
| @aws-sdk/client-comprehend | 4.5 MB |
| @aws-sdk/client-comprehendmedical | 1.5 MB |
| @aws-sdk/client-compute-optimizer | 1.8 MB |
| @aws-sdk/client-config-service | 6.5 MB |
| @aws-sdk/client-connect | 7.0 MB |
| @aws-sdk/client-connect-contact-lens | 281.4 kB |
| @aws-sdk/client-connectparticipant | 725.1 kB |
| @aws-sdk/client-cost-and-usage-report-service | 466.0 kB |
| @aws-sdk/client-cost-explorer | 2.9 MB |
| @aws-sdk/client-customer-profiles | 2.2 MB |
| @aws-sdk/client-data-pipeline | 1.5 MB |
| @aws-sdk/client-database-migration-service | 4.9 MB |
| @aws-sdk/client-databrew | 2.6 MB |
| @aws-sdk/client-dataexchange | 2.0 MB |
| @aws-sdk/client-datasync | 2.2 MB |
| @aws-sdk/client-dax | 1.6 MB |
| @aws-sdk/client-detective | 1.0 MB |
| @aws-sdk/client-device-farm | 4.9 MB |
| @aws-sdk/client-devops-guru | 1.8 MB |
| @aws-sdk/client-direct-connect | 3.5 MB |
| @aws-sdk/client-directory-service | 4.0 MB |
| @aws-sdk/client-dlm | 843.2 kB |
| @aws-sdk/client-docdb | 4.2 MB |
| @aws-sdk/client-dynamodb | 5.0 MB |
| @aws-sdk/client-dynamodb-streams | 577.0 kB |
| @aws-sdk/client-ebs | 692.4 kB |
| @aws-sdk/client-ec2 | 33.3 MB |
| @aws-sdk/client-ec2-instance-connect | 361.2 kB |
| @aws-sdk/client-ecr | 2.5 MB |
| @aws-sdk/client-ecr-public | 1.6 MB |
| @aws-sdk/client-ecs | 5.1 MB |
| @aws-sdk/client-efs | 2.1 MB |
| @aws-sdk/client-eks | 2.8 MB |
| @aws-sdk/client-elastic-beanstalk | 3.4 MB |
| @aws-sdk/client-elastic-inference | 561.3 kB |
| @aws-sdk/client-elastic-load-balancing | 2.2 MB |
| @aws-sdk/client-elastic-load-balancing-v2 | 3.0 MB |
| @aws-sdk/client-elastic-transcoder | 2.1 MB |
| @aws-sdk/client-elasticache | 6.0 MB |
| @aws-sdk/client-elasticsearch-service | 3.2 MB |
| @aws-sdk/client-emr | 3.8 MB |
| @aws-sdk/client-emr-containers | 1.1 MB |
| @aws-sdk/client-eventbridge | 3.4 MB |
| @aws-sdk/client-finspace | 584.5 kB |
| @aws-sdk/client-finspace-data | 349.8 kB |
| @aws-sdk/client-firehose | 1.8 MB |
| @aws-sdk/client-fis | 1.0 MB |
| @aws-sdk/client-fms | 2.1 MB |
| @aws-sdk/client-forecast | 2.7 MB |
| @aws-sdk/client-forecastquery | 298.0 kB |
| @aws-sdk/client-frauddetector | 3.5 MB |
| @aws-sdk/client-fsx | 2.9 MB |
| @aws-sdk/client-gamelift | 7.8 MB |
| @aws-sdk/client-glacier | 2.7 MB |
| @aws-sdk/client-global-accelerator | 3.2 MB |
| @aws-sdk/client-glue | 10.6 MB |
| @aws-sdk/client-greengrass | 5.0 MB |
| @aws-sdk/client-greengrassv2 | 2.0 MB |
| @aws-sdk/client-groundstation | 1.8 MB |
| @aws-sdk/client-guardduty | 3.6 MB |
| @aws-sdk/client-health | 1.3 MB |
| @aws-sdk/client-healthlake | 948.8 kB |
| @aws-sdk/client-honeycode | 1.2 MB |
| @aws-sdk/client-iam | 10.2 MB |
| @aws-sdk/client-identitystore | 430.2 kB |
| @aws-sdk/client-imagebuilder | 3.8 MB |
| @aws-sdk/client-inspector | 2.6 MB |
| @aws-sdk/client-iot | 15.5 MB |
| @aws-sdk/client-iot-1click-devices-service | 870.3 kB |
| @aws-sdk/client-iot-1click-projects | 1.1 MB |
| @aws-sdk/client-iot-data-plane | 654.1 kB |
| @aws-sdk/client-iot-events | 2.2 MB |
| @aws-sdk/client-iot-events-data | 993.5 kB |
| @aws-sdk/client-iot-jobs-data-plane | 510.2 kB |
| @aws-sdk/client-iot-wireless | 3.5 MB |
| @aws-sdk/client-iotanalytics | 2.6 MB |
| @aws-sdk/client-iotdeviceadvisor | 892.9 kB |
| @aws-sdk/client-iotfleethub | 590.1 kB |
| @aws-sdk/client-iotsecuretunneling | 568.6 kB |
| @aws-sdk/client-iotsitewise | 4.4 MB |
| @aws-sdk/client-iotthingsgraph | 2.2 MB |
| @aws-sdk/client-ivs | 1.7 MB |
| @aws-sdk/client-kafka | 2.2 MB |
| @aws-sdk/client-kafkaconnect | 1.1 MB |
| @aws-sdk/client-kendra | 3.8 MB |
| @aws-sdk/client-kinesis | 2.2 MB |
| @aws-sdk/client-kinesis-analytics | 1.8 MB |
| @aws-sdk/client-kinesis-analytics-v2 | 2.9 MB |
| @aws-sdk/client-kinesis-video | 1.4 MB |
| @aws-sdk/client-kinesis-video-archived-media | 916.0 kB |
| @aws-sdk/client-kinesis-video-media | 318.2 kB |
| @aws-sdk/client-kinesis-video-signaling | 326.4 kB |
| @aws-sdk/client-kms | 4.4 MB |
| @aws-sdk/client-lakeformation | 1.7 MB |
| @aws-sdk/client-lambda | 4.6 MB |
| @aws-sdk/client-lex-model-building-service | 3.4 MB |
| @aws-sdk/client-lex-models-v2 | 4.8 MB |
| @aws-sdk/client-lex-runtime-service | 925.2 kB |
| @aws-sdk/client-lex-runtime-v2 | 1.0 MB |
| @aws-sdk/client-license-manager | 3.3 MB |
| @aws-sdk/client-lightsail | 10.3 MB |
| @aws-sdk/client-location | 3.6 MB |
| @aws-sdk/client-lookoutequipment | 1.6 MB |
| @aws-sdk/client-lookoutmetrics | 1.9 MB |
| @aws-sdk/client-lookoutvision | 1.4 MB |
| @aws-sdk/client-machine-learning | 2.3 MB |
| @aws-sdk/client-macie | 623.0 kB |
| @aws-sdk/client-macie2 | 4.4 MB |
| @aws-sdk/client-managedblockchain | 1.9 MB |
| @aws-sdk/client-marketplace-catalog | 677.3 kB |
| @aws-sdk/client-marketplace-commerce-analytics | 356.2 kB |
| @aws-sdk/client-marketplace-entitlement-service | 316.6 kB |
| @aws-sdk/client-marketplace-metering | 627.1 kB |
| @aws-sdk/client-mediaconnect | 2.3 MB |
| @aws-sdk/client-mediaconvert | 5.0 MB |
| @aws-sdk/client-medialive | 6.3 MB |
| @aws-sdk/client-mediapackage | 1.6 MB |
| @aws-sdk/client-mediapackage-vod | 1.4 MB |
| @aws-sdk/client-mediastore | 1.3 MB |
| @aws-sdk/client-mediastore-data | 508.0 kB |
| @aws-sdk/client-mediatailor | 2.1 MB |
| @aws-sdk/client-memorydb | 2.4 MB |
| @aws-sdk/client-mgn | 1.8 MB |
| @aws-sdk/client-migration-hub | 1.4 MB |
| @aws-sdk/client-migrationhub-config | 431.0 kB |
| @aws-sdk/client-mobile | 770.5 kB |
| @aws-sdk/client-mq | 1.6 MB |
| @aws-sdk/client-mturk | 2.6 MB |
| @aws-sdk/client-mwaa | 880.7 kB |
| @aws-sdk/client-neptune | 5.2 MB |
| @aws-sdk/client-network-firewall | 2.4 MB |
| @aws-sdk/client-networkmanager | 2.4 MB |
| @aws-sdk/client-nimble | 3.1 MB |
| @aws-sdk/client-opensearch | 3.0 MB |
| @aws-sdk/client-opsworks | 4.6 MB |
| @aws-sdk/client-opsworkscm | 1.5 MB |
| @aws-sdk/client-organizations | 4.3 MB |
| @aws-sdk/client-outposts | 819.6 kB |
| @aws-sdk/client-personalize | 3.1 MB |
| @aws-sdk/client-personalize-events | 372.9 kB |
| @aws-sdk/client-personalize-runtime | 338.8 kB |
| @aws-sdk/client-pi | 513.0 kB |
| @aws-sdk/client-pinpoint | 8.6 MB |
| @aws-sdk/client-pinpoint-email | 3.0 MB |
| @aws-sdk/client-pinpoint-sms-voice | 710.8 kB |
| @aws-sdk/client-polly | 884.6 kB |
| @aws-sdk/client-pricing | 461.9 kB |
| @aws-sdk/client-proton | 3.5 MB |
| @aws-sdk/client-qldb | 1.4 MB |
| @aws-sdk/client-qldb-session | 399.7 kB |
| @aws-sdk/client-quicksight | 8.8 MB |
| @aws-sdk/client-ram | 1.9 MB |
| @aws-sdk/client-rds | 11.9 MB |
| @aws-sdk/client-rds-data | 773.2 kB |
| @aws-sdk/client-redshift | 8.8 MB |
| @aws-sdk/client-redshift-data | 896.2 kB |
| @aws-sdk/client-rekognition | 4.5 MB |
| @aws-sdk/client-resource-groups | 1.4 MB |
| @aws-sdk/client-resource-groups-tagging-api | 829.0 kB |
| @aws-sdk/client-robomaker | 4.1 MB |
| @aws-sdk/client-route-53 | 5.2 MB |
| @aws-sdk/client-route-53-domains | 2.0 MB |
| @aws-sdk/client-route53-recovery-cluster | 372.4 kB |
| @aws-sdk/client-route53-recovery-control-config | 1.4 MB |
| @aws-sdk/client-route53-recovery-readiness | 2.0 MB |
| @aws-sdk/client-route53resolver | 4.1 MB |
| @aws-sdk/client-s3 | 9.0 MB |
| @aws-sdk/client-s3-control | 4.7 MB |
| @aws-sdk/client-s3outposts | 357.8 kB |
| @aws-sdk/client-sagemaker | 17.2 MB |
| @aws-sdk/client-sagemaker-a2i-runtime | 546.9 kB |
| @aws-sdk/client-sagemaker-edge | 243.9 kB |
| @aws-sdk/client-sagemaker-featurestore-runtime | 414.0 kB |
| @aws-sdk/client-sagemaker-runtime | 371.5 kB |
| @aws-sdk/client-savingsplans | 798.4 kB |
| @aws-sdk/client-schemas | 2.0 MB |
| @aws-sdk/client-secrets-manager | 2.0 MB |
| @aws-sdk/client-securityhub | 7.8 MB |
| @aws-sdk/client-serverlessapplicationrepository | 1.3 MB |
| @aws-sdk/client-service-catalog | 5.5 MB |
| @aws-sdk/client-service-catalog-appregistry | 1.4 MB |
| @aws-sdk/client-service-quotas | 1.5 MB |
| @aws-sdk/client-servicediscovery | 2.0 MB |
| @aws-sdk/client-ses | 4.7 MB |
| @aws-sdk/client-sesv2 | 5.3 MB |
| @aws-sdk/client-sfn | 1.9 MB |
| @aws-sdk/client-shield | 2.1 MB |
| @aws-sdk/client-signer | 1.4 MB |
| @aws-sdk/client-sms | 2.3 MB |
| @aws-sdk/client-snow-device-management | 993.3 kB |
| @aws-sdk/client-snowball | 1.8 MB |
| @aws-sdk/client-sns | 2.7 MB |
| @aws-sdk/client-sqs | 1.8 MB |
| @aws-sdk/client-ssm | 10.9 MB |
| @aws-sdk/client-ssm-contacts | 1.7 MB |
| @aws-sdk/client-ssm-incidents | 2.1 MB |
| @aws-sdk/client-sso | 446.8 kB |
| @aws-sdk/client-sso-admin | 2.1 MB |
| @aws-sdk/client-sso-oidc | 466.9 kB |
| @aws-sdk/client-storage-gateway | 5.5 MB |
| @aws-sdk/client-sts | 1.2 MB |
| @aws-sdk/client-support | 1.3 MB |
| @aws-sdk/client-swf | 3.6 MB |
| @aws-sdk/client-synthetics | 1.1 MB |
| @aws-sdk/client-textract | 979.9 kB |
| @aws-sdk/client-timestream-query | 401.4 kB |
| @aws-sdk/client-timestream-write | 1.1 MB |
| @aws-sdk/client-transcribe | 2.8 MB |
| @aws-sdk/client-transcribe-streaming | 648.3 kB |
| @aws-sdk/client-transfer | 2.4 MB |
| @aws-sdk/client-translate | 1.2 MB |
| @aws-sdk/client-voice-id | 1.5 MB |
| @aws-sdk/client-waf | 5.8 MB |
| @aws-sdk/client-waf-regional | 6.1 MB |
| @aws-sdk/client-wafv2 | 3.8 MB |
| @aws-sdk/client-wellarchitected | 2.2 MB |
| @aws-sdk/client-wisdom | 2.0 MB |
| @aws-sdk/client-workdocs | 2.8 MB |
| @aws-sdk/client-worklink | 2.0 MB |
| @aws-sdk/client-workmail | 3.5 MB |
| @aws-sdk/client-workmailmessageflow | 323.5 kB |
| @aws-sdk/client-workspaces | 3.4 MB |
| @aws-sdk/client-xray | 2.1 MB |
| @aws-sdk/client-documentation-generator | 134.5 kB |
AfterTotal size: 607.33 MB
| Package name | Unpacked size |
|----------------------------------------------------|-----------------|
| @aws-sdk/client-accessanalyzer | 1.7 MB |
| @aws-sdk/client-account | 253.3 kB |
| @aws-sdk/client-acm | 999.3 kB |
| @aws-sdk/client-acm-pca | 1.6 MB |
| @aws-sdk/client-alexa-for-business | 3.8 MB |
| @aws-sdk/client-amp | 900.3 kB |
| @aws-sdk/client-amplify | 1.8 MB |
| @aws-sdk/client-amplifybackend | 1.3 MB |
| @aws-sdk/client-api-gateway | 5.8 MB |
| @aws-sdk/client-apigatewaymanagementapi | 287.0 kB |
| @aws-sdk/client-apigatewayv2 | 3.6 MB |
| @aws-sdk/client-app-mesh | 2.9 MB |
| @aws-sdk/client-appconfig | 1.7 MB |
| @aws-sdk/client-appflow | 1.6 MB |
| @aws-sdk/client-appintegrations | 779.9 kB |
| @aws-sdk/client-application-auto-scaling | 1.3 MB |
| @aws-sdk/client-application-discovery-service | 1.5 MB |
| @aws-sdk/client-application-insights | 1.3 MB |
| @aws-sdk/client-applicationcostprofiler | 391.3 kB |
| @aws-sdk/client-apprunner | 1.2 MB |
| @aws-sdk/client-appstream | 2.4 MB |
| @aws-sdk/client-appsync | 2.0 MB |
| @aws-sdk/client-athena | 1.7 MB |
| @aws-sdk/client-auditmanager | 2.5 MB |
| @aws-sdk/client-auto-scaling | 3.6 MB |
| @aws-sdk/client-auto-scaling-plans | 655.4 kB |
| @aws-sdk/client-backup | 3.3 MB |
| @aws-sdk/client-batch | 1.6 MB |
| @aws-sdk/client-braket | 534.2 kB |
| @aws-sdk/client-budgets | 1.3 MB |
| @aws-sdk/client-chime | 9.1 MB |
| @aws-sdk/client-chime-sdk-identity | 886.2 kB |
| @aws-sdk/client-chime-sdk-messaging | 1.7 MB |
| @aws-sdk/client-cloud9 | 823.1 kB |
| @aws-sdk/client-cloudcontrol | 700.3 kB |
| @aws-sdk/client-clouddirectory | 3.9 MB |
| @aws-sdk/client-cloudformation | 4.3 MB |
| @aws-sdk/client-cloudfront | 5.7 MB |
| @aws-sdk/client-cloudhsm | 998.1 kB |
| @aws-sdk/client-cloudhsm-v2 | 866.6 kB |
| @aws-sdk/client-cloudsearch | 1.5 MB |
| @aws-sdk/client-cloudsearch-domain | 434.2 kB |
| @aws-sdk/client-cloudtrail | 1.5 MB |
| @aws-sdk/client-cloudwatch | 2.2 MB |
| @aws-sdk/client-cloudwatch-events | 2.6 MB |
| @aws-sdk/client-cloudwatch-logs | 2.0 MB |
| @aws-sdk/client-codeartifact | 2.0 MB |
| @aws-sdk/client-codebuild | 2.7 MB |
| @aws-sdk/client-codecommit | 5.7 MB |
| @aws-sdk/client-codedeploy | 3.3 MB |
| @aws-sdk/client-codeguru-reviewer | 1.1 MB |
| @aws-sdk/client-codeguruprofiler | 1.4 MB |
| @aws-sdk/client-codepipeline | 2.4 MB |
| @aws-sdk/client-codestar | 964.5 kB |
| @aws-sdk/client-codestar-connections | 631.7 kB |
| @aws-sdk/client-codestar-notifications | 767.7 kB |
| @aws-sdk/client-cognito-identity | 1.3 MB |
| @aws-sdk/client-cognito-identity-provider | 5.9 MB |
| @aws-sdk/client-cognito-sync | 1.1 MB |
| @aws-sdk/client-comprehend | 3.5 MB |
| @aws-sdk/client-comprehendmedical | 1.2 MB |
| @aws-sdk/client-compute-optimizer | 1.5 MB |
| @aws-sdk/client-config-service | 5.1 MB |
| @aws-sdk/client-connect | 5.3 MB |
| @aws-sdk/client-connect-contact-lens | 223.7 kB |
| @aws-sdk/client-connectparticipant | 575.9 kB |
| @aws-sdk/client-cost-and-usage-report-service | 378.4 kB |
| @aws-sdk/client-cost-explorer | 2.3 MB |
| @aws-sdk/client-customer-profiles | 1.7 MB |
| @aws-sdk/client-data-pipeline | 1.2 MB |
| @aws-sdk/client-database-migration-service | 3.9 MB |
| @aws-sdk/client-databrew | 2.0 MB |
| @aws-sdk/client-dataexchange | 1.5 MB |
| @aws-sdk/client-datasync | 1.7 MB |
| @aws-sdk/client-dax | 1.2 MB |
| @aws-sdk/client-detective | 794.0 kB |
| @aws-sdk/client-device-farm | 3.7 MB |
| @aws-sdk/client-devops-guru | 1.4 MB |
| @aws-sdk/client-direct-connect | 2.7 MB |
| @aws-sdk/client-directory-service | 3.1 MB |
| @aws-sdk/client-dlm | 651.5 kB |
| @aws-sdk/client-docdb | 3.2 MB |
| @aws-sdk/client-dynamodb | 4.0 MB |
| @aws-sdk/client-dynamodb-streams | 470.6 kB |
| @aws-sdk/client-ebs | 547.5 kB |
| @aws-sdk/client-ec2 | 25.4 MB |
| @aws-sdk/client-ec2-instance-connect | 298.9 kB |
| @aws-sdk/client-ecr | 1.9 MB |
| @aws-sdk/client-ecr-public | 1.3 MB |
| @aws-sdk/client-ecs | 4.1 MB |
| @aws-sdk/client-efs | 1.7 MB |
| @aws-sdk/client-eks | 2.2 MB |
| @aws-sdk/client-elastic-beanstalk | 2.6 MB |
| @aws-sdk/client-elastic-inference | 448.5 kB |
| @aws-sdk/client-elastic-load-balancing | 1.7 MB |
| @aws-sdk/client-elastic-load-balancing-v2 | 2.3 MB |
| @aws-sdk/client-elastic-transcoder | 1.7 MB |
| @aws-sdk/client-elasticache | 4.7 MB |
| @aws-sdk/client-elasticsearch-service | 2.5 MB |
| @aws-sdk/client-emr | 3.0 MB |
| @aws-sdk/client-emr-containers | 833.6 kB |
| @aws-sdk/client-eventbridge | 2.6 MB |
| @aws-sdk/client-finspace | 446.2 kB |
| @aws-sdk/client-finspace-data | 275.1 kB |
| @aws-sdk/client-firehose | 1.4 MB |
| @aws-sdk/client-fis | 776.3 kB |
| @aws-sdk/client-fms | 1.6 MB |
| @aws-sdk/client-forecast | 2.1 MB |
| @aws-sdk/client-forecastquery | 250.6 kB |
| @aws-sdk/client-frauddetector | 2.7 MB |
| @aws-sdk/client-fsx | 2.3 MB |
| @aws-sdk/client-gamelift | 6.1 MB |
| @aws-sdk/client-glacier | 2.1 MB |
| @aws-sdk/client-global-accelerator | 2.5 MB |
| @aws-sdk/client-glue | 8.0 MB |
| @aws-sdk/client-greengrass | 3.8 MB |
| @aws-sdk/client-greengrassv2 | 1.5 MB |
| @aws-sdk/client-groundstation | 1.3 MB |
| @aws-sdk/client-guardduty | 2.7 MB |
| @aws-sdk/client-health | 1.0 MB |
| @aws-sdk/client-healthlake | 724.5 kB |
| @aws-sdk/client-honeycode | 940.2 kB |
| @aws-sdk/client-iam | 7.9 MB |
| @aws-sdk/client-identitystore | 337.0 kB |
| @aws-sdk/client-imagebuilder | 2.9 MB |
| @aws-sdk/client-inspector | 2.0 MB |
| @aws-sdk/client-iot | 11.7 MB |
| @aws-sdk/client-iot-1click-devices-service | 669.5 kB |
| @aws-sdk/client-iot-1click-projects | 845.5 kB |
| @aws-sdk/client-iot-data-plane | 512.0 kB |
| @aws-sdk/client-iot-events | 1.7 MB |
| @aws-sdk/client-iot-events-data | 778.1 kB |
| @aws-sdk/client-iot-jobs-data-plane | 413.1 kB |
| @aws-sdk/client-iot-wireless | 2.6 MB |
| @aws-sdk/client-iotanalytics | 2.0 MB |
| @aws-sdk/client-iotdeviceadvisor | 674.6 kB |
| @aws-sdk/client-iotfleethub | 451.4 kB |
| @aws-sdk/client-iotsecuretunneling | 452.1 kB |
| @aws-sdk/client-iotsitewise | 3.4 MB |
| @aws-sdk/client-iotthingsgraph | 1.7 MB |
| @aws-sdk/client-ivs | 1.3 MB |
| @aws-sdk/client-kafka | 1.7 MB |
| @aws-sdk/client-kafkaconnect | 852.4 kB |
| @aws-sdk/client-kendra | 3.0 MB |
| @aws-sdk/client-kinesis | 1.8 MB |
| @aws-sdk/client-kinesis-analytics | 1.5 MB |
| @aws-sdk/client-kinesis-analytics-v2 | 2.3 MB |
| @aws-sdk/client-kinesis-video | 1.1 MB |
| @aws-sdk/client-kinesis-video-archived-media | 766.0 kB |
| @aws-sdk/client-kinesis-video-media | 270.6 kB |
| @aws-sdk/client-kinesis-video-signaling | 265.9 kB |
| @aws-sdk/client-kms | 3.6 MB |
| @aws-sdk/client-lakeformation | 1.3 MB |
| @aws-sdk/client-lambda | 3.5 MB |
| @aws-sdk/client-lex-model-building-service | 2.6 MB |
| @aws-sdk/client-lex-models-v2 | 3.7 MB |
| @aws-sdk/client-lex-runtime-service | 755.7 kB |
| @aws-sdk/client-lex-runtime-v2 | 807.2 kB |
| @aws-sdk/client-license-manager | 2.5 MB |
| @aws-sdk/client-lightsail | 8.0 MB |
| @aws-sdk/client-location | 2.7 MB |
| @aws-sdk/client-lookoutequipment | 1.2 MB |
| @aws-sdk/client-lookoutmetrics | 1.4 MB |
| @aws-sdk/client-lookoutvision | 1.1 MB |
| @aws-sdk/client-machine-learning | 1.8 MB |
| @aws-sdk/client-macie | 495.6 kB |
| @aws-sdk/client-macie2 | 3.3 MB |
| @aws-sdk/client-managedblockchain | 1.4 MB |
| @aws-sdk/client-marketplace-catalog | 537.4 kB |
| @aws-sdk/client-marketplace-commerce-analytics | 304.7 kB |
| @aws-sdk/client-marketplace-entitlement-service | 267.7 kB |
| @aws-sdk/client-marketplace-metering | 504.8 kB |
| @aws-sdk/client-mediaconnect | 1.8 MB |
| @aws-sdk/client-mediaconvert | 3.9 MB |
| @aws-sdk/client-medialive | 4.8 MB |
| @aws-sdk/client-mediapackage | 1.2 MB |
| @aws-sdk/client-mediapackage-vod | 1.0 MB |
| @aws-sdk/client-mediastore | 991.6 kB |
| @aws-sdk/client-mediastore-data | 411.1 kB |
| @aws-sdk/client-mediatailor | 1.6 MB |
| @aws-sdk/client-memorydb | 1.8 MB |
| @aws-sdk/client-mgn | 1.4 MB |
| @aws-sdk/client-migration-hub | 1.1 MB |
| @aws-sdk/client-migrationhub-config | 352.4 kB |
| @aws-sdk/client-mobile | 604.0 kB |
| @aws-sdk/client-mq | 1.3 MB |
| @aws-sdk/client-mturk | 2.0 MB |
| @aws-sdk/client-mwaa | 678.7 kB |
| @aws-sdk/client-neptune | 4.0 MB |
| @aws-sdk/client-network-firewall | 1.9 MB |
| @aws-sdk/client-networkmanager | 1.8 MB |
| @aws-sdk/client-nimble | 2.3 MB |
| @aws-sdk/client-opensearch | 2.3 MB |
| @aws-sdk/client-opsworks | 3.6 MB |
| @aws-sdk/client-opsworkscm | 1.1 MB |
| @aws-sdk/client-organizations | 3.4 MB |
| @aws-sdk/client-outposts | 632.3 kB |
| @aws-sdk/client-personalize | 2.4 MB |
| @aws-sdk/client-personalize-events | 306.8 kB |
| @aws-sdk/client-personalize-runtime | 283.4 kB |
| @aws-sdk/client-pi | 425.4 kB |
| @aws-sdk/client-pinpoint | 6.6 MB |
| @aws-sdk/client-pinpoint-email | 2.3 MB |
| @aws-sdk/client-pinpoint-sms-voice | 566.5 kB |
| @aws-sdk/client-polly | 699.0 kB |
| @aws-sdk/client-pricing | 373.6 kB |
| @aws-sdk/client-proton | 2.6 MB |
| @aws-sdk/client-qldb | 1.1 MB |
| @aws-sdk/client-qldb-session | 328.9 kB |
| @aws-sdk/client-quicksight | 6.7 MB |
| @aws-sdk/client-ram | 1.5 MB |
| @aws-sdk/client-rds | 9.2 MB |
| @aws-sdk/client-rds-data | 613.4 kB |
| @aws-sdk/client-redshift | 6.7 MB |
| @aws-sdk/client-redshift-data | 694.8 kB |
| @aws-sdk/client-rekognition | 3.5 MB |
| @aws-sdk/client-resource-groups | 1.1 MB |
| @aws-sdk/client-resource-groups-tagging-api | 665.5 kB |
| @aws-sdk/client-robomaker | 3.2 MB |
| @aws-sdk/client-route-53 | 4.1 MB |
| @aws-sdk/client-route-53-domains | 1.6 MB |
| @aws-sdk/client-route53-recovery-cluster | 291.9 kB |
| @aws-sdk/client-route53-recovery-control-config | 1.1 MB |
| @aws-sdk/client-route53-recovery-readiness | 1.5 MB |
| @aws-sdk/client-route53resolver | 3.2 MB |
| @aws-sdk/client-s3 | 7.1 MB |
| @aws-sdk/client-s3-control | 3.6 MB |
| @aws-sdk/client-s3outposts | 281.6 kB |
| @aws-sdk/client-sagemaker | 13.4 MB |
| @aws-sdk/client-sagemaker-a2i-runtime | 439.1 kB |
| @aws-sdk/client-sagemaker-edge | 193.3 kB |
| @aws-sdk/client-sagemaker-featurestore-runtime | 320.9 kB |
| @aws-sdk/client-sagemaker-runtime | 311.4 kB |
| @aws-sdk/client-savingsplans | 619.3 kB |
| @aws-sdk/client-schemas | 1.5 MB |
| @aws-sdk/client-secrets-manager | 1.6 MB |
| @aws-sdk/client-securityhub | 5.9 MB |
| @aws-sdk/client-serverlessapplicationrepository | 995.3 kB |
| @aws-sdk/client-service-catalog | 4.3 MB |
| @aws-sdk/client-service-catalog-appregistry | 1.0 MB |
| @aws-sdk/client-service-quotas | 1.2 MB |
| @aws-sdk/client-servicediscovery | 1.6 MB |
| @aws-sdk/client-ses | 3.7 MB |
| @aws-sdk/client-sesv2 | 4.1 MB |
| @aws-sdk/client-sfn | 1.5 MB |
| @aws-sdk/client-shield | 1.7 MB |
| @aws-sdk/client-signer | 1.1 MB |
| @aws-sdk/client-sms | 1.8 MB |
| @aws-sdk/client-snow-device-management | 748.4 kB |
| @aws-sdk/client-snowball | 1.4 MB |
| @aws-sdk/client-sns | 2.1 MB |
| @aws-sdk/client-sqs | 1.4 MB |
| @aws-sdk/client-ssm | 8.5 MB |
| @aws-sdk/client-ssm-contacts | 1.3 MB |
| @aws-sdk/client-ssm-incidents | 1.5 MB |
| @aws-sdk/client-sso | 358.3 kB |
| @aws-sdk/client-sso-admin | 1.6 MB |
| @aws-sdk/client-sso-oidc | 375.5 kB |
| @aws-sdk/client-storage-gateway | 4.3 MB |
| @aws-sdk/client-sts | 1.0 MB |
| @aws-sdk/client-support | 1.0 MB |
| @aws-sdk/client-swf | 3.0 MB |
| @aws-sdk/client-synthetics | 835.8 kB |
| @aws-sdk/client-textract | 787.4 kB |
| @aws-sdk/client-timestream-query | 315.0 kB |
| @aws-sdk/client-timestream-write | 834.2 kB |
| @aws-sdk/client-transcribe | 2.2 MB |
| @aws-sdk/client-transcribe-streaming | 529.7 kB |
| @aws-sdk/client-transfer | 1.9 MB |
| @aws-sdk/client-translate | 917.9 kB |
| @aws-sdk/client-voice-id | 1.1 MB |
| @aws-sdk/client-waf | 4.6 MB |
| @aws-sdk/client-waf-regional | 4.8 MB |
| @aws-sdk/client-wafv2 | 3.0 MB |
| @aws-sdk/client-wellarchitected | 1.7 MB |
| @aws-sdk/client-wisdom | 1.5 MB |
| @aws-sdk/client-workdocs | 2.2 MB |
| @aws-sdk/client-worklink | 1.5 MB |
| @aws-sdk/client-workmail | 2.7 MB |
| @aws-sdk/client-workmailmessageflow | 270.2 kB |
| @aws-sdk/client-workspaces | 2.6 MB |
| @aws-sdk/client-xray | 1.6 MB |
| @aws-sdk/client-documentation-generator | 73.6 kB | |
Jest v27 fails with Blob is not defined error. Jest docs: https://jestjs.io/docs/configuration#testenvironment-string
async-await doesn't work with done callbacks in Jest v27 Refs: jestjs/jest#11404
Jest docs: jestjs.io/docs/configuration#testenvironment-string
Refs: stackoverflow.com/a/68656890
foreach parentDir ("clients" "protocol_tests") for dir in ./$parentDir/*; do (cd "$dir" && sed -i 's/tsconfig.json/tsconfig.cjs.json/g' ./package.json); done for dir in ./$parentDir/*; do (cd "$dir" && mv tsconfig.json tsconfig.cjs.json); done end
This reverts commit 97ee91a.
97ee91a
to
e4f1886
Compare
Superceded by attempt to use common TSConfig without bumping jest in #2872 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Issue
Refs: #1307
Note: This PR will be made ready once #2867 is merged.
Description
Update clients and protocol_tests to use root TSConfig
Shell script for renaming tsconfig.json to tsconfig.cjs.json
Script used for updating tsconfig
Testing
❌ CI
✅ Verified that transpiled files are created in appropriate folders:
dist-cjs
dist-es
dist-types
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.