From 5d116e3f626b41d283fc733e4f5a4af740d34a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=91=A8=F0=9F=8F=BC=E2=80=8D=F0=9F=92=BB=20Romain=20M?= =?UTF-8?q?arcadier-Muller?= Date: Wed, 8 Aug 2018 14:22:38 +0200 Subject: [PATCH] Disable .NET targets (the JSII runtime is not yet published to Nuget) --- packages/@aws-cdk/assets/package.json | 3 -- packages/@aws-cdk/aws-apigateway/package.json | 3 -- .../aws-applicationautoscaling/package.json | 3 -- packages/@aws-cdk/aws-appsync/package.json | 3 -- packages/@aws-cdk/aws-athena/package.json | 3 -- .../@aws-cdk/aws-autoscaling/package.json | 3 -- .../aws-autoscalingplans/package.json | 3 -- packages/@aws-cdk/aws-batch/package.json | 3 -- packages/@aws-cdk/aws-budgets/package.json | 3 -- .../aws-certificatemanager/package.json | 3 -- packages/@aws-cdk/aws-cloud9/package.json | 3 -- .../@aws-cdk/aws-cloudformation/package.json | 3 -- packages/@aws-cdk/aws-cloudfront/package.json | 3 -- packages/@aws-cdk/aws-cloudtrail/package.json | 3 -- packages/@aws-cdk/aws-cloudwatch/package.json | 3 -- .../aws-codebuild-codepipeline/package.json | 3 -- packages/@aws-cdk/aws-codebuild/package.json | 3 -- .../aws-codecommit-codepipeline/package.json | 3 -- packages/@aws-cdk/aws-codecommit/package.json | 3 -- packages/@aws-cdk/aws-codedeploy/package.json | 3 -- .../@aws-cdk/aws-codepipeline/package.json | 3 -- packages/@aws-cdk/aws-cognito/package.json | 3 -- packages/@aws-cdk/aws-config/package.json | 3 -- .../aws-custom-resources/package.json | 3 -- .../@aws-cdk/aws-datapipeline/package.json | 3 -- packages/@aws-cdk/aws-dax/package.json | 3 -- .../aws-directoryservice/package.json | 3 -- packages/@aws-cdk/aws-dms/package.json | 3 -- packages/@aws-cdk/aws-dynamodb/package.json | 3 -- packages/@aws-cdk/aws-ec2/package.json | 3 -- packages/@aws-cdk/aws-ecr/package.json | 3 -- packages/@aws-cdk/aws-ecs/package.json | 3 -- packages/@aws-cdk/aws-efs/package.json | 3 -- packages/@aws-cdk/aws-eks/package.json | 3 -- .../@aws-cdk/aws-elasticache/package.json | 3 -- .../aws-elasticbeanstalk/package.json | 3 -- .../aws-elasticloadbalancing/package.json | 3 -- .../aws-elasticloadbalancingv2/package.json | 3 -- .../@aws-cdk/aws-elasticsearch/package.json | 3 -- packages/@aws-cdk/aws-emr/package.json | 3 -- packages/@aws-cdk/aws-events/package.json | 3 -- packages/@aws-cdk/aws-gamelift/package.json | 3 -- packages/@aws-cdk/aws-glue/package.json | 3 -- packages/@aws-cdk/aws-guardduty/package.json | 3 -- packages/@aws-cdk/aws-iam/package.json | 3 -- packages/@aws-cdk/aws-inspector/package.json | 3 -- packages/@aws-cdk/aws-iot/package.json | 3 -- packages/@aws-cdk/aws-kinesis/package.json | 3 -- .../aws-kinesisanalytics/package.json | 3 -- .../@aws-cdk/aws-kinesisfirehose/package.json | 3 -- packages/@aws-cdk/aws-kms/package.json | 3 -- .../aws-lambda-codepipeline/package.json | 3 -- packages/@aws-cdk/aws-lambda/package.json | 3 -- packages/@aws-cdk/aws-logs/package.json | 3 -- packages/@aws-cdk/aws-neptune/package.json | 3 -- packages/@aws-cdk/aws-opsworks/package.json | 3 -- .../@aws-cdk/aws-quickstarts/package.json | 3 -- packages/@aws-cdk/aws-rds/package.json | 3 -- packages/@aws-cdk/aws-redshift/package.json | 3 -- packages/@aws-cdk/aws-route53/package.json | 3 -- packages/@aws-cdk/aws-s3/package.json | 3 -- packages/@aws-cdk/aws-sdb/package.json | 3 -- packages/@aws-cdk/aws-serverless/package.json | 3 -- .../@aws-cdk/aws-servicecatalog/package.json | 3 -- .../aws-servicediscovery/package.json | 3 -- packages/@aws-cdk/aws-ses/package.json | 3 -- packages/@aws-cdk/aws-sns/package.json | 3 -- packages/@aws-cdk/aws-sqs/package.json | 3 -- packages/@aws-cdk/aws-ssm/package.json | 3 -- .../@aws-cdk/aws-stepfunctions/package.json | 3 -- packages/@aws-cdk/aws-waf/package.json | 3 -- .../@aws-cdk/aws-wafregional/package.json | 3 -- packages/@aws-cdk/aws-workspaces/package.json | 3 -- packages/@aws-cdk/cdk/package.json | 3 -- packages/@aws-cdk/cx-api/package.json | 3 -- packages/@aws-cdk/runtime-values/package.json | 3 -- tools/pkglint/lib/rules.ts | 30 +------------------ 77 files changed, 1 insertion(+), 257 deletions(-) diff --git a/packages/@aws-cdk/assets/package.json b/packages/@aws-cdk/assets/package.json index b3b888bec5066..5a4a741a42377 100644 --- a/packages/@aws-cdk/assets/package.json +++ b/packages/@aws-cdk/assets/package.json @@ -14,9 +14,6 @@ "artifactId": "cdk-assets" } }, - "dotnet": { - "namespace": "Amazon.CDK.Assets" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-apigateway/package.json b/packages/@aws-cdk/aws-apigateway/package.json index 4985114fc3d2c..140aae0675954 100644 --- a/packages/@aws-cdk/aws-apigateway/package.json +++ b/packages/@aws-cdk/aws-apigateway/package.json @@ -14,9 +14,6 @@ "artifactId": "apigateway" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.APIGateway" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-applicationautoscaling/package.json b/packages/@aws-cdk/aws-applicationautoscaling/package.json index 4132ec239fe88..7af9743873637 100644 --- a/packages/@aws-cdk/aws-applicationautoscaling/package.json +++ b/packages/@aws-cdk/aws-applicationautoscaling/package.json @@ -14,9 +14,6 @@ "artifactId": "applicationautoscaling" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.ApplicationAutoScaling" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-appsync/package.json b/packages/@aws-cdk/aws-appsync/package.json index efab44b09c351..7f8fcccef027a 100644 --- a/packages/@aws-cdk/aws-appsync/package.json +++ b/packages/@aws-cdk/aws-appsync/package.json @@ -14,9 +14,6 @@ "artifactId": "appsync" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.AppSync" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-athena/package.json b/packages/@aws-cdk/aws-athena/package.json index cf1a975eab0b6..77988384b7583 100644 --- a/packages/@aws-cdk/aws-athena/package.json +++ b/packages/@aws-cdk/aws-athena/package.json @@ -14,9 +14,6 @@ "artifactId": "athena" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Athena" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-autoscaling/package.json b/packages/@aws-cdk/aws-autoscaling/package.json index 64ded29bfd94b..8c43db6fcb53e 100644 --- a/packages/@aws-cdk/aws-autoscaling/package.json +++ b/packages/@aws-cdk/aws-autoscaling/package.json @@ -14,9 +14,6 @@ "artifactId": "autoscaling" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.AutoScaling" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-autoscalingplans/package.json b/packages/@aws-cdk/aws-autoscalingplans/package.json index e7b7cdaa3ff70..a1689a4d9b003 100644 --- a/packages/@aws-cdk/aws-autoscalingplans/package.json +++ b/packages/@aws-cdk/aws-autoscalingplans/package.json @@ -14,9 +14,6 @@ "artifactId": "autoscalingplans" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.AutoScalingPlans" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-batch/package.json b/packages/@aws-cdk/aws-batch/package.json index d3f5939e79bc2..467a2ce0f821a 100644 --- a/packages/@aws-cdk/aws-batch/package.json +++ b/packages/@aws-cdk/aws-batch/package.json @@ -14,9 +14,6 @@ "artifactId": "batch" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Batch" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-budgets/package.json b/packages/@aws-cdk/aws-budgets/package.json index e16a61562d057..8916cb0a18f79 100644 --- a/packages/@aws-cdk/aws-budgets/package.json +++ b/packages/@aws-cdk/aws-budgets/package.json @@ -14,9 +14,6 @@ "artifactId": "budgets" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Budgets" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-certificatemanager/package.json b/packages/@aws-cdk/aws-certificatemanager/package.json index e986111aad8be..48a001c926722 100644 --- a/packages/@aws-cdk/aws-certificatemanager/package.json +++ b/packages/@aws-cdk/aws-certificatemanager/package.json @@ -14,9 +14,6 @@ "artifactId": "certificatemanager" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.CertificateManager" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-cloud9/package.json b/packages/@aws-cdk/aws-cloud9/package.json index 3327f54c50814..ed8282fc8f633 100644 --- a/packages/@aws-cdk/aws-cloud9/package.json +++ b/packages/@aws-cdk/aws-cloud9/package.json @@ -14,9 +14,6 @@ "artifactId": "cloud9" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Cloud9" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-cloudformation/package.json b/packages/@aws-cdk/aws-cloudformation/package.json index 980c0f92c8840..fdac279294ed2 100644 --- a/packages/@aws-cdk/aws-cloudformation/package.json +++ b/packages/@aws-cdk/aws-cloudformation/package.json @@ -14,9 +14,6 @@ "artifactId": "cloudformation" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.CloudFormation" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-cloudfront/package.json b/packages/@aws-cdk/aws-cloudfront/package.json index ba65b8e29e5e5..9aa9a46bacd4b 100644 --- a/packages/@aws-cdk/aws-cloudfront/package.json +++ b/packages/@aws-cdk/aws-cloudfront/package.json @@ -14,9 +14,6 @@ "artifactId": "cloudfront" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.CloudFront" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-cloudtrail/package.json b/packages/@aws-cdk/aws-cloudtrail/package.json index 3afb5b33d8e2a..12359860b5f53 100644 --- a/packages/@aws-cdk/aws-cloudtrail/package.json +++ b/packages/@aws-cdk/aws-cloudtrail/package.json @@ -14,9 +14,6 @@ "artifactId": "cloudtrail" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.CloudTrail" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-cloudwatch/package.json b/packages/@aws-cdk/aws-cloudwatch/package.json index 7ce327aac926a..a90efcccec876 100644 --- a/packages/@aws-cdk/aws-cloudwatch/package.json +++ b/packages/@aws-cdk/aws-cloudwatch/package.json @@ -14,9 +14,6 @@ "artifactId": "cloudwatch" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.CloudWatch" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-codebuild-codepipeline/package.json b/packages/@aws-cdk/aws-codebuild-codepipeline/package.json index 8ffb4e314db51..33ecb42a9f30a 100644 --- a/packages/@aws-cdk/aws-codebuild-codepipeline/package.json +++ b/packages/@aws-cdk/aws-codebuild-codepipeline/package.json @@ -14,9 +14,6 @@ "artifactId": "codebuild-codepipeline" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Codebuild.Codepipeline" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-codebuild/package.json b/packages/@aws-cdk/aws-codebuild/package.json index 3857b50531adf..957662ceb970f 100644 --- a/packages/@aws-cdk/aws-codebuild/package.json +++ b/packages/@aws-cdk/aws-codebuild/package.json @@ -14,9 +14,6 @@ "artifactId": "codebuild" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.CodeBuild" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-codecommit-codepipeline/package.json b/packages/@aws-cdk/aws-codecommit-codepipeline/package.json index acc57c80d712a..219abeb192e40 100644 --- a/packages/@aws-cdk/aws-codecommit-codepipeline/package.json +++ b/packages/@aws-cdk/aws-codecommit-codepipeline/package.json @@ -14,9 +14,6 @@ "artifactId": "codecommit-codepipeline" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Codecommit.Codepipeline" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-codecommit/package.json b/packages/@aws-cdk/aws-codecommit/package.json index ad6a85533d264..570626caee8b3 100644 --- a/packages/@aws-cdk/aws-codecommit/package.json +++ b/packages/@aws-cdk/aws-codecommit/package.json @@ -14,9 +14,6 @@ "artifactId": "codecommit" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.CodeCommit" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-codedeploy/package.json b/packages/@aws-cdk/aws-codedeploy/package.json index afb804b357478..cfbf41bccef2a 100644 --- a/packages/@aws-cdk/aws-codedeploy/package.json +++ b/packages/@aws-cdk/aws-codedeploy/package.json @@ -14,9 +14,6 @@ "artifactId": "codedeploy" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.CodeDeploy" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-codepipeline/package.json b/packages/@aws-cdk/aws-codepipeline/package.json index 8fcda3c768ed8..386ba309daa00 100644 --- a/packages/@aws-cdk/aws-codepipeline/package.json +++ b/packages/@aws-cdk/aws-codepipeline/package.json @@ -14,9 +14,6 @@ "artifactId": "codepipeline" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.CodePipeline" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-cognito/package.json b/packages/@aws-cdk/aws-cognito/package.json index 0cd0e6fb17ec9..d6da19f48d07b 100644 --- a/packages/@aws-cdk/aws-cognito/package.json +++ b/packages/@aws-cdk/aws-cognito/package.json @@ -14,9 +14,6 @@ "artifactId": "cognito" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Cognito" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-config/package.json b/packages/@aws-cdk/aws-config/package.json index cea7499feb51f..12c57fd42ce9f 100644 --- a/packages/@aws-cdk/aws-config/package.json +++ b/packages/@aws-cdk/aws-config/package.json @@ -14,9 +14,6 @@ "artifactId": "config" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Config" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-custom-resources/package.json b/packages/@aws-cdk/aws-custom-resources/package.json index 5d9bfff85bfd0..3dc25c14b60a1 100644 --- a/packages/@aws-cdk/aws-custom-resources/package.json +++ b/packages/@aws-cdk/aws-custom-resources/package.json @@ -14,9 +14,6 @@ "artifactId": "custom-resources" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.CustomResources" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-datapipeline/package.json b/packages/@aws-cdk/aws-datapipeline/package.json index 7376291503cef..cf992d8958715 100644 --- a/packages/@aws-cdk/aws-datapipeline/package.json +++ b/packages/@aws-cdk/aws-datapipeline/package.json @@ -14,9 +14,6 @@ "artifactId": "datapipeline" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.DataPipeline" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-dax/package.json b/packages/@aws-cdk/aws-dax/package.json index 0af2ce81ed7a3..d6c704be28272 100644 --- a/packages/@aws-cdk/aws-dax/package.json +++ b/packages/@aws-cdk/aws-dax/package.json @@ -14,9 +14,6 @@ "artifactId": "dax" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.DAX" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-directoryservice/package.json b/packages/@aws-cdk/aws-directoryservice/package.json index 3d812156f32ec..b8cd672f9ddb7 100644 --- a/packages/@aws-cdk/aws-directoryservice/package.json +++ b/packages/@aws-cdk/aws-directoryservice/package.json @@ -14,9 +14,6 @@ "artifactId": "directoryservice" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.DirectoryService" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-dms/package.json b/packages/@aws-cdk/aws-dms/package.json index b1f23202e7c22..5c633830bef4c 100644 --- a/packages/@aws-cdk/aws-dms/package.json +++ b/packages/@aws-cdk/aws-dms/package.json @@ -14,9 +14,6 @@ "artifactId": "dms" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.DMS" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-dynamodb/package.json b/packages/@aws-cdk/aws-dynamodb/package.json index 881403328ed56..1d66f649d213c 100644 --- a/packages/@aws-cdk/aws-dynamodb/package.json +++ b/packages/@aws-cdk/aws-dynamodb/package.json @@ -14,9 +14,6 @@ "artifactId": "dynamodb" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.DynamoDB" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-ec2/package.json b/packages/@aws-cdk/aws-ec2/package.json index 0976bbe1a5875..4f0544bb771da 100644 --- a/packages/@aws-cdk/aws-ec2/package.json +++ b/packages/@aws-cdk/aws-ec2/package.json @@ -14,9 +14,6 @@ "artifactId": "ec2" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.EC2" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-ecr/package.json b/packages/@aws-cdk/aws-ecr/package.json index 6af6f0b691297..f32da9648cdfe 100644 --- a/packages/@aws-cdk/aws-ecr/package.json +++ b/packages/@aws-cdk/aws-ecr/package.json @@ -14,9 +14,6 @@ "artifactId": "ecr" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.ECR" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-ecs/package.json b/packages/@aws-cdk/aws-ecs/package.json index 739fb40252a2e..0d491976aec35 100644 --- a/packages/@aws-cdk/aws-ecs/package.json +++ b/packages/@aws-cdk/aws-ecs/package.json @@ -14,9 +14,6 @@ "artifactId": "ecs" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.ECS" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-efs/package.json b/packages/@aws-cdk/aws-efs/package.json index 6d045936aa219..09ac9e36242f3 100644 --- a/packages/@aws-cdk/aws-efs/package.json +++ b/packages/@aws-cdk/aws-efs/package.json @@ -14,9 +14,6 @@ "artifactId": "efs" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.EFS" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-eks/package.json b/packages/@aws-cdk/aws-eks/package.json index 82efaaa343da9..c55a8c5f92dca 100644 --- a/packages/@aws-cdk/aws-eks/package.json +++ b/packages/@aws-cdk/aws-eks/package.json @@ -14,9 +14,6 @@ "artifactId": "eks" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.EKS" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-elasticache/package.json b/packages/@aws-cdk/aws-elasticache/package.json index c635d5ea11bec..585cad08b3c0c 100644 --- a/packages/@aws-cdk/aws-elasticache/package.json +++ b/packages/@aws-cdk/aws-elasticache/package.json @@ -14,9 +14,6 @@ "artifactId": "elasticache" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.ElastiCache" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-elasticbeanstalk/package.json b/packages/@aws-cdk/aws-elasticbeanstalk/package.json index cc917eaf079ea..6b7bb8ffa0bbf 100644 --- a/packages/@aws-cdk/aws-elasticbeanstalk/package.json +++ b/packages/@aws-cdk/aws-elasticbeanstalk/package.json @@ -14,9 +14,6 @@ "artifactId": "elasticbeanstalk" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.ElasticBeanstalk" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-elasticloadbalancing/package.json b/packages/@aws-cdk/aws-elasticloadbalancing/package.json index bf6a49959064b..e3ea0fd4de384 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancing/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancing/package.json @@ -14,9 +14,6 @@ "artifactId": "elasticloadbalancing" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.ElasticLoadBalancing" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json b/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json index 77f658a599122..b499a86dd9ec3 100644 --- a/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json +++ b/packages/@aws-cdk/aws-elasticloadbalancingv2/package.json @@ -14,9 +14,6 @@ "artifactId": "elasticloadbalancingv2" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.ElasticLoadBalancingV2" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-elasticsearch/package.json b/packages/@aws-cdk/aws-elasticsearch/package.json index 257a06823ed3b..2c16d4ef934ef 100644 --- a/packages/@aws-cdk/aws-elasticsearch/package.json +++ b/packages/@aws-cdk/aws-elasticsearch/package.json @@ -14,9 +14,6 @@ "artifactId": "elasticsearch" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Elasticsearch" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-emr/package.json b/packages/@aws-cdk/aws-emr/package.json index ee991bb60261a..0a9b547b0aa09 100644 --- a/packages/@aws-cdk/aws-emr/package.json +++ b/packages/@aws-cdk/aws-emr/package.json @@ -14,9 +14,6 @@ "artifactId": "emr" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.EMR" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-events/package.json b/packages/@aws-cdk/aws-events/package.json index ef3d3fc3b84c0..a803ce1b50ced 100644 --- a/packages/@aws-cdk/aws-events/package.json +++ b/packages/@aws-cdk/aws-events/package.json @@ -14,9 +14,6 @@ "artifactId": "events" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Events" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-gamelift/package.json b/packages/@aws-cdk/aws-gamelift/package.json index f70ee12d4e194..075949f05c2f7 100644 --- a/packages/@aws-cdk/aws-gamelift/package.json +++ b/packages/@aws-cdk/aws-gamelift/package.json @@ -14,9 +14,6 @@ "artifactId": "gamelift" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.GameLift" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-glue/package.json b/packages/@aws-cdk/aws-glue/package.json index 812f41ac0a6c5..5bc475dd1e35b 100644 --- a/packages/@aws-cdk/aws-glue/package.json +++ b/packages/@aws-cdk/aws-glue/package.json @@ -14,9 +14,6 @@ "artifactId": "glue" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Glue" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-guardduty/package.json b/packages/@aws-cdk/aws-guardduty/package.json index e338a07d6a411..d95be79e520ee 100644 --- a/packages/@aws-cdk/aws-guardduty/package.json +++ b/packages/@aws-cdk/aws-guardduty/package.json @@ -14,9 +14,6 @@ "artifactId": "guardduty" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.GuardDuty" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-iam/package.json b/packages/@aws-cdk/aws-iam/package.json index b4bfa701bbc9b..1f65da14d89f4 100644 --- a/packages/@aws-cdk/aws-iam/package.json +++ b/packages/@aws-cdk/aws-iam/package.json @@ -14,9 +14,6 @@ "artifactId": "iam" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.IAM" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-inspector/package.json b/packages/@aws-cdk/aws-inspector/package.json index ac1977ab90dbe..2d0c6839b2bc6 100644 --- a/packages/@aws-cdk/aws-inspector/package.json +++ b/packages/@aws-cdk/aws-inspector/package.json @@ -14,9 +14,6 @@ "artifactId": "inspector" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Inspector" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-iot/package.json b/packages/@aws-cdk/aws-iot/package.json index 4f22635344a9b..0428ad13f9b2e 100644 --- a/packages/@aws-cdk/aws-iot/package.json +++ b/packages/@aws-cdk/aws-iot/package.json @@ -14,9 +14,6 @@ "artifactId": "iot" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.IoT" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-kinesis/package.json b/packages/@aws-cdk/aws-kinesis/package.json index 190acacf6889e..7140169d0f0df 100644 --- a/packages/@aws-cdk/aws-kinesis/package.json +++ b/packages/@aws-cdk/aws-kinesis/package.json @@ -14,9 +14,6 @@ "artifactId": "kinesis" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Kinesis" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-kinesisanalytics/package.json b/packages/@aws-cdk/aws-kinesisanalytics/package.json index 0e4a29cef7a5f..ea4bc6e1fcd4b 100644 --- a/packages/@aws-cdk/aws-kinesisanalytics/package.json +++ b/packages/@aws-cdk/aws-kinesisanalytics/package.json @@ -14,9 +14,6 @@ "artifactId": "kinesisanalytics" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.KinesisAnalytics" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-kinesisfirehose/package.json b/packages/@aws-cdk/aws-kinesisfirehose/package.json index 72bc6e1ee8778..e08b6b91ce6e4 100644 --- a/packages/@aws-cdk/aws-kinesisfirehose/package.json +++ b/packages/@aws-cdk/aws-kinesisfirehose/package.json @@ -14,9 +14,6 @@ "artifactId": "kinesisfirehose" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.KinesisFirehose" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-kms/package.json b/packages/@aws-cdk/aws-kms/package.json index 06f553b8e6f32..959c691aa02b7 100644 --- a/packages/@aws-cdk/aws-kms/package.json +++ b/packages/@aws-cdk/aws-kms/package.json @@ -14,9 +14,6 @@ "artifactId": "kms" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.KMS" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-lambda-codepipeline/package.json b/packages/@aws-cdk/aws-lambda-codepipeline/package.json index 5759c71ecb8d9..a2716ff23f0d5 100644 --- a/packages/@aws-cdk/aws-lambda-codepipeline/package.json +++ b/packages/@aws-cdk/aws-lambda-codepipeline/package.json @@ -14,9 +14,6 @@ "artifactId": "lambda-codepipeline" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Lambda.Codepipeline" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-lambda/package.json b/packages/@aws-cdk/aws-lambda/package.json index 61f19ecc7e7c3..54b8e8dc49f35 100644 --- a/packages/@aws-cdk/aws-lambda/package.json +++ b/packages/@aws-cdk/aws-lambda/package.json @@ -14,9 +14,6 @@ "artifactId": "lambda" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Lambda" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-logs/package.json b/packages/@aws-cdk/aws-logs/package.json index 5f37dac4c251a..aae87a60a2f7e 100644 --- a/packages/@aws-cdk/aws-logs/package.json +++ b/packages/@aws-cdk/aws-logs/package.json @@ -14,9 +14,6 @@ "artifactId": "logs" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Logs" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-neptune/package.json b/packages/@aws-cdk/aws-neptune/package.json index 17a12544df4f1..2cf55f94f551c 100644 --- a/packages/@aws-cdk/aws-neptune/package.json +++ b/packages/@aws-cdk/aws-neptune/package.json @@ -14,9 +14,6 @@ "artifactId": "neptune" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Neptune" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-opsworks/package.json b/packages/@aws-cdk/aws-opsworks/package.json index ea07564c62432..d2563d8552047 100644 --- a/packages/@aws-cdk/aws-opsworks/package.json +++ b/packages/@aws-cdk/aws-opsworks/package.json @@ -14,9 +14,6 @@ "artifactId": "opsworks" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.OpsWorks" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-quickstarts/package.json b/packages/@aws-cdk/aws-quickstarts/package.json index 8df284836c91e..be51a1610a8a6 100644 --- a/packages/@aws-cdk/aws-quickstarts/package.json +++ b/packages/@aws-cdk/aws-quickstarts/package.json @@ -14,9 +14,6 @@ "artifactId": "quickstarts" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.QuickStarts" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-rds/package.json b/packages/@aws-cdk/aws-rds/package.json index 395f08358d49e..e1224bfa0854f 100644 --- a/packages/@aws-cdk/aws-rds/package.json +++ b/packages/@aws-cdk/aws-rds/package.json @@ -14,9 +14,6 @@ "artifactId": "rds" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.RDS" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-redshift/package.json b/packages/@aws-cdk/aws-redshift/package.json index 7c6576997f757..b84710e6b0cda 100644 --- a/packages/@aws-cdk/aws-redshift/package.json +++ b/packages/@aws-cdk/aws-redshift/package.json @@ -14,9 +14,6 @@ "artifactId": "redshift" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Redshift" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-route53/package.json b/packages/@aws-cdk/aws-route53/package.json index 63e23d32aa622..fcca9d3ed1099 100644 --- a/packages/@aws-cdk/aws-route53/package.json +++ b/packages/@aws-cdk/aws-route53/package.json @@ -14,9 +14,6 @@ "artifactId": "route53" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Route53" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-s3/package.json b/packages/@aws-cdk/aws-s3/package.json index 1d86c30cb5eaa..8b4185193069b 100644 --- a/packages/@aws-cdk/aws-s3/package.json +++ b/packages/@aws-cdk/aws-s3/package.json @@ -14,9 +14,6 @@ "artifactId": "s3" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.S3" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-sdb/package.json b/packages/@aws-cdk/aws-sdb/package.json index ad14428db68fb..4b47658b98eed 100644 --- a/packages/@aws-cdk/aws-sdb/package.json +++ b/packages/@aws-cdk/aws-sdb/package.json @@ -14,9 +14,6 @@ "artifactId": "sdb" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.SDB" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-serverless/package.json b/packages/@aws-cdk/aws-serverless/package.json index f89e5d6a2ff2c..acef95ce76116 100644 --- a/packages/@aws-cdk/aws-serverless/package.json +++ b/packages/@aws-cdk/aws-serverless/package.json @@ -14,9 +14,6 @@ "artifactId": "serverless" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.Serverless" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-servicecatalog/package.json b/packages/@aws-cdk/aws-servicecatalog/package.json index 1b11d9da15f04..3e6ce9c6d0b2b 100644 --- a/packages/@aws-cdk/aws-servicecatalog/package.json +++ b/packages/@aws-cdk/aws-servicecatalog/package.json @@ -14,9 +14,6 @@ "artifactId": "servicecatalog" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.ServiceCatalog" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-servicediscovery/package.json b/packages/@aws-cdk/aws-servicediscovery/package.json index 1688e5d36c4f9..c2aa4378aa087 100644 --- a/packages/@aws-cdk/aws-servicediscovery/package.json +++ b/packages/@aws-cdk/aws-servicediscovery/package.json @@ -14,9 +14,6 @@ "artifactId": "servicediscovery" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.ServiceDiscovery" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-ses/package.json b/packages/@aws-cdk/aws-ses/package.json index 268937b318968..6241ae87c8e70 100644 --- a/packages/@aws-cdk/aws-ses/package.json +++ b/packages/@aws-cdk/aws-ses/package.json @@ -14,9 +14,6 @@ "artifactId": "ses" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.SES" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-sns/package.json b/packages/@aws-cdk/aws-sns/package.json index 3413ad18c2d5f..d37b1e119fa42 100644 --- a/packages/@aws-cdk/aws-sns/package.json +++ b/packages/@aws-cdk/aws-sns/package.json @@ -14,9 +14,6 @@ "artifactId": "sns" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.SNS" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-sqs/package.json b/packages/@aws-cdk/aws-sqs/package.json index 5af0261c8c0ea..388b121819034 100644 --- a/packages/@aws-cdk/aws-sqs/package.json +++ b/packages/@aws-cdk/aws-sqs/package.json @@ -14,9 +14,6 @@ "artifactId": "sqs" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.SQS" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-ssm/package.json b/packages/@aws-cdk/aws-ssm/package.json index 66b96d937fed3..0c5c373dc7710 100644 --- a/packages/@aws-cdk/aws-ssm/package.json +++ b/packages/@aws-cdk/aws-ssm/package.json @@ -14,9 +14,6 @@ "artifactId": "ssm" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.SSM" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-stepfunctions/package.json b/packages/@aws-cdk/aws-stepfunctions/package.json index bf5f5f6646cb0..eb40de7a19cea 100644 --- a/packages/@aws-cdk/aws-stepfunctions/package.json +++ b/packages/@aws-cdk/aws-stepfunctions/package.json @@ -14,9 +14,6 @@ "artifactId": "stepfunctions" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.StepFunctions" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-waf/package.json b/packages/@aws-cdk/aws-waf/package.json index 3b708e37f8a5b..ed009c6665f74 100644 --- a/packages/@aws-cdk/aws-waf/package.json +++ b/packages/@aws-cdk/aws-waf/package.json @@ -14,9 +14,6 @@ "artifactId": "waf" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.WAF" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-wafregional/package.json b/packages/@aws-cdk/aws-wafregional/package.json index 258889ecd4064..8b0529596ee20 100644 --- a/packages/@aws-cdk/aws-wafregional/package.json +++ b/packages/@aws-cdk/aws-wafregional/package.json @@ -14,9 +14,6 @@ "artifactId": "wafregional" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.WAFRegional" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/aws-workspaces/package.json b/packages/@aws-cdk/aws-workspaces/package.json index 509aeb9310863..652f1777de13b 100644 --- a/packages/@aws-cdk/aws-workspaces/package.json +++ b/packages/@aws-cdk/aws-workspaces/package.json @@ -14,9 +14,6 @@ "artifactId": "workspaces" } }, - "dotnet": { - "namespace": "Amazon.CDK.AWS.WorkSpaces" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/cdk/package.json b/packages/@aws-cdk/cdk/package.json index 73d18191420da..fcb03d251ec9e 100644 --- a/packages/@aws-cdk/cdk/package.json +++ b/packages/@aws-cdk/cdk/package.json @@ -14,9 +14,6 @@ "artifactId": "cdk" } }, - "dotnet": { - "namespace": "Amazon.CDK" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/cx-api/package.json b/packages/@aws-cdk/cx-api/package.json index cd6121e048a1f..cafd28dc38b0a 100644 --- a/packages/@aws-cdk/cx-api/package.json +++ b/packages/@aws-cdk/cx-api/package.json @@ -14,9 +14,6 @@ "artifactId": "cdk-cx-api" } }, - "dotnet": { - "namespace": "Amazon.CDK.CXAPI" - }, "sphinx": {} } }, diff --git a/packages/@aws-cdk/runtime-values/package.json b/packages/@aws-cdk/runtime-values/package.json index f4fd1f29d1187..7bbeb995f6ac1 100644 --- a/packages/@aws-cdk/runtime-values/package.json +++ b/packages/@aws-cdk/runtime-values/package.json @@ -14,9 +14,6 @@ "artifactId": "cdk-runtime-values" } }, - "dotnet": { - "namespace": "Amazon.CDK.RuntimeValues" - }, "sphinx": {} } }, diff --git a/tools/pkglint/lib/rules.ts b/tools/pkglint/lib/rules.ts index 70f09bf20cb07..a30d221e23af9 100644 --- a/tools/pkglint/lib/rules.ts +++ b/tools/pkglint/lib/rules.ts @@ -1,4 +1,3 @@ -import caseUtils = require('case'); import fs = require('fs'); import path = require('path'); import { LICENSE, NOTICE } from './licensing'; @@ -219,41 +218,14 @@ function cdkModuleName(name: string) { name = name.replace(/^aws-cdk-/, ''); name = name.replace(/^@aws-cdk\//, ''); - const dotnetSuffix = name.split('-').map(s => s === 'aws' ? 'AWS' : caseUtils.pascal(s)).join('.'); - return { javaPackage: `software.amazon.awscdk${isCdkPkg ? '' : `.${name.replace(/^aws-/, 'services-').replace(/-/g, '.')}`}`, mavenArtifactId: isCdkPkg ? 'cdk' : name.startsWith('aws-') ? name.replace(/^aws-/, '') - : `cdk-${name}`, - dotnetNamespace: `Amazon.CDK${isCdkPkg ? '' : `.${dotnetSuffix}`}` + : `cdk-${name}` }; } -/** - * JSII .NET namespace is required and must look sane - */ -export class JSIIDotNetNamespaceIsRequired extends ValidationRule { - public validate(pkg: PackageJson): void { - if (!isJSII(pkg)) { return; } - - const dotnet = deepGet(pkg.json, ['jsii', 'targets', 'dotnet', 'namespace']) as string | undefined; - const moduleName = cdkModuleName(pkg.json.name); - expectJSON(pkg, 'jsii.targets.dotnet.namespace', moduleName.dotnetNamespace, /\./g, /*case insensitive*/ true); - - if (dotnet) { - const actualPrefix = dotnet.split('.').slice(0, 2).join('.'); - const expectedPrefix = moduleName.dotnetNamespace.split('.').slice(0, 2).join('.'); - if (actualPrefix !== expectedPrefix) { - pkg.report({ - message: `.NET namespace must share the first two segments of the default namespace, '${expectedPrefix}' vs '${actualPrefix}'`, - fix: () => deepSet(pkg.json, ['jsii', 'targets', 'dotnet', 'namespace'], moduleName.dotnetNamespace) - }); - } - } - } -} - /** * The package must depend on cdk-build-tools */