Skip to content

Commit 9f4ac2b

Browse files
authored
Merge branch 'v2-main' into v2/forward-merge-20220208
2 parents 2d092f2 + 3d4d576 commit 9f4ac2b

File tree

772 files changed

+6713
-6046
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

772 files changed

+6713
-6046
lines changed

CHANGELOG.v2.alpha.md

Lines changed: 316 additions & 0 deletions
Large diffs are not rendered by default.

CHANGELOG.v2.md

Lines changed: 1752 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,3 +172,4 @@ this capability, please see the
172172
* [Changelog](./CHANGELOG.md)
173173
* [NOTICE](./NOTICE)
174174
* [License](./LICENSE)
175+

deprecated_apis.txt

Lines changed: 1102 additions & 1110 deletions
Large diffs are not rendered by default.

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"packages/@aws-cdk/*/lambda-packages/*",
1111
"tools/*",
1212
"tools/@aws-cdk/*",
13-
"scripts/script-tests",
13+
"scripts/@aws-cdk/script-tests",
1414
"packages/individual-packages/*"
1515
],
1616
"rejectCycles": "true",

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"include": "dependencies/node-version"
77
},
88
"scripts": {
9-
"pkglint": "lerna --scope @aws-cdk/pkglint run build && lerna run pkglint",
9+
"pkglint": "lerna run build --scope @aws-cdk/pkglint --include-dependencies && lerna run pkglint",
10+
"prebuild": "node ./scripts/check-yarn-lock.js",
1011
"build": "./build.sh",
1112
"pack": "./pack.sh",
1213
"compat": "./scripts/check-api-compatibility.sh",
@@ -54,7 +55,7 @@
5455
"release.json",
5556
"scripts/resolve-version.js",
5657
"scripts/resolve-version-lib.js",
57-
"version.v1.json"
58+
"version.v2.json"
5859
],
5960
"cacheBucket": "nozem-artifacts-eu",
6061
"cacheBucketRegion": "eu-west-1"

packages/@aws-cdk-containers/ecs-service-extensions/lib/environment.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
import * as ec2 from '@aws-cdk/aws-ec2';
22
import * as ecs from '@aws-cdk/aws-ecs';
3-
import * as cdk from '@aws-cdk/core';
3+
import { Construct } from 'constructs';
44
import { EnvironmentCapacityType } from './extensions/extension-interfaces';
55

6-
// keep this import separate from other imports to reduce chance for merge conflicts with v2-main
7-
// eslint-disable-next-line no-duplicate-imports, import/order
8-
import { Construct } from '@aws-cdk/core';
9-
106
/**
117
* Settings for the environment where you want to deploy your services.
128
*/
@@ -98,7 +94,7 @@ export class Environment extends Construct implements IEnvironment {
9894
*/
9995
public readonly capacityType: EnvironmentCapacityType;
10096

101-
private readonly scope: cdk.Construct;
97+
private readonly scope: Construct;
10298

10399
constructor(scope: Construct, id: string, props?: EnvironmentProps) {
104100
super(scope, id);

packages/@aws-cdk-containers/ecs-service-extensions/lib/extensions/appmesh.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@ import * as ecs from '@aws-cdk/aws-ecs';
55
import * as iam from '@aws-cdk/aws-iam';
66
import * as cdk from '@aws-cdk/core';
77
import * as regionInfo from '@aws-cdk/region-info';
8+
import { Construct } from 'constructs';
89
import { Service } from '../service';
910
import { Container } from './container';
1011
import { ServiceExtension, ServiceBuild } from './extension-interfaces';
1112

12-
// keep this import separate from other imports to reduce chance for merge conflicts with v2-main
13-
// eslint-disable-next-line no-duplicate-imports, import/order
14-
import { Construct } from '@aws-cdk/core';
15-
1613
// The version of the App Mesh envoy sidecar to add to the task.
1714
const APP_MESH_ENVOY_SIDECAR_VERSION = 'v1.15.1.0-prod';
1815

packages/@aws-cdk-containers/ecs-service-extensions/lib/extensions/assign-public-ip/assign-public-ip.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
import * as ec2 from '@aws-cdk/aws-ec2';
22
import * as ecs from '@aws-cdk/aws-ecs';
33
import * as route53 from '@aws-cdk/aws-route53';
4+
import { Construct } from 'constructs';
45
import { Service } from '../../service';
56
import { Container } from '../container';
67
import { ServiceExtension, ServiceBuild, EnvironmentCapacityType } from '../extension-interfaces';
78
import { TaskRecordManager } from './task-record-manager';
89

9-
// keep this import separate from other imports to reduce chance for merge conflicts with v2-main
10-
// eslint-disable-next-line no-duplicate-imports, import/order
11-
import { Construct } from '@aws-cdk/core';
12-
1310
export interface AssignPublicIpExtensionOptions {
1411
/**
1512
* Enable publishing task public IPs to a recordset in a Route 53 hosted zone.

packages/@aws-cdk-containers/ecs-service-extensions/lib/extensions/assign-public-ip/task-record-manager.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ import * as route53 from '@aws-cdk/aws-route53';
1010
import * as sqs from '@aws-cdk/aws-sqs';
1111
import * as cdk from '@aws-cdk/core';
1212
import * as customresources from '@aws-cdk/custom-resources';
13-
14-
// keep this import separate from other imports to reduce chance for merge conflicts with v2-main
15-
// eslint-disable-next-line no-duplicate-imports, import/order
16-
import { Construct } from '@aws-cdk/core';
13+
import { Construct } from 'constructs';
1714

1815
export interface TaskRecordManagerProps {
1916
service: ecs.Ec2Service | ecs.FargateService;

0 commit comments

Comments
 (0)