From 5f981c70297f7f7358eff9ced64a9e5a2132e3ca Mon Sep 17 00:00:00 2001 From: Nick Lynch Date: Wed, 17 Feb 2021 16:55:09 +0000 Subject: [PATCH] chore: make NPM dist tag explicit for all packages (#13109) Currently, our NPM tag strategy is uniform across all packages. This _mostly_ works, but for V2 it makes sense for `aws-cdk-lib` to be published with a dist tag of 'latest' while still publishing all of the other libraries as 'next'. This change is the first supporting change to enable us to have different dist tags for different packages. * Introduces a new pkglint rule that enforces that each package.json has a publishConfig and tag. For v1, this defaults to 'latest'; for v2 it will default to 'next'. These are the correct values, except for `aws-cdk-lib`, which will need to be manually changed to `latest`. * Removes the disttag element from `release.json`. * Changing `check-api-compatibility` to use the dist tags from the individual `package.json` files, rather than from `release.json`. Files to look at (all others are package.json changes): * release.json * scripts/check-api-compatibility.sh * scripts/resolve-version-lib.js * scripts/script-tests/resolve-version.test.js * tools/pkglint/lib/rules.ts Once this is approved, and merged up to V2, the change to flip the aws-cdk-lib tag can be made. Finally, we will update our publishing infrastructure so these new tags are respected. related #13058 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- .../ecs-service-extensions/package.json | 5 ++- packages/@aws-cdk/alexa-ask/package.json | 3 ++ packages/@aws-cdk/app-delivery/package.json | 3 ++ packages/@aws-cdk/assert/package.json | 3 ++ packages/@aws-cdk/assets/package.json | 3 ++ .../@aws-cdk/aws-accessanalyzer/package.json | 3 ++ packages/@aws-cdk/aws-acmpca/package.json | 3 ++ packages/@aws-cdk/aws-amazonmq/package.json | 3 ++ packages/@aws-cdk/aws-amplify/package.json | 3 ++ packages/@aws-cdk/aws-apigateway/package.json | 5 ++- .../aws-apigatewayv2-authorizers/package.json | 3 ++ .../package.json | 3 ++ .../@aws-cdk/aws-apigatewayv2/package.json | 3 ++ packages/@aws-cdk/aws-appconfig/package.json | 3 ++ packages/@aws-cdk/aws-appflow/package.json | 3 ++ .../aws-applicationautoscaling/package.json | 5 ++- .../aws-applicationinsights/package.json | 3 ++ packages/@aws-cdk/aws-appmesh/package.json | 3 ++ packages/@aws-cdk/aws-appstream/package.json | 3 ++ packages/@aws-cdk/aws-appsync/package.json | 3 ++ packages/@aws-cdk/aws-athena/package.json | 3 ++ .../@aws-cdk/aws-auditmanager/package.json | 3 ++ .../aws-autoscaling-common/package.json | 3 ++ .../aws-autoscaling-hooktargets/package.json | 3 ++ .../@aws-cdk/aws-autoscaling/package.json | 5 ++- .../aws-autoscalingplans/package.json | 3 ++ packages/@aws-cdk/aws-backup/package.json | 3 ++ packages/@aws-cdk/aws-batch/package.json | 3 ++ packages/@aws-cdk/aws-budgets/package.json | 3 ++ packages/@aws-cdk/aws-cassandra/package.json | 3 ++ packages/@aws-cdk/aws-ce/package.json | 3 ++ .../aws-certificatemanager/package.json | 5 ++- packages/@aws-cdk/aws-chatbot/package.json | 3 ++ packages/@aws-cdk/aws-cloud9/package.json | 3 ++ .../@aws-cdk/aws-cloudformation/package.json | 5 ++- .../aws-cloudfront-origins/package.json | 3 ++ packages/@aws-cdk/aws-cloudfront/package.json | 3 ++ packages/@aws-cdk/aws-cloudtrail/package.json | 3 ++ .../aws-cloudwatch-actions/package.json | 3 ++ packages/@aws-cdk/aws-cloudwatch/package.json | 5 ++- .../@aws-cdk/aws-codeartifact/package.json | 3 ++ packages/@aws-cdk/aws-codebuild/package.json | 5 ++- packages/@aws-cdk/aws-codecommit/package.json | 5 ++- packages/@aws-cdk/aws-codedeploy/package.json | 5 ++- .../aws-codeguruprofiler/package.json | 3 ++ .../aws-codegurureviewer/package.json | 3 ++ .../aws-codepipeline-actions/package.json | 3 ++ .../@aws-cdk/aws-codepipeline/package.json | 5 ++- packages/@aws-cdk/aws-codestar/package.json | 3 ++ .../aws-codestarconnections/package.json | 3 ++ .../aws-codestarnotifications/package.json | 3 ++ packages/@aws-cdk/aws-cognito/package.json | 3 ++ packages/@aws-cdk/aws-config/package.json | 3 ++ packages/@aws-cdk/aws-databrew/package.json | 3 ++ .../@aws-cdk/aws-datapipeline/package.json | 3 ++ packages/@aws-cdk/aws-datasync/package.json | 3 ++ packages/@aws-cdk/aws-dax/package.json | 3 ++ packages/@aws-cdk/aws-detective/package.json | 5 ++- packages/@aws-cdk/aws-devopsguru/package.json | 3 ++ .../aws-directoryservice/package.json | 3 ++ packages/@aws-cdk/aws-dlm/package.json | 3 ++ packages/@aws-cdk/aws-dms/package.json | 3 ++ packages/@aws-cdk/aws-docdb/package.json | 3 ++ .../@aws-cdk/aws-dynamodb-global/package.json | 5 ++- packages/@aws-cdk/aws-dynamodb/package.json | 5 ++- packages/@aws-cdk/aws-ec2/package.json | 5 ++- packages/@aws-cdk/aws-ecr-assets/package.json | 3 ++ packages/@aws-cdk/aws-ecr/package.json | 3 ++ .../@aws-cdk/aws-ecs-patterns/package.json | 3 ++ packages/@aws-cdk/aws-ecs/package.json | 5 ++- packages/@aws-cdk/aws-efs/package.json | 3 ++ packages/@aws-cdk/aws-eks-legacy/package.json | 5 ++- packages/@aws-cdk/aws-eks/package.json | 3 ++ .../@aws-cdk/aws-elasticache/package.json | 3 ++ .../aws-elasticbeanstalk/package.json | 3 ++ .../aws-elasticloadbalancing/package.json | 5 ++- .../package.json | 3 ++ .../package.json | 3 ++ .../aws-elasticloadbalancingv2/package.json | 5 ++- .../@aws-cdk/aws-elasticsearch/package.json | 3 ++ packages/@aws-cdk/aws-emr/package.json | 3 ++ .../@aws-cdk/aws-emrcontainers/package.json | 3 ++ .../@aws-cdk/aws-events-targets/package.json | 5 ++- packages/@aws-cdk/aws-events/package.json | 5 ++- .../@aws-cdk/aws-eventschemas/package.json | 3 ++ packages/@aws-cdk/aws-fms/package.json | 3 ++ packages/@aws-cdk/aws-fsx/package.json | 3 ++ packages/@aws-cdk/aws-gamelift/package.json | 3 ++ .../aws-globalaccelerator/package.json | 3 ++ packages/@aws-cdk/aws-glue/package.json | 3 ++ packages/@aws-cdk/aws-greengrass/package.json | 3 ++ .../@aws-cdk/aws-greengrassv2/package.json | 3 ++ packages/@aws-cdk/aws-guardduty/package.json | 3 ++ packages/@aws-cdk/aws-iam/package.json | 5 ++- .../@aws-cdk/aws-imagebuilder/package.json | 3 ++ packages/@aws-cdk/aws-inspector/package.json | 3 ++ packages/@aws-cdk/aws-iot/package.json | 3 ++ packages/@aws-cdk/aws-iot1click/package.json | 3 ++ .../@aws-cdk/aws-iotanalytics/package.json | 3 ++ packages/@aws-cdk/aws-iotevents/package.json | 3 ++ .../@aws-cdk/aws-iotsitewise/package.json | 3 ++ .../@aws-cdk/aws-iotthingsgraph/package.json | 3 ++ .../@aws-cdk/aws-iotwireless/package.json | 3 ++ packages/@aws-cdk/aws-ivs/package.json | 3 ++ packages/@aws-cdk/aws-kendra/package.json | 3 ++ packages/@aws-cdk/aws-kinesis/package.json | 3 ++ .../aws-kinesisanalytics-flink/package.json | 3 ++ .../aws-kinesisanalytics/package.json | 3 ++ .../@aws-cdk/aws-kinesisfirehose/package.json | 3 ++ packages/@aws-cdk/aws-kms/package.json | 5 ++- .../@aws-cdk/aws-lakeformation/package.json | 3 ++ .../aws-lambda-destinations/package.json | 3 ++ .../aws-lambda-event-sources/package.json | 3 ++ .../@aws-cdk/aws-lambda-nodejs/package.json | 3 ++ .../@aws-cdk/aws-lambda-python/package.json | 3 ++ packages/@aws-cdk/aws-lambda/package.json | 5 ++- .../@aws-cdk/aws-licensemanager/package.json | 3 ++ .../aws-logs-destinations/package.json | 3 ++ packages/@aws-cdk/aws-logs/package.json | 5 ++- .../@aws-cdk/aws-lookoutvision/package.json | 3 ++ packages/@aws-cdk/aws-macie/package.json | 3 ++ .../aws-managedblockchain/package.json | 3 ++ .../@aws-cdk/aws-mediaconnect/package.json | 3 ++ .../@aws-cdk/aws-mediaconvert/package.json | 3 ++ packages/@aws-cdk/aws-medialive/package.json | 3 ++ .../@aws-cdk/aws-mediapackage/package.json | 3 ++ packages/@aws-cdk/aws-mediastore/package.json | 3 ++ packages/@aws-cdk/aws-msk/package.json | 3 ++ packages/@aws-cdk/aws-mwaa/package.json | 3 ++ packages/@aws-cdk/aws-neptune/package.json | 3 ++ .../@aws-cdk/aws-networkfirewall/package.json | 3 ++ .../@aws-cdk/aws-networkmanager/package.json | 3 ++ packages/@aws-cdk/aws-opsworks/package.json | 3 ++ packages/@aws-cdk/aws-opsworkscm/package.json | 3 ++ packages/@aws-cdk/aws-pinpoint/package.json | 3 ++ .../@aws-cdk/aws-pinpointemail/package.json | 3 ++ packages/@aws-cdk/aws-qldb/package.json | 3 ++ packages/@aws-cdk/aws-quicksight/package.json | 3 ++ packages/@aws-cdk/aws-ram/package.json | 3 ++ packages/@aws-cdk/aws-rds/package.json | 3 ++ packages/@aws-cdk/aws-redshift/package.json | 3 ++ .../@aws-cdk/aws-resourcegroups/package.json | 3 ++ packages/@aws-cdk/aws-robomaker/package.json | 3 ++ .../aws-route53-patterns/package.json | 3 ++ .../@aws-cdk/aws-route53-targets/package.json | 3 ++ packages/@aws-cdk/aws-route53/package.json | 5 ++- .../@aws-cdk/aws-route53resolver/package.json | 3 ++ packages/@aws-cdk/aws-s3-assets/package.json | 3 ++ .../@aws-cdk/aws-s3-deployment/package.json | 3 ++ .../aws-s3-notifications/package.json | 3 ++ packages/@aws-cdk/aws-s3/package.json | 5 ++- packages/@aws-cdk/aws-sagemaker/package.json | 3 ++ packages/@aws-cdk/aws-sam/package.json | 3 ++ packages/@aws-cdk/aws-sdb/package.json | 3 ++ .../@aws-cdk/aws-secretsmanager/package.json | 5 ++- .../@aws-cdk/aws-securityhub/package.json | 3 ++ .../@aws-cdk/aws-servicecatalog/package.json | 3 ++ .../package.json | 3 ++ .../aws-servicediscovery/package.json | 5 ++- .../@aws-cdk/aws-ses-actions/package.json | 3 ++ packages/@aws-cdk/aws-ses/package.json | 3 ++ packages/@aws-cdk/aws-signer/package.json | 3 ++ .../aws-sns-subscriptions/package.json | 3 ++ packages/@aws-cdk/aws-sns/package.json | 5 ++- packages/@aws-cdk/aws-sqs/package.json | 5 ++- packages/@aws-cdk/aws-ssm/package.json | 5 ++- packages/@aws-cdk/aws-sso/package.json | 3 ++ .../aws-stepfunctions-tasks/package.json | 3 ++ .../@aws-cdk/aws-stepfunctions/package.json | 3 ++ packages/@aws-cdk/aws-synthetics/package.json | 3 ++ packages/@aws-cdk/aws-timestream/package.json | 3 ++ packages/@aws-cdk/aws-transfer/package.json | 3 ++ packages/@aws-cdk/aws-waf/package.json | 3 ++ .../@aws-cdk/aws-wafregional/package.json | 3 ++ packages/@aws-cdk/aws-wafv2/package.json | 3 ++ packages/@aws-cdk/aws-workspaces/package.json | 3 ++ .../@aws-cdk/cdk-assets-schema/package.json | 3 ++ .../build-tools/create-missing-libraries.ts | 3 ++ .../cloud-assembly-schema/package.json | 3 ++ .../@aws-cdk/cloudformation-diff/package.json | 3 ++ .../cloudformation-include/package.json | 3 ++ packages/@aws-cdk/core/package.json | 5 ++- .../@aws-cdk/custom-resources/package.json | 5 ++- packages/@aws-cdk/cx-api/package.json | 3 ++ .../@aws-cdk/lambda-layer-awscli/package.json | 3 ++ .../lambda-layer-kubectl/package.json | 3 ++ packages/@aws-cdk/pipelines/package.json | 5 ++- packages/@aws-cdk/region-info/package.json | 3 ++ packages/@aws-cdk/yaml-cfn/package.json | 3 ++ .../@monocdk-experiment/assert/package.json | 5 ++- .../rewrite-imports/package.json | 3 ++ packages/aws-cdk/package.json | 5 ++- packages/awslint/package.json | 3 ++ packages/cdk-assets/package.json | 5 ++- packages/monocdk/package.json | 3 ++ release.json | 3 +- scripts/check-api-compatibility.sh | 31 ++++++++++-------- scripts/resolve-version-lib.js | 32 +++++++++---------- scripts/script-tests/resolve-version.test.js | 23 ++----------- tools/pkglint/lib/rules.ts | 31 +++++++++++++++++- 200 files changed, 689 insertions(+), 92 deletions(-) diff --git a/packages/@aws-cdk-containers/ecs-service-extensions/package.json b/packages/@aws-cdk-containers/ecs-service-extensions/package.json index f388877969ce0..05781b7cc3750 100644 --- a/packages/@aws-cdk-containers/ecs-service-extensions/package.json +++ b/packages/@aws-cdk-containers/ecs-service-extensions/package.json @@ -100,5 +100,8 @@ "announce": false }, "maturity": "stable", - "stability": "stable" + "stability": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/alexa-ask/package.json b/packages/@aws-cdk/alexa-ask/package.json index 04cddb184db13..48b5fa2b1e003 100644 --- a/packages/@aws-cdk/alexa-ask/package.json +++ b/packages/@aws-cdk/alexa-ask/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/app-delivery/package.json b/packages/@aws-cdk/app-delivery/package.json index fe26467765432..8ac9e9cae6a12 100644 --- a/packages/@aws-cdk/app-delivery/package.json +++ b/packages/@aws-cdk/app-delivery/package.json @@ -114,5 +114,8 @@ }, "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/assert/package.json b/packages/@aws-cdk/assert/package.json index 1ebf15f57c87e..1416fd7f4673c 100644 --- a/packages/@aws-cdk/assert/package.json +++ b/packages/@aws-cdk/assert/package.json @@ -56,5 +56,8 @@ "maturity": "experimental", "cdk-build": { "jest": true + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/assets/package.json b/packages/@aws-cdk/assets/package.json index cd15c2c2d83a5..45735a4da140f 100644 --- a/packages/@aws-cdk/assets/package.json +++ b/packages/@aws-cdk/assets/package.json @@ -96,5 +96,8 @@ "maturity": "deprecated", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-accessanalyzer/package.json b/packages/@aws-cdk/aws-accessanalyzer/package.json index 6981503a54ad7..85c2a0d682662 100644 --- a/packages/@aws-cdk/aws-accessanalyzer/package.json +++ b/packages/@aws-cdk/aws-accessanalyzer/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-acmpca/package.json b/packages/@aws-cdk/aws-acmpca/package.json index c46c2f99c1757..e0956bffbf2c6 100644 --- a/packages/@aws-cdk/aws-acmpca/package.json +++ b/packages/@aws-cdk/aws-acmpca/package.json @@ -93,5 +93,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-amazonmq/package.json b/packages/@aws-cdk/aws-amazonmq/package.json index 9c6ab30f28c1e..c9d6412f5effa 100644 --- a/packages/@aws-cdk/aws-amazonmq/package.json +++ b/packages/@aws-cdk/aws-amazonmq/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-amplify/package.json b/packages/@aws-cdk/aws-amplify/package.json index 865109cf27561..ea1abbde2ba37 100644 --- a/packages/@aws-cdk/aws-amplify/package.json +++ b/packages/@aws-cdk/aws-amplify/package.json @@ -109,5 +109,8 @@ }, "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-apigateway/package.json b/packages/@aws-cdk/aws-apigateway/package.json index 3a0641e8b1162..a7e21f2842eca 100644 --- a/packages/@aws-cdk/aws-apigateway/package.json +++ b/packages/@aws-cdk/aws-apigateway/package.json @@ -325,5 +325,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-apigatewayv2-authorizers/package.json b/packages/@aws-cdk/aws-apigatewayv2-authorizers/package.json index de6dffe1edc61..f21b19c75f329 100644 --- a/packages/@aws-cdk/aws-apigatewayv2-authorizers/package.json +++ b/packages/@aws-cdk/aws-apigatewayv2-authorizers/package.json @@ -97,5 +97,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-apigatewayv2-integrations/package.json b/packages/@aws-cdk/aws-apigatewayv2-integrations/package.json index a6bbd74293860..c4a3e3039b9a3 100644 --- a/packages/@aws-cdk/aws-apigatewayv2-integrations/package.json +++ b/packages/@aws-cdk/aws-apigatewayv2-integrations/package.json @@ -103,5 +103,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-apigatewayv2/package.json b/packages/@aws-cdk/aws-apigatewayv2/package.json index 68a56a7acb216..19abb0ca10b3f 100644 --- a/packages/@aws-cdk/aws-apigatewayv2/package.json +++ b/packages/@aws-cdk/aws-apigatewayv2/package.json @@ -126,5 +126,8 @@ ], "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-appconfig/package.json b/packages/@aws-cdk/aws-appconfig/package.json index c009b9ea40639..0836a936f672c 100644 --- a/packages/@aws-cdk/aws-appconfig/package.json +++ b/packages/@aws-cdk/aws-appconfig/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-appflow/package.json b/packages/@aws-cdk/aws-appflow/package.json index f1cbc900a0d13..6d047b697b394 100644 --- a/packages/@aws-cdk/aws-appflow/package.json +++ b/packages/@aws-cdk/aws-appflow/package.json @@ -88,5 +88,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-applicationautoscaling/package.json b/packages/@aws-cdk/aws-applicationautoscaling/package.json index 22c9c13325218..71036cd220e5f 100644 --- a/packages/@aws-cdk/aws-applicationautoscaling/package.json +++ b/packages/@aws-cdk/aws-applicationautoscaling/package.json @@ -131,5 +131,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-applicationinsights/package.json b/packages/@aws-cdk/aws-applicationinsights/package.json index 67037d3b3524c..edef6de6de7f0 100644 --- a/packages/@aws-cdk/aws-applicationinsights/package.json +++ b/packages/@aws-cdk/aws-applicationinsights/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-appmesh/package.json b/packages/@aws-cdk/aws-appmesh/package.json index cf21301f13e5c..32176758bd410 100644 --- a/packages/@aws-cdk/aws-appmesh/package.json +++ b/packages/@aws-cdk/aws-appmesh/package.json @@ -190,5 +190,8 @@ "maturity": "developer-preview", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-appstream/package.json b/packages/@aws-cdk/aws-appstream/package.json index 6d2011bf3bfe1..e9655519ab834 100644 --- a/packages/@aws-cdk/aws-appstream/package.json +++ b/packages/@aws-cdk/aws-appstream/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-appsync/package.json b/packages/@aws-cdk/aws-appsync/package.json index 5e14842c6f758..f6bfb64813364 100644 --- a/packages/@aws-cdk/aws-appsync/package.json +++ b/packages/@aws-cdk/aws-appsync/package.json @@ -120,5 +120,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-athena/package.json b/packages/@aws-cdk/aws-athena/package.json index 28960103e97cc..2a3cd7207b97f 100644 --- a/packages/@aws-cdk/aws-athena/package.json +++ b/packages/@aws-cdk/aws-athena/package.json @@ -94,5 +94,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-auditmanager/package.json b/packages/@aws-cdk/aws-auditmanager/package.json index b9446f72238c8..b263be5fd8c92 100644 --- a/packages/@aws-cdk/aws-auditmanager/package.json +++ b/packages/@aws-cdk/aws-auditmanager/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-autoscaling-common/package.json b/packages/@aws-cdk/aws-autoscaling-common/package.json index 867450eec31e2..644801e0dbc71 100644 --- a/packages/@aws-cdk/aws-autoscaling-common/package.json +++ b/packages/@aws-cdk/aws-autoscaling-common/package.json @@ -114,5 +114,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-autoscaling-hooktargets/package.json b/packages/@aws-cdk/aws-autoscaling-hooktargets/package.json index 0b40faf0fabec..b15364996c1f3 100644 --- a/packages/@aws-cdk/aws-autoscaling-hooktargets/package.json +++ b/packages/@aws-cdk/aws-autoscaling-hooktargets/package.json @@ -106,5 +106,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-autoscaling/package.json b/packages/@aws-cdk/aws-autoscaling/package.json index cbb4534533ade..79a8b3e02b967 100644 --- a/packages/@aws-cdk/aws-autoscaling/package.json +++ b/packages/@aws-cdk/aws-autoscaling/package.json @@ -152,5 +152,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-autoscalingplans/package.json b/packages/@aws-cdk/aws-autoscalingplans/package.json index 186564ad5e31c..5674f715e2b80 100644 --- a/packages/@aws-cdk/aws-autoscalingplans/package.json +++ b/packages/@aws-cdk/aws-autoscalingplans/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-backup/package.json b/packages/@aws-cdk/aws-backup/package.json index 8f70998f41a1d..841f29f929f36 100644 --- a/packages/@aws-cdk/aws-backup/package.json +++ b/packages/@aws-cdk/aws-backup/package.json @@ -110,5 +110,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-batch/package.json b/packages/@aws-cdk/aws-batch/package.json index f20ee3b682f21..0b8f4666ab077 100644 --- a/packages/@aws-cdk/aws-batch/package.json +++ b/packages/@aws-cdk/aws-batch/package.json @@ -106,5 +106,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-budgets/package.json b/packages/@aws-cdk/aws-budgets/package.json index 924d2ec1ab5b8..3d8297269395f 100644 --- a/packages/@aws-cdk/aws-budgets/package.json +++ b/packages/@aws-cdk/aws-budgets/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-cassandra/package.json b/packages/@aws-cdk/aws-cassandra/package.json index 67abfdf545526..5b0a317a627d8 100644 --- a/packages/@aws-cdk/aws-cassandra/package.json +++ b/packages/@aws-cdk/aws-cassandra/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-ce/package.json b/packages/@aws-cdk/aws-ce/package.json index cb5b60b4242a7..07c5e186da907 100644 --- a/packages/@aws-cdk/aws-ce/package.json +++ b/packages/@aws-cdk/aws-ce/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-certificatemanager/package.json b/packages/@aws-cdk/aws-certificatemanager/package.json index 52afcdf0d0e83..96e0787fb06ec 100644 --- a/packages/@aws-cdk/aws-certificatemanager/package.json +++ b/packages/@aws-cdk/aws-certificatemanager/package.json @@ -104,5 +104,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-chatbot/package.json b/packages/@aws-cdk/aws-chatbot/package.json index 8368c18a90199..ab267bf8f1c0c 100644 --- a/packages/@aws-cdk/aws-chatbot/package.json +++ b/packages/@aws-cdk/aws-chatbot/package.json @@ -102,5 +102,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-cloud9/package.json b/packages/@aws-cdk/aws-cloud9/package.json index 9a126f4afc5f6..e71b8c60f3bc0 100644 --- a/packages/@aws-cdk/aws-cloud9/package.json +++ b/packages/@aws-cdk/aws-cloud9/package.json @@ -107,5 +107,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-cloudformation/package.json b/packages/@aws-cdk/aws-cloudformation/package.json index 0e5511879c501..550bc780b750d 100644 --- a/packages/@aws-cdk/aws-cloudformation/package.json +++ b/packages/@aws-cdk/aws-cloudformation/package.json @@ -115,5 +115,8 @@ "awscdkio": { "announce": false }, - "maturity": "deprecated" + "maturity": "deprecated", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-cloudfront-origins/package.json b/packages/@aws-cdk/aws-cloudfront-origins/package.json index 02e293de5f675..7ea4b267dbf32 100644 --- a/packages/@aws-cdk/aws-cloudfront-origins/package.json +++ b/packages/@aws-cdk/aws-cloudfront-origins/package.json @@ -100,5 +100,8 @@ "maturity": "stable", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-cloudfront/package.json b/packages/@aws-cdk/aws-cloudfront/package.json index d1d19cc5e15fd..e2faa8f8e12cf 100644 --- a/packages/@aws-cdk/aws-cloudfront/package.json +++ b/packages/@aws-cdk/aws-cloudfront/package.json @@ -160,5 +160,8 @@ }, "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-cloudtrail/package.json b/packages/@aws-cdk/aws-cloudtrail/package.json index 463ce9de07f1e..a3e7573dfe731 100644 --- a/packages/@aws-cdk/aws-cloudtrail/package.json +++ b/packages/@aws-cdk/aws-cloudtrail/package.json @@ -115,5 +115,8 @@ "maturity": "stable", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-cloudwatch-actions/package.json b/packages/@aws-cdk/aws-cloudwatch-actions/package.json index 72d8c10917954..04ed6918384c1 100644 --- a/packages/@aws-cdk/aws-cloudwatch-actions/package.json +++ b/packages/@aws-cdk/aws-cloudwatch-actions/package.json @@ -102,5 +102,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-cloudwatch/package.json b/packages/@aws-cdk/aws-cloudwatch/package.json index 147793d66e74b..c974f8fe0199a 100644 --- a/packages/@aws-cdk/aws-cloudwatch/package.json +++ b/packages/@aws-cdk/aws-cloudwatch/package.json @@ -118,5 +118,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-codeartifact/package.json b/packages/@aws-cdk/aws-codeartifact/package.json index 8181c14bca256..e4b8ef3ffaad6 100644 --- a/packages/@aws-cdk/aws-codeartifact/package.json +++ b/packages/@aws-cdk/aws-codeartifact/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-codebuild/package.json b/packages/@aws-cdk/aws-codebuild/package.json index 30c4250d22fcd..cddc43d715ba0 100644 --- a/packages/@aws-cdk/aws-codebuild/package.json +++ b/packages/@aws-cdk/aws-codebuild/package.json @@ -224,5 +224,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-codecommit/package.json b/packages/@aws-cdk/aws-codecommit/package.json index da8f664ed11c7..36d6a84f8ad2e 100644 --- a/packages/@aws-cdk/aws-codecommit/package.json +++ b/packages/@aws-cdk/aws-codecommit/package.json @@ -121,5 +121,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-codedeploy/package.json b/packages/@aws-cdk/aws-codedeploy/package.json index 6ccc7bcf31bfa..257e001f0fdbe 100644 --- a/packages/@aws-cdk/aws-codedeploy/package.json +++ b/packages/@aws-cdk/aws-codedeploy/package.json @@ -173,5 +173,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-codeguruprofiler/package.json b/packages/@aws-cdk/aws-codeguruprofiler/package.json index 8a23838477f9b..dd7c44d1a3527 100644 --- a/packages/@aws-cdk/aws-codeguruprofiler/package.json +++ b/packages/@aws-cdk/aws-codeguruprofiler/package.json @@ -96,5 +96,8 @@ "maturity": "stable", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-codegurureviewer/package.json b/packages/@aws-cdk/aws-codegurureviewer/package.json index 254ea4f99130c..1b75ae00b4682 100644 --- a/packages/@aws-cdk/aws-codegurureviewer/package.json +++ b/packages/@aws-cdk/aws-codegurureviewer/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-codepipeline-actions/package.json b/packages/@aws-cdk/aws-codepipeline-actions/package.json index 1e63ddf9854cd..c5b2115f2d944 100644 --- a/packages/@aws-cdk/aws-codepipeline-actions/package.json +++ b/packages/@aws-cdk/aws-codepipeline-actions/package.json @@ -180,5 +180,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-codepipeline/package.json b/packages/@aws-cdk/aws-codepipeline/package.json index d8f3dc77e7064..1cc830be83ec6 100644 --- a/packages/@aws-cdk/aws-codepipeline/package.json +++ b/packages/@aws-cdk/aws-codepipeline/package.json @@ -175,5 +175,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-codestar/package.json b/packages/@aws-cdk/aws-codestar/package.json index fb70800f217c9..01024a24b1248 100644 --- a/packages/@aws-cdk/aws-codestar/package.json +++ b/packages/@aws-cdk/aws-codestar/package.json @@ -101,5 +101,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-codestarconnections/package.json b/packages/@aws-cdk/aws-codestarconnections/package.json index cc087ac2da2cc..66ab2aab76ea6 100644 --- a/packages/@aws-cdk/aws-codestarconnections/package.json +++ b/packages/@aws-cdk/aws-codestarconnections/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-codestarnotifications/package.json b/packages/@aws-cdk/aws-codestarnotifications/package.json index ca8438caaae4a..18667b45db8b1 100644 --- a/packages/@aws-cdk/aws-codestarnotifications/package.json +++ b/packages/@aws-cdk/aws-codestarnotifications/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-cognito/package.json b/packages/@aws-cdk/aws-cognito/package.json index 8f1c747c1dbc7..c9bae0f953907 100644 --- a/packages/@aws-cdk/aws-cognito/package.json +++ b/packages/@aws-cdk/aws-cognito/package.json @@ -127,5 +127,8 @@ ], "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-config/package.json b/packages/@aws-cdk/aws-config/package.json index 641207bcd1a6d..59055c7030216 100644 --- a/packages/@aws-cdk/aws-config/package.json +++ b/packages/@aws-cdk/aws-config/package.json @@ -113,5 +113,8 @@ ], "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-databrew/package.json b/packages/@aws-cdk/aws-databrew/package.json index 51d40a0f6e767..be8bdfacf71db 100644 --- a/packages/@aws-cdk/aws-databrew/package.json +++ b/packages/@aws-cdk/aws-databrew/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-datapipeline/package.json b/packages/@aws-cdk/aws-datapipeline/package.json index 4079f7aaf6f65..2e1f552ef864a 100644 --- a/packages/@aws-cdk/aws-datapipeline/package.json +++ b/packages/@aws-cdk/aws-datapipeline/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-datasync/package.json b/packages/@aws-cdk/aws-datasync/package.json index 9ec4b17a3cf8c..124d3871ae0c3 100644 --- a/packages/@aws-cdk/aws-datasync/package.json +++ b/packages/@aws-cdk/aws-datasync/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-dax/package.json b/packages/@aws-cdk/aws-dax/package.json index b6c4a91029939..83fecea8535ee 100644 --- a/packages/@aws-cdk/aws-dax/package.json +++ b/packages/@aws-cdk/aws-dax/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-detective/package.json b/packages/@aws-cdk/aws-detective/package.json index 41010df5668d7..741eade5dc9e2 100644 --- a/packages/@aws-cdk/aws-detective/package.json +++ b/packages/@aws-cdk/aws-detective/package.json @@ -91,5 +91,8 @@ "awscdkio": { "announce": false }, - "maturity": "cfn-only" + "maturity": "cfn-only", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-devopsguru/package.json b/packages/@aws-cdk/aws-devopsguru/package.json index c0c9653ca7c2b..7632ba1d35cea 100644 --- a/packages/@aws-cdk/aws-devopsguru/package.json +++ b/packages/@aws-cdk/aws-devopsguru/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-directoryservice/package.json b/packages/@aws-cdk/aws-directoryservice/package.json index e3d0354c6d391..9be65b5324fff 100644 --- a/packages/@aws-cdk/aws-directoryservice/package.json +++ b/packages/@aws-cdk/aws-directoryservice/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-dlm/package.json b/packages/@aws-cdk/aws-dlm/package.json index 3bce8f24787b6..5829ed6a34e11 100644 --- a/packages/@aws-cdk/aws-dlm/package.json +++ b/packages/@aws-cdk/aws-dlm/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-dms/package.json b/packages/@aws-cdk/aws-dms/package.json index b83918ab2640d..1c6f0a473b7b3 100644 --- a/packages/@aws-cdk/aws-dms/package.json +++ b/packages/@aws-cdk/aws-dms/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-docdb/package.json b/packages/@aws-cdk/aws-docdb/package.json index de00eea1db9b8..658583ff0d644 100644 --- a/packages/@aws-cdk/aws-docdb/package.json +++ b/packages/@aws-cdk/aws-docdb/package.json @@ -108,5 +108,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-dynamodb-global/package.json b/packages/@aws-cdk/aws-dynamodb-global/package.json index 2b42ccaec9524..2a3a41bc29fbb 100644 --- a/packages/@aws-cdk/aws-dynamodb-global/package.json +++ b/packages/@aws-cdk/aws-dynamodb-global/package.json @@ -93,5 +93,8 @@ "awscdkio": { "announce": false }, - "maturity": "deprecated" + "maturity": "deprecated", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-dynamodb/package.json b/packages/@aws-cdk/aws-dynamodb/package.json index 1e486af00be00..ad19b5e91da6b 100644 --- a/packages/@aws-cdk/aws-dynamodb/package.json +++ b/packages/@aws-cdk/aws-dynamodb/package.json @@ -111,5 +111,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-ec2/package.json b/packages/@aws-cdk/aws-ec2/package.json index 74ceca63c984f..97f9edc2c3300 100644 --- a/packages/@aws-cdk/aws-ec2/package.json +++ b/packages/@aws-cdk/aws-ec2/package.json @@ -485,5 +485,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-ecr-assets/package.json b/packages/@aws-cdk/aws-ecr-assets/package.json index be4c4747d2408..3d8b54ee08122 100644 --- a/packages/@aws-cdk/aws-ecr-assets/package.json +++ b/packages/@aws-cdk/aws-ecr-assets/package.json @@ -112,5 +112,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-ecr/package.json b/packages/@aws-cdk/aws-ecr/package.json index c51fefa8ce7b4..95a78ae04c522 100644 --- a/packages/@aws-cdk/aws-ecr/package.json +++ b/packages/@aws-cdk/aws-ecr/package.json @@ -117,5 +117,8 @@ "maturity": "stable", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-ecs-patterns/package.json b/packages/@aws-cdk/aws-ecs-patterns/package.json index c455df841fbae..bc2a816cd6b11 100644 --- a/packages/@aws-cdk/aws-ecs-patterns/package.json +++ b/packages/@aws-cdk/aws-ecs-patterns/package.json @@ -125,5 +125,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-ecs/package.json b/packages/@aws-cdk/aws-ecs/package.json index 86da4b1cfde8e..418619f6ee09c 100644 --- a/packages/@aws-cdk/aws-ecs/package.json +++ b/packages/@aws-cdk/aws-ecs/package.json @@ -271,5 +271,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-efs/package.json b/packages/@aws-cdk/aws-efs/package.json index a909287fbec25..6a7cef054b6a2 100644 --- a/packages/@aws-cdk/aws-efs/package.json +++ b/packages/@aws-cdk/aws-efs/package.json @@ -107,5 +107,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-eks-legacy/package.json b/packages/@aws-cdk/aws-eks-legacy/package.json index 32c6b684fa2c6..67078e5830dcf 100644 --- a/packages/@aws-cdk/aws-eks-legacy/package.json +++ b/packages/@aws-cdk/aws-eks-legacy/package.json @@ -127,5 +127,8 @@ "awscdkio": { "announce": false }, - "maturity": "deprecated" + "maturity": "deprecated", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-eks/package.json b/packages/@aws-cdk/aws-eks/package.json index b11ebda6c655e..6fef676ea0058 100644 --- a/packages/@aws-cdk/aws-eks/package.json +++ b/packages/@aws-cdk/aws-eks/package.json @@ -127,5 +127,8 @@ "maturity": "stable", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-elasticache/package.json b/packages/@aws-cdk/aws-elasticache/package.json index aa85b7db2ecfd..f0b728276adda 100644 --- a/packages/@aws-cdk/aws-elasticache/package.json +++ b/packages/@aws-cdk/aws-elasticache/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-elasticbeanstalk/package.json b/packages/@aws-cdk/aws-elasticbeanstalk/package.json index bb500913fc817..31472f9e21d51 100644 --- a/packages/@aws-cdk/aws-elasticbeanstalk/package.json +++ b/packages/@aws-cdk/aws-elasticbeanstalk/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-elasticloadbalancing/package.json b/packages/@aws-cdk/aws-elasticloadbalancing/package.json index 3fc6fd2bb62ba..24f25fb2470f8 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancing/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancing/package.json @@ -120,5 +120,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-elasticloadbalancingv2-actions/package.json b/packages/@aws-cdk/aws-elasticloadbalancingv2-actions/package.json index 2018764c662af..dc606985d7c17 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancingv2-actions/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancingv2-actions/package.json @@ -100,5 +100,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-elasticloadbalancingv2-targets/package.json b/packages/@aws-cdk/aws-elasticloadbalancingv2-targets/package.json index 0d5a3abc474d8..51ae07a4caaa7 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancingv2-targets/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancingv2-targets/package.json @@ -105,5 +105,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json b/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json index 269f18af95f12..745b87fb4453f 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json @@ -142,5 +142,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-elasticsearch/package.json b/packages/@aws-cdk/aws-elasticsearch/package.json index 89fa4f885f478..df7d8934559ea 100644 --- a/packages/@aws-cdk/aws-elasticsearch/package.json +++ b/packages/@aws-cdk/aws-elasticsearch/package.json @@ -117,5 +117,8 @@ ], "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-emr/package.json b/packages/@aws-cdk/aws-emr/package.json index 09b7d70c7ece6..0865f9a31783d 100644 --- a/packages/@aws-cdk/aws-emr/package.json +++ b/packages/@aws-cdk/aws-emr/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-emrcontainers/package.json b/packages/@aws-cdk/aws-emrcontainers/package.json index ecd7363f54aad..c1e102c6a81e6 100644 --- a/packages/@aws-cdk/aws-emrcontainers/package.json +++ b/packages/@aws-cdk/aws-emrcontainers/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-events-targets/package.json b/packages/@aws-cdk/aws-events-targets/package.json index 900cf3a01723b..8e342f7cda858 100644 --- a/packages/@aws-cdk/aws-events-targets/package.json +++ b/packages/@aws-cdk/aws-events-targets/package.json @@ -140,5 +140,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-events/package.json b/packages/@aws-cdk/aws-events/package.json index 624ff18646bb6..4c8d4fe304598 100644 --- a/packages/@aws-cdk/aws-events/package.json +++ b/packages/@aws-cdk/aws-events/package.json @@ -108,5 +108,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-eventschemas/package.json b/packages/@aws-cdk/aws-eventschemas/package.json index 179f02a568a31..c141a1a389382 100644 --- a/packages/@aws-cdk/aws-eventschemas/package.json +++ b/packages/@aws-cdk/aws-eventschemas/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-fms/package.json b/packages/@aws-cdk/aws-fms/package.json index 2e85eba2e9ffe..352a762f1e877 100644 --- a/packages/@aws-cdk/aws-fms/package.json +++ b/packages/@aws-cdk/aws-fms/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-fsx/package.json b/packages/@aws-cdk/aws-fsx/package.json index 7f03e65a80b11..f004ef50dc8b4 100644 --- a/packages/@aws-cdk/aws-fsx/package.json +++ b/packages/@aws-cdk/aws-fsx/package.json @@ -106,5 +106,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-gamelift/package.json b/packages/@aws-cdk/aws-gamelift/package.json index 0f866c675bacf..9ce7dd38156cb 100644 --- a/packages/@aws-cdk/aws-gamelift/package.json +++ b/packages/@aws-cdk/aws-gamelift/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-globalaccelerator/package.json b/packages/@aws-cdk/aws-globalaccelerator/package.json index 84f457cd0fcce..44d8895ed30a3 100644 --- a/packages/@aws-cdk/aws-globalaccelerator/package.json +++ b/packages/@aws-cdk/aws-globalaccelerator/package.json @@ -99,5 +99,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-glue/package.json b/packages/@aws-cdk/aws-glue/package.json index 22243f7922478..0eaa0ba607b63 100644 --- a/packages/@aws-cdk/aws-glue/package.json +++ b/packages/@aws-cdk/aws-glue/package.json @@ -144,5 +144,8 @@ }, "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-greengrass/package.json b/packages/@aws-cdk/aws-greengrass/package.json index 3ecb652d79f37..666c2f02b99f3 100644 --- a/packages/@aws-cdk/aws-greengrass/package.json +++ b/packages/@aws-cdk/aws-greengrass/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-greengrassv2/package.json b/packages/@aws-cdk/aws-greengrassv2/package.json index be7357654ce55..68d9557122c34 100644 --- a/packages/@aws-cdk/aws-greengrassv2/package.json +++ b/packages/@aws-cdk/aws-greengrassv2/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-guardduty/package.json b/packages/@aws-cdk/aws-guardduty/package.json index 11e01410f2509..2d772252718cb 100644 --- a/packages/@aws-cdk/aws-guardduty/package.json +++ b/packages/@aws-cdk/aws-guardduty/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-iam/package.json b/packages/@aws-cdk/aws-iam/package.json index 2500a54acd9b9..6455688b5c006 100644 --- a/packages/@aws-cdk/aws-iam/package.json +++ b/packages/@aws-cdk/aws-iam/package.json @@ -113,5 +113,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-imagebuilder/package.json b/packages/@aws-cdk/aws-imagebuilder/package.json index a05909901d105..25cf2f2c92657 100644 --- a/packages/@aws-cdk/aws-imagebuilder/package.json +++ b/packages/@aws-cdk/aws-imagebuilder/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-inspector/package.json b/packages/@aws-cdk/aws-inspector/package.json index d61b15d3c8b21..a94beb9c3ab2e 100644 --- a/packages/@aws-cdk/aws-inspector/package.json +++ b/packages/@aws-cdk/aws-inspector/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-iot/package.json b/packages/@aws-cdk/aws-iot/package.json index 57e349ab43059..baec64baf8142 100644 --- a/packages/@aws-cdk/aws-iot/package.json +++ b/packages/@aws-cdk/aws-iot/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-iot1click/package.json b/packages/@aws-cdk/aws-iot1click/package.json index 7206bea590918..4000a6cd6721d 100644 --- a/packages/@aws-cdk/aws-iot1click/package.json +++ b/packages/@aws-cdk/aws-iot1click/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-iotanalytics/package.json b/packages/@aws-cdk/aws-iotanalytics/package.json index 9ccf98c8c45b3..e3b33ffa331b8 100644 --- a/packages/@aws-cdk/aws-iotanalytics/package.json +++ b/packages/@aws-cdk/aws-iotanalytics/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-iotevents/package.json b/packages/@aws-cdk/aws-iotevents/package.json index eed3b7f8cde17..d0ecd71421f76 100644 --- a/packages/@aws-cdk/aws-iotevents/package.json +++ b/packages/@aws-cdk/aws-iotevents/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-iotsitewise/package.json b/packages/@aws-cdk/aws-iotsitewise/package.json index 1f6d59ceaf8a2..e7301a75e3f49 100644 --- a/packages/@aws-cdk/aws-iotsitewise/package.json +++ b/packages/@aws-cdk/aws-iotsitewise/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-iotthingsgraph/package.json b/packages/@aws-cdk/aws-iotthingsgraph/package.json index 7f861b23c861b..59c5396d37c79 100644 --- a/packages/@aws-cdk/aws-iotthingsgraph/package.json +++ b/packages/@aws-cdk/aws-iotthingsgraph/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-iotwireless/package.json b/packages/@aws-cdk/aws-iotwireless/package.json index 68730c1aaebd6..df0a35c2bd8fe 100644 --- a/packages/@aws-cdk/aws-iotwireless/package.json +++ b/packages/@aws-cdk/aws-iotwireless/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-ivs/package.json b/packages/@aws-cdk/aws-ivs/package.json index e89ed75d3c82f..ce179233a9efa 100644 --- a/packages/@aws-cdk/aws-ivs/package.json +++ b/packages/@aws-cdk/aws-ivs/package.json @@ -104,5 +104,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-kendra/package.json b/packages/@aws-cdk/aws-kendra/package.json index c8992330a0419..0ce7d188ea30f 100644 --- a/packages/@aws-cdk/aws-kendra/package.json +++ b/packages/@aws-cdk/aws-kendra/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-kinesis/package.json b/packages/@aws-cdk/aws-kinesis/package.json index a8b384d677161..e8153880812db 100644 --- a/packages/@aws-cdk/aws-kinesis/package.json +++ b/packages/@aws-cdk/aws-kinesis/package.json @@ -99,5 +99,8 @@ "maturity": "stable", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-kinesisanalytics-flink/package.json b/packages/@aws-cdk/aws-kinesisanalytics-flink/package.json index 80dbdfd4aeb76..2d28b8fd4df7e 100644 --- a/packages/@aws-cdk/aws-kinesisanalytics-flink/package.json +++ b/packages/@aws-cdk/aws-kinesisanalytics-flink/package.json @@ -111,5 +111,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-kinesisanalytics/package.json b/packages/@aws-cdk/aws-kinesisanalytics/package.json index bbd35a2c47cd2..c6b67502056e0 100644 --- a/packages/@aws-cdk/aws-kinesisanalytics/package.json +++ b/packages/@aws-cdk/aws-kinesisanalytics/package.json @@ -95,5 +95,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-kinesisfirehose/package.json b/packages/@aws-cdk/aws-kinesisfirehose/package.json index b4e0dd9e8487f..ae2d309ed8e24 100644 --- a/packages/@aws-cdk/aws-kinesisfirehose/package.json +++ b/packages/@aws-cdk/aws-kinesisfirehose/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-kms/package.json b/packages/@aws-cdk/aws-kms/package.json index d4b3f10a58e3f..272c610530357 100644 --- a/packages/@aws-cdk/aws-kms/package.json +++ b/packages/@aws-cdk/aws-kms/package.json @@ -102,5 +102,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-lakeformation/package.json b/packages/@aws-cdk/aws-lakeformation/package.json index d2dfab5e2df22..8c3f72401111d 100644 --- a/packages/@aws-cdk/aws-lakeformation/package.json +++ b/packages/@aws-cdk/aws-lakeformation/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-lambda-destinations/package.json b/packages/@aws-cdk/aws-lambda-destinations/package.json index 6f46b2a23fd6c..096ee2f6fc12f 100644 --- a/packages/@aws-cdk/aws-lambda-destinations/package.json +++ b/packages/@aws-cdk/aws-lambda-destinations/package.json @@ -104,5 +104,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-lambda-event-sources/package.json b/packages/@aws-cdk/aws-lambda-event-sources/package.json index 6d5a36395f693..20112e1029cbf 100644 --- a/packages/@aws-cdk/aws-lambda-event-sources/package.json +++ b/packages/@aws-cdk/aws-lambda-event-sources/package.json @@ -126,5 +126,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-lambda-nodejs/package.json b/packages/@aws-cdk/aws-lambda-nodejs/package.json index 41a8ce5e090ea..82762f1a3e690 100644 --- a/packages/@aws-cdk/aws-lambda-nodejs/package.json +++ b/packages/@aws-cdk/aws-lambda-nodejs/package.json @@ -91,5 +91,8 @@ }, "cdk-build": { "jest": true + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-lambda-python/package.json b/packages/@aws-cdk/aws-lambda-python/package.json index 33b6f04fa903a..f22b2076ee43f 100644 --- a/packages/@aws-cdk/aws-lambda-python/package.json +++ b/packages/@aws-cdk/aws-lambda-python/package.json @@ -90,5 +90,8 @@ }, "cdk-build": { "jest": true + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-lambda/package.json b/packages/@aws-cdk/aws-lambda/package.json index 14816a0c758b2..d9e2c556cf146 100644 --- a/packages/@aws-cdk/aws-lambda/package.json +++ b/packages/@aws-cdk/aws-lambda/package.json @@ -176,5 +176,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-licensemanager/package.json b/packages/@aws-cdk/aws-licensemanager/package.json index a84c776b55897..951f8982392ab 100644 --- a/packages/@aws-cdk/aws-licensemanager/package.json +++ b/packages/@aws-cdk/aws-licensemanager/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-logs-destinations/package.json b/packages/@aws-cdk/aws-logs-destinations/package.json index 644ca59bf6c39..a4edf4ce3473b 100644 --- a/packages/@aws-cdk/aws-logs-destinations/package.json +++ b/packages/@aws-cdk/aws-logs-destinations/package.json @@ -99,5 +99,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-logs/package.json b/packages/@aws-cdk/aws-logs/package.json index 8ef0ebaff9a1a..51ae5b8acf1cb 100644 --- a/packages/@aws-cdk/aws-logs/package.json +++ b/packages/@aws-cdk/aws-logs/package.json @@ -123,5 +123,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-lookoutvision/package.json b/packages/@aws-cdk/aws-lookoutvision/package.json index 9f7d59fd4c321..0a812168e8241 100644 --- a/packages/@aws-cdk/aws-lookoutvision/package.json +++ b/packages/@aws-cdk/aws-lookoutvision/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-macie/package.json b/packages/@aws-cdk/aws-macie/package.json index 9dc3906117ef3..7e2851d383765 100644 --- a/packages/@aws-cdk/aws-macie/package.json +++ b/packages/@aws-cdk/aws-macie/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-managedblockchain/package.json b/packages/@aws-cdk/aws-managedblockchain/package.json index 06f73c3d71b60..c94f2391242fb 100644 --- a/packages/@aws-cdk/aws-managedblockchain/package.json +++ b/packages/@aws-cdk/aws-managedblockchain/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-mediaconnect/package.json b/packages/@aws-cdk/aws-mediaconnect/package.json index e859f9c908c75..dbfd544d52dd2 100644 --- a/packages/@aws-cdk/aws-mediaconnect/package.json +++ b/packages/@aws-cdk/aws-mediaconnect/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-mediaconvert/package.json b/packages/@aws-cdk/aws-mediaconvert/package.json index df3d541f95ac8..938a726f92183 100644 --- a/packages/@aws-cdk/aws-mediaconvert/package.json +++ b/packages/@aws-cdk/aws-mediaconvert/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-medialive/package.json b/packages/@aws-cdk/aws-medialive/package.json index 43dd5b58cf04f..16ecfadc7c1bb 100644 --- a/packages/@aws-cdk/aws-medialive/package.json +++ b/packages/@aws-cdk/aws-medialive/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-mediapackage/package.json b/packages/@aws-cdk/aws-mediapackage/package.json index 22cf558399e53..40913de5b816e 100644 --- a/packages/@aws-cdk/aws-mediapackage/package.json +++ b/packages/@aws-cdk/aws-mediapackage/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-mediastore/package.json b/packages/@aws-cdk/aws-mediastore/package.json index 5e53e2568b020..46878264355f9 100644 --- a/packages/@aws-cdk/aws-mediastore/package.json +++ b/packages/@aws-cdk/aws-mediastore/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-msk/package.json b/packages/@aws-cdk/aws-msk/package.json index 7f1d3b8cf4076..939b66619cda7 100644 --- a/packages/@aws-cdk/aws-msk/package.json +++ b/packages/@aws-cdk/aws-msk/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-mwaa/package.json b/packages/@aws-cdk/aws-mwaa/package.json index 306739c25c7f9..17a5ba80b55f1 100644 --- a/packages/@aws-cdk/aws-mwaa/package.json +++ b/packages/@aws-cdk/aws-mwaa/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-neptune/package.json b/packages/@aws-cdk/aws-neptune/package.json index b0ff4727beb8a..f4ae26436389b 100644 --- a/packages/@aws-cdk/aws-neptune/package.json +++ b/packages/@aws-cdk/aws-neptune/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-networkfirewall/package.json b/packages/@aws-cdk/aws-networkfirewall/package.json index 318ecf359f489..8c218072fe92b 100644 --- a/packages/@aws-cdk/aws-networkfirewall/package.json +++ b/packages/@aws-cdk/aws-networkfirewall/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-networkmanager/package.json b/packages/@aws-cdk/aws-networkmanager/package.json index b90a276b6145c..9c38f74d32916 100644 --- a/packages/@aws-cdk/aws-networkmanager/package.json +++ b/packages/@aws-cdk/aws-networkmanager/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-opsworks/package.json b/packages/@aws-cdk/aws-opsworks/package.json index de850b75cff6f..b00cff3b7056e 100644 --- a/packages/@aws-cdk/aws-opsworks/package.json +++ b/packages/@aws-cdk/aws-opsworks/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-opsworkscm/package.json b/packages/@aws-cdk/aws-opsworkscm/package.json index 996ccc36dc81c..3c102533e89dc 100644 --- a/packages/@aws-cdk/aws-opsworkscm/package.json +++ b/packages/@aws-cdk/aws-opsworkscm/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-pinpoint/package.json b/packages/@aws-cdk/aws-pinpoint/package.json index 3afb1b9429da4..ed7fe94c40090 100644 --- a/packages/@aws-cdk/aws-pinpoint/package.json +++ b/packages/@aws-cdk/aws-pinpoint/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-pinpointemail/package.json b/packages/@aws-cdk/aws-pinpointemail/package.json index bf69610b3548a..5f98fa3d04e24 100644 --- a/packages/@aws-cdk/aws-pinpointemail/package.json +++ b/packages/@aws-cdk/aws-pinpointemail/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-qldb/package.json b/packages/@aws-cdk/aws-qldb/package.json index 433bb0a1c24d9..257716f07faea 100644 --- a/packages/@aws-cdk/aws-qldb/package.json +++ b/packages/@aws-cdk/aws-qldb/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-quicksight/package.json b/packages/@aws-cdk/aws-quicksight/package.json index f0bccf72e3de3..14526eb10a35a 100644 --- a/packages/@aws-cdk/aws-quicksight/package.json +++ b/packages/@aws-cdk/aws-quicksight/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-ram/package.json b/packages/@aws-cdk/aws-ram/package.json index 6dd1956dce5a7..2ca7d27497147 100644 --- a/packages/@aws-cdk/aws-ram/package.json +++ b/packages/@aws-cdk/aws-ram/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-rds/package.json b/packages/@aws-cdk/aws-rds/package.json index 86c229a41f293..01ce0a8ca4a12 100644 --- a/packages/@aws-cdk/aws-rds/package.json +++ b/packages/@aws-cdk/aws-rds/package.json @@ -140,5 +140,8 @@ "maturity": "stable", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-redshift/package.json b/packages/@aws-cdk/aws-redshift/package.json index cac9210cac25b..cede50f836f54 100644 --- a/packages/@aws-cdk/aws-redshift/package.json +++ b/packages/@aws-cdk/aws-redshift/package.json @@ -114,5 +114,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-resourcegroups/package.json b/packages/@aws-cdk/aws-resourcegroups/package.json index 2616f1f58fe7e..bd1848d6681e9 100644 --- a/packages/@aws-cdk/aws-resourcegroups/package.json +++ b/packages/@aws-cdk/aws-resourcegroups/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-robomaker/package.json b/packages/@aws-cdk/aws-robomaker/package.json index 2727122c5e1df..be52d60f6a739 100644 --- a/packages/@aws-cdk/aws-robomaker/package.json +++ b/packages/@aws-cdk/aws-robomaker/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-route53-patterns/package.json b/packages/@aws-cdk/aws-route53-patterns/package.json index d71489948d599..b10d3e4ceb714 100644 --- a/packages/@aws-cdk/aws-route53-patterns/package.json +++ b/packages/@aws-cdk/aws-route53-patterns/package.json @@ -106,5 +106,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-route53-targets/package.json b/packages/@aws-cdk/aws-route53-targets/package.json index e8e2d73947f21..08ea2cb9e91f4 100644 --- a/packages/@aws-cdk/aws-route53-targets/package.json +++ b/packages/@aws-cdk/aws-route53-targets/package.json @@ -115,5 +115,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-route53/package.json b/packages/@aws-cdk/aws-route53/package.json index 23004220fd985..0501fc2b8d654 100644 --- a/packages/@aws-cdk/aws-route53/package.json +++ b/packages/@aws-cdk/aws-route53/package.json @@ -129,5 +129,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-route53resolver/package.json b/packages/@aws-cdk/aws-route53resolver/package.json index 2d7c49574f4a7..79142ad18b7ef 100644 --- a/packages/@aws-cdk/aws-route53resolver/package.json +++ b/packages/@aws-cdk/aws-route53resolver/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-s3-assets/package.json b/packages/@aws-cdk/aws-s3-assets/package.json index 9f9d1e968fcbc..6d03905f64f85 100644 --- a/packages/@aws-cdk/aws-s3-assets/package.json +++ b/packages/@aws-cdk/aws-s3-assets/package.json @@ -107,5 +107,8 @@ }, "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-s3-deployment/package.json b/packages/@aws-cdk/aws-s3-deployment/package.json index cf9089e39d715..fadd40d30149a 100644 --- a/packages/@aws-cdk/aws-s3-deployment/package.json +++ b/packages/@aws-cdk/aws-s3-deployment/package.json @@ -143,5 +143,8 @@ }, "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-s3-notifications/package.json b/packages/@aws-cdk/aws-s3-notifications/package.json index afa1b27a1c80c..00d38a536ca6a 100644 --- a/packages/@aws-cdk/aws-s3-notifications/package.json +++ b/packages/@aws-cdk/aws-s3-notifications/package.json @@ -100,5 +100,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-s3/package.json b/packages/@aws-cdk/aws-s3/package.json index b91cd909efb56..23d3345e1bfd5 100644 --- a/packages/@aws-cdk/aws-s3/package.json +++ b/packages/@aws-cdk/aws-s3/package.json @@ -151,5 +151,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-sagemaker/package.json b/packages/@aws-cdk/aws-sagemaker/package.json index 60c95684c3e51..532be18efa37d 100644 --- a/packages/@aws-cdk/aws-sagemaker/package.json +++ b/packages/@aws-cdk/aws-sagemaker/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-sam/package.json b/packages/@aws-cdk/aws-sam/package.json index 3e989b8edf13b..6e76bd0098faf 100644 --- a/packages/@aws-cdk/aws-sam/package.json +++ b/packages/@aws-cdk/aws-sam/package.json @@ -95,5 +95,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-sdb/package.json b/packages/@aws-cdk/aws-sdb/package.json index 7d7f6d78a4bd6..9c1660f111f4b 100644 --- a/packages/@aws-cdk/aws-sdb/package.json +++ b/packages/@aws-cdk/aws-sdb/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-secretsmanager/package.json b/packages/@aws-cdk/aws-secretsmanager/package.json index 2906dd1c3ad99..fbd131bf94e89 100644 --- a/packages/@aws-cdk/aws-secretsmanager/package.json +++ b/packages/@aws-cdk/aws-secretsmanager/package.json @@ -127,5 +127,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-securityhub/package.json b/packages/@aws-cdk/aws-securityhub/package.json index a434471266f9b..32dc742b38c9c 100644 --- a/packages/@aws-cdk/aws-securityhub/package.json +++ b/packages/@aws-cdk/aws-securityhub/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-servicecatalog/package.json b/packages/@aws-cdk/aws-servicecatalog/package.json index 93012365276b5..546f615a66693 100644 --- a/packages/@aws-cdk/aws-servicecatalog/package.json +++ b/packages/@aws-cdk/aws-servicecatalog/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-servicecatalogappregistry/package.json b/packages/@aws-cdk/aws-servicecatalogappregistry/package.json index 5e889cf4373ea..8887c8c0682d6 100644 --- a/packages/@aws-cdk/aws-servicecatalogappregistry/package.json +++ b/packages/@aws-cdk/aws-servicecatalogappregistry/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-servicediscovery/package.json b/packages/@aws-cdk/aws-servicediscovery/package.json index b76e7009fd3b0..4af44ea9879e1 100644 --- a/packages/@aws-cdk/aws-servicediscovery/package.json +++ b/packages/@aws-cdk/aws-servicediscovery/package.json @@ -161,5 +161,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-ses-actions/package.json b/packages/@aws-cdk/aws-ses-actions/package.json index 00a789c607b3f..ea141e0c8d37f 100644 --- a/packages/@aws-cdk/aws-ses-actions/package.json +++ b/packages/@aws-cdk/aws-ses-actions/package.json @@ -116,5 +116,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-ses/package.json b/packages/@aws-cdk/aws-ses/package.json index 5a28111cbaaf8..c4fac8762a988 100644 --- a/packages/@aws-cdk/aws-ses/package.json +++ b/packages/@aws-cdk/aws-ses/package.json @@ -112,5 +112,8 @@ }, "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-signer/package.json b/packages/@aws-cdk/aws-signer/package.json index 4d9d5cef26a04..40a8f5872b5b1 100644 --- a/packages/@aws-cdk/aws-signer/package.json +++ b/packages/@aws-cdk/aws-signer/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-sns-subscriptions/package.json b/packages/@aws-cdk/aws-sns-subscriptions/package.json index f89258c018931..354b1c386b44e 100644 --- a/packages/@aws-cdk/aws-sns-subscriptions/package.json +++ b/packages/@aws-cdk/aws-sns-subscriptions/package.json @@ -99,5 +99,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-sns/package.json b/packages/@aws-cdk/aws-sns/package.json index dd9486fc85b0e..4b60a53f24c35 100644 --- a/packages/@aws-cdk/aws-sns/package.json +++ b/packages/@aws-cdk/aws-sns/package.json @@ -114,5 +114,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-sqs/package.json b/packages/@aws-cdk/aws-sqs/package.json index 0fd93cb8fd1c5..008b36d37ed4d 100644 --- a/packages/@aws-cdk/aws-sqs/package.json +++ b/packages/@aws-cdk/aws-sqs/package.json @@ -107,5 +107,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-ssm/package.json b/packages/@aws-cdk/aws-ssm/package.json index 3345c0368b78d..234d166c9152f 100644 --- a/packages/@aws-cdk/aws-ssm/package.json +++ b/packages/@aws-cdk/aws-ssm/package.json @@ -100,5 +100,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/aws-sso/package.json b/packages/@aws-cdk/aws-sso/package.json index ec332f75b3477..af088e448aff9 100644 --- a/packages/@aws-cdk/aws-sso/package.json +++ b/packages/@aws-cdk/aws-sso/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-stepfunctions-tasks/package.json b/packages/@aws-cdk/aws-stepfunctions-tasks/package.json index 3031ab05dc9a3..63496e7c5fca5 100644 --- a/packages/@aws-cdk/aws-stepfunctions-tasks/package.json +++ b/packages/@aws-cdk/aws-stepfunctions-tasks/package.json @@ -127,5 +127,8 @@ "env": { "AWSLINT_BASE_CONSTRUCT": true } + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-stepfunctions/package.json b/packages/@aws-cdk/aws-stepfunctions/package.json index 8d149e097da10..80035201f8b36 100644 --- a/packages/@aws-cdk/aws-stepfunctions/package.json +++ b/packages/@aws-cdk/aws-stepfunctions/package.json @@ -109,5 +109,8 @@ "maturity": "stable", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-synthetics/package.json b/packages/@aws-cdk/aws-synthetics/package.json index 8cb33be39e399..3b15e2a0b8ffb 100644 --- a/packages/@aws-cdk/aws-synthetics/package.json +++ b/packages/@aws-cdk/aws-synthetics/package.json @@ -102,5 +102,8 @@ "maturity": "developer-preview", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-timestream/package.json b/packages/@aws-cdk/aws-timestream/package.json index 5baa3f1625ad6..c432583d5cbdb 100644 --- a/packages/@aws-cdk/aws-timestream/package.json +++ b/packages/@aws-cdk/aws-timestream/package.json @@ -91,5 +91,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-transfer/package.json b/packages/@aws-cdk/aws-transfer/package.json index e9a884bb6c2d5..b70fc5929c4c0 100644 --- a/packages/@aws-cdk/aws-transfer/package.json +++ b/packages/@aws-cdk/aws-transfer/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-waf/package.json b/packages/@aws-cdk/aws-waf/package.json index f8ef1f1343d4d..ced3ca7dc741b 100644 --- a/packages/@aws-cdk/aws-waf/package.json +++ b/packages/@aws-cdk/aws-waf/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-wafregional/package.json b/packages/@aws-cdk/aws-wafregional/package.json index fe819f3890521..8e165fd4169f8 100644 --- a/packages/@aws-cdk/aws-wafregional/package.json +++ b/packages/@aws-cdk/aws-wafregional/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-wafv2/package.json b/packages/@aws-cdk/aws-wafv2/package.json index 9fe9d0c90d02e..7bae0807f8209 100644 --- a/packages/@aws-cdk/aws-wafv2/package.json +++ b/packages/@aws-cdk/aws-wafv2/package.json @@ -93,5 +93,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/aws-workspaces/package.json b/packages/@aws-cdk/aws-workspaces/package.json index e0272248924c4..d2a3313f491dd 100644 --- a/packages/@aws-cdk/aws-workspaces/package.json +++ b/packages/@aws-cdk/aws-workspaces/package.json @@ -92,5 +92,8 @@ "maturity": "cfn-only", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/cdk-assets-schema/package.json b/packages/@aws-cdk/cdk-assets-schema/package.json index 08b52ca9c331d..272b962c836ad 100644 --- a/packages/@aws-cdk/cdk-assets-schema/package.json +++ b/packages/@aws-cdk/cdk-assets-schema/package.json @@ -76,5 +76,8 @@ "maturity": "deprecated", "cdk-build": { "jest": true + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/cfnspec/build-tools/create-missing-libraries.ts b/packages/@aws-cdk/cfnspec/build-tools/create-missing-libraries.ts index 6ddfb76a4f782..93d20a169a12a 100644 --- a/packages/@aws-cdk/cfnspec/build-tools/create-missing-libraries.ts +++ b/packages/@aws-cdk/cfnspec/build-tools/create-missing-libraries.ts @@ -195,6 +195,9 @@ async function main() { awscdkio: { announce: false, }, + publishConfig: { + tag: 'latest', + }, }); await write('.gitignore', [ diff --git a/packages/@aws-cdk/cloud-assembly-schema/package.json b/packages/@aws-cdk/cloud-assembly-schema/package.json index 6a47b8381a88c..724512a094826 100644 --- a/packages/@aws-cdk/cloud-assembly-schema/package.json +++ b/packages/@aws-cdk/cloud-assembly-schema/package.json @@ -97,5 +97,8 @@ "maturity": "stable", "cdk-build": { "jest": true + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/cloudformation-diff/package.json b/packages/@aws-cdk/cloudformation-diff/package.json index 83c99aebdd62f..2a1705ab876fd 100644 --- a/packages/@aws-cdk/cloudformation-diff/package.json +++ b/packages/@aws-cdk/cloudformation-diff/package.json @@ -55,5 +55,8 @@ "maturity": "experimental", "cdk-build": { "jest": true + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/cloudformation-include/package.json b/packages/@aws-cdk/cloudformation-include/package.json index 32f8524af52a3..457f11834e88a 100644 --- a/packages/@aws-cdk/cloudformation-include/package.json +++ b/packages/@aws-cdk/cloudformation-include/package.json @@ -393,5 +393,8 @@ "maturity": "stable", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/core/package.json b/packages/@aws-cdk/core/package.json index addcb1b12252c..d18faeea26e0a 100644 --- a/packages/@aws-cdk/core/package.json +++ b/packages/@aws-cdk/core/package.json @@ -217,5 +217,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/custom-resources/package.json b/packages/@aws-cdk/custom-resources/package.json index afc7639b5fab8..8fd47caf032b0 100644 --- a/packages/@aws-cdk/custom-resources/package.json +++ b/packages/@aws-cdk/custom-resources/package.json @@ -121,5 +121,8 @@ "awscdkio": { "announce": false }, - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/cx-api/package.json b/packages/@aws-cdk/cx-api/package.json index dd015ee63986c..9b5c09a9a999d 100644 --- a/packages/@aws-cdk/cx-api/package.json +++ b/packages/@aws-cdk/cx-api/package.json @@ -156,5 +156,8 @@ }, "cdk-build": { "jest": true + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/lambda-layer-awscli/package.json b/packages/@aws-cdk/lambda-layer-awscli/package.json index 838d613b03ddf..115f686f9e414 100644 --- a/packages/@aws-cdk/lambda-layer-awscli/package.json +++ b/packages/@aws-cdk/lambda-layer-awscli/package.json @@ -100,5 +100,8 @@ }, "ubergen": { "exclude": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/lambda-layer-kubectl/package.json b/packages/@aws-cdk/lambda-layer-kubectl/package.json index 7f561b67712e5..9ba2b10e89d47 100644 --- a/packages/@aws-cdk/lambda-layer-kubectl/package.json +++ b/packages/@aws-cdk/lambda-layer-kubectl/package.json @@ -106,5 +106,8 @@ }, "ubergen": { "exclude": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/pipelines/package.json b/packages/@aws-cdk/pipelines/package.json index b13b5877cace7..8717570fc8f1d 100644 --- a/packages/@aws-cdk/pipelines/package.json +++ b/packages/@aws-cdk/pipelines/package.json @@ -124,5 +124,8 @@ "events-method-signature:@aws-cdk/pipelines.UpdatePipelineAction.onStateChange" ] }, - "homepage": "https://github.com/aws/aws-cdk" + "homepage": "https://github.com/aws/aws-cdk", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@aws-cdk/region-info/package.json b/packages/@aws-cdk/region-info/package.json index 72ffe996d0060..fe5a7e1acf1ec 100644 --- a/packages/@aws-cdk/region-info/package.json +++ b/packages/@aws-cdk/region-info/package.json @@ -83,5 +83,8 @@ }, "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@aws-cdk/yaml-cfn/package.json b/packages/@aws-cdk/yaml-cfn/package.json index 7db67d8171bd4..45e121a4cb7f5 100644 --- a/packages/@aws-cdk/yaml-cfn/package.json +++ b/packages/@aws-cdk/yaml-cfn/package.json @@ -86,5 +86,8 @@ "maturity": "experimental", "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/@monocdk-experiment/assert/package.json b/packages/@monocdk-experiment/assert/package.json index aec1c4c0e15b9..63fd5a2e86164 100644 --- a/packages/@monocdk-experiment/assert/package.json +++ b/packages/@monocdk-experiment/assert/package.json @@ -65,5 +65,8 @@ "node": ">= 10.13.0 <13 || >=13.7.0" }, "stability": "experimental", - "maturity": "developer-preview" + "maturity": "developer-preview", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/@monocdk-experiment/rewrite-imports/package.json b/packages/@monocdk-experiment/rewrite-imports/package.json index 0ed9e0d3d8a40..678eba3f64183 100644 --- a/packages/@monocdk-experiment/rewrite-imports/package.json +++ b/packages/@monocdk-experiment/rewrite-imports/package.json @@ -52,5 +52,8 @@ "maturity": "developer-preview", "engines": { "node": ">= 10.13.0 <13 || >=13.7.0" + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/aws-cdk/package.json b/packages/aws-cdk/package.json index dc91f1cbcd3c4..a1c39059aeb8e 100644 --- a/packages/aws-cdk/package.json +++ b/packages/aws-cdk/package.json @@ -105,5 +105,8 @@ "node": ">= 10.13.0 <13 || >=13.7.0" }, "stability": "stable", - "maturity": "stable" + "maturity": "stable", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/awslint/package.json b/packages/awslint/package.json index 5b68615962596..f0a74898f0148 100644 --- a/packages/awslint/package.json +++ b/packages/awslint/package.json @@ -49,5 +49,8 @@ "stability": "experimental", "engines": { "node": ">= 10.13.0 <13 || >=13.7.0" + }, + "publishConfig": { + "tag": "latest" } } diff --git a/packages/cdk-assets/package.json b/packages/cdk-assets/package.json index 43509a12fb16a..b2a142c523dd6 100644 --- a/packages/cdk-assets/package.json +++ b/packages/cdk-assets/package.json @@ -68,5 +68,8 @@ "shrinkWrap": true }, "stability": "experimental", - "maturity": "experimental" + "maturity": "experimental", + "publishConfig": { + "tag": "latest" + } } diff --git a/packages/monocdk/package.json b/packages/monocdk/package.json index 0d4911a467de5..d328a702272e3 100644 --- a/packages/monocdk/package.json +++ b/packages/monocdk/package.json @@ -310,5 +310,8 @@ ], "awscdkio": { "announce": false + }, + "publishConfig": { + "tag": "latest" } } diff --git a/release.json b/release.json index bbd42d0c80ea6..318d5d9a12072 100644 --- a/release.json +++ b/release.json @@ -1,5 +1,4 @@ { "majorVersion": 1, - "releaseType": "stable", - "distTag": "latest" + "releaseType": "stable" } diff --git a/scripts/check-api-compatibility.sh b/scripts/check-api-compatibility.sh index ece902e7130f9..1b99f9e05f188 100755 --- a/scripts/check-api-compatibility.sh +++ b/scripts/check-api-compatibility.sh @@ -9,6 +9,10 @@ package_name() { node -pe "require('$1/package.json').name" } +package_name_and_dist_tag() { + node -pe "const pkg = require('$1/package.json'); pkg.name + '@' + pkg.publishConfig.tag" +} + # Determine whether an NPM package exists on NPM # # Doesn't use 'npm view' as that is slow. Direct curl'ing npmjs is better @@ -18,7 +22,6 @@ package_exists_on_npm() { curl -I 2>/dev/null https://registry.npmjs.org/$pkg/$ver | head -n 1 | grep 200 >/dev/null } - #---------------------------------------------------------------------- list_jsii_packages() { @@ -33,12 +36,11 @@ jsii_package_dirs=$(list_jsii_packages) #---------------------------------------------------------------------- -# Input a directory, output the package name IF it exists on GitHub -dirs_to_existing_names() { +# Input a directory, output the directory IF it exists on NPM +dirs_for_existing_pkgs() { local dir="$1" - local name=$(package_name "$dir") - if package_exists_on_npm $name; then - echo "$name" + if package_exists_on_npm $(package_name $dir); then + echo "$dir" echo -n "." >&2 else echo -n "x" >&2 @@ -46,28 +48,29 @@ dirs_to_existing_names() { } export -f package_name +export -f package_name_and_dist_tag export -f package_exists_on_npm -export -f dirs_to_existing_names +export -f dirs_for_existing_pkgs if ! ${SKIP_DOWNLOAD:-false}; then echo "Filtering on existing packages on NPM..." >&2 # In parallel - existing_names=$(echo "$jsii_package_dirs" | xargs -n1 -P4 -I {} bash -c 'dirs_to_existing_names "$@"' _ {}) + existing_pkg_dirs=$(echo "$jsii_package_dirs" | xargs -n1 -P4 -I {} bash -c 'dirs_for_existing_pkgs "$@"' _ {}) + existing_names=$(echo "$existing_pkg_dirs" | xargs -n1 -P4 -I {} bash -c 'package_name "$@"' _ {}) echo " Done." >&2 echo "Determining baseline version..." >&2 version=$(node -p 'require("./scripts/resolve-version.js").version') - disttag=$(node -p 'require("./scripts/resolve-version.js").npmDistTag') echo " Current version is $version." >&2 if ! package_exists_on_npm aws-cdk $version; then - echo " Version $version does not exist in npm. Falling back to resolved dist tag '$disttag'" >&2 - version=$disttag + echo " Version $version does not exist in npm. Falling back to package dist tags" >&2 + existing_names=$(echo "$existing_pkg_dirs" | xargs -n1 -P4 -I {} bash -c 'package_name_and_dist_tag "$@"' _ {}) + else + echo "Using version '$version' as the baseline..." + existing_names=$(echo "$existing_names" | sed -e "s/$/@$version/") fi - echo "Using version '$version' as the baseline..." - existing_names=$(echo "$existing_names" | sed -e "s/$/@$version/") - rm -rf $tmpdir mkdir -p $tmpdir diff --git a/scripts/resolve-version-lib.js b/scripts/resolve-version-lib.js index 63d54f33c4a70..2a7f0e4eecebc 100755 --- a/scripts/resolve-version-lib.js +++ b/scripts/resolve-version-lib.js @@ -3,13 +3,13 @@ const path = require('path'); const fs = require('fs'); //============================================================= -// UNIT TESTS: tools/script-tests/test/resolve-version.test.js +// UNIT TESTS: tools/script-tests/test/resolve-version.test.js //============================================================= function resolveVersion(rootdir) { const ALLOWED_RELEASE_TYPES = [ 'alpha', 'rc', 'stable' ]; const MIN_MAJOR = 1, MAX_MAJOR = 2; // extra safety: update to allow new major versions - + // // parse release.json // @@ -17,31 +17,30 @@ function resolveVersion(rootdir) { const releaseConfig = require(releaseFile); const majorVersion = releaseConfig.majorVersion; const releaseType = releaseConfig.releaseType; - const distTag = releaseConfig.distTag; if (!majorVersion) { throw new Error(`"majorVersion"" must be defined in ${releaseFile}`); } if (!releaseType) { throw new Error(`"releaseType" must be defined in ${releaseFile}`); } if (typeof(majorVersion) !== 'number') { throw new Error(`majorVersion=${majorVersion} must be a number`); } if (majorVersion < MIN_MAJOR || majorVersion > MAX_MAJOR) { throw new Error(`majorVersion=${majorVersion} is an unsupported major version (should be between ${MIN_MAJOR} and ${MAX_MAJOR})`); } if (!ALLOWED_RELEASE_TYPES.includes(releaseType)) { throw new Error(`releaseType=${releaseType} is not allowed. Allowed values: ${ALLOWED_RELEASE_TYPES.join(',')}`); } - + // // resolve and check that we have a version file // - + const versionFile = `version.v${majorVersion}.json`; const versionFilePath = path.join(rootdir, versionFile); if (!fs.existsSync(versionFilePath)) { throw new Error(`unable to find version file ${versionFile} for major version ${majorVersion}`); } - + // // validate that current version matches the requirements // - + const currentVersion = require(versionFilePath).version; console.error(`current version: ${currentVersion}`); - if (!currentVersion.startsWith(`${majorVersion}.`)) { - throw new Error(`current version "${currentVersion}" does not use the expected major version ${majorVersion}`); + if (!currentVersion.startsWith(`${majorVersion}.`)) { + throw new Error(`current version "${currentVersion}" does not use the expected major version ${majorVersion}`); } // if this is a pre-release, make sure current version includes the // pre-release tag (e.g. "1.0.0-alpha.0"). we allow stable branches to bump to @@ -51,27 +50,26 @@ function resolveVersion(rootdir) { throw new Error(`could not find pre-release tag "${releaseType}" in current version "${currentVersion}" defined in ${versionFile}`); } } - + // // determine changelog file name // - - const changelogFile = majorVersion === 1 - ? 'CHANGELOG.md' + + const changelogFile = majorVersion === 1 + ? 'CHANGELOG.md' : `CHANGELOG.v${majorVersion}.md`; - + // // export all of it // - + return { version: currentVersion, versionFile: versionFile, changelogFile: changelogFile, prerelease: releaseType !== 'stable' ? releaseType : undefined, marker: '0.0.0', - ...(distTag ? { npmDistTag: distTag } : {}), }; } -module.exports = resolveVersion; \ No newline at end of file +module.exports = resolveVersion; diff --git a/scripts/script-tests/resolve-version.test.js b/scripts/script-tests/resolve-version.test.js index 57e72019245d8..442e97e45b3cf 100644 --- a/scripts/script-tests/resolve-version.test.js +++ b/scripts/script-tests/resolve-version.test.js @@ -67,7 +67,7 @@ happy({ happy({ name: 'to support BUMP_CANDIDATE stable branches can be bumped towards a pre-release', - inputs: { + inputs: { 'release.json': { majorVersion: 2, releaseType: 'stable' }, 'version.v2.json': { version: '2.0.0-rc.0' } }, @@ -80,23 +80,6 @@ happy({ } }); -happy({ - name: 'dist tag is correctly shown', - inputs: { - 'release.json': { majorVersion: 2, releaseType: 'alpha', distTag: 'v2-preview' }, - 'version.v2.json': { version: '2.0.0-alpha.5' } - }, - expected: { - changelogFile: 'CHANGELOG.v2.md', - marker: '0.0.0', - prerelease: 'alpha', - version: '2.0.0-alpha.5', - versionFile: 'version.v2.json', - npmDistTag: 'v2-preview', - } -}); - - failure({ name: 'invalid release type', inputs: { 'release.json': { majorVersion: 2, releaseType: 'build' } }, @@ -129,7 +112,7 @@ failure({ failure({ name: 'actual version not the right major', - inputs: { + inputs: { 'release.json': { majorVersion: 1, releaseType: 'stable' }, 'version.v1.json': { version: '2.0.0' } }, @@ -138,7 +121,7 @@ failure({ failure({ name: 'actual version not the right pre-release', - inputs: { + inputs: { 'release.json': { majorVersion: 2, releaseType: 'alpha' }, 'version.v2.json': { version: '2.0.0-rc.0' } }, diff --git a/tools/pkglint/lib/rules.ts b/tools/pkglint/lib/rules.ts index 0d75c3b1113cf..67e26c9634712 100644 --- a/tools/pkglint/lib/rules.ts +++ b/tools/pkglint/lib/rules.ts @@ -46,9 +46,38 @@ export class DescriptionIsRequired extends ValidationRule { } } +/** + * Verify that all packages have a publishConfig with a publish tag set. + */ +export class PublishConfigTagIsRequired extends ValidationRule { + public readonly name = 'package-info/publish-config-tag'; + + public validate(pkg: PackageJson): void { + if (pkg.json.private) { return; } + + // While v2 is still under development, we publish all v2 packages with the 'next' + // distribution tag, while still tagging all v1 packages as 'latest'. + // The one exception is 'aws-cdk-lib', since it's a new package for v2. + const newV2Packages = ['aws-cdk-lib']; + const defaultPublishTag = (cdkMajorVersion() === 2 && !newV2Packages.includes(pkg.json.name)) ? 'next' : 'latest'; + + if (pkg.json.publishConfig?.tag !== defaultPublishTag) { + pkg.report({ + ruleName: this.name, + message: `publishConfig.tag must be ${defaultPublishTag}`, + fix: (() => { + const publishConfig = pkg.json.publishConfig ?? {}; + publishConfig.tag = defaultPublishTag; + pkg.json.publishConfig = publishConfig; + }), + }); + } + } +} + /** * Verify cdk.out directory is included in npmignore since we should not be - * publihsing it. + * publishing it. */ export class CdkOutMustBeNpmIgnored extends ValidationRule {