Skip to content

Commit 0f666c5

Browse files
authored
2 parents a95560c + f692fac commit 0f666c5

File tree

1,910 files changed

+481023
-68561
lines changed

Some content is hidden

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

1,910 files changed

+481023
-68561
lines changed

.devcontainer/Dockerfile

+10-7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@ FROM jsii/superchain:1-bookworm-slim-node20
22

33
USER root
44

5+
# Setup oh-my-zsh
6+
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
7+
&& apt-get -y install --no-install-recommends zsh vim \
8+
&& rm -rf /var/lib/apt/lists/* \
9+
&& chsh -s $(which zsh) superchain
10+
11+
# Required, otherwise shell is extermly slow due the size of the aws-cdk
12+
RUN sh -c 'echo "[oh-my-zsh]\n hide-dirty = 1" > /etc/gitconfig'
13+
514
# Change uid/guid of superchain so it can work with the docker-in-docker feature
615
RUN groupmod --gid 1000 superchain \
716
&& usermod --uid 1000 --gid 1000 superchain \
@@ -10,10 +19,4 @@ RUN groupmod --gid 1000 superchain \
1019
USER superchain
1120

1221
# Setup oh-my-zsh
13-
RUN sudo apt-get update && export DEBIAN_FRONTEND=noninteractive \
14-
&& sudo apt-get -y install --no-install-recommends zsh vim \
15-
&& sudo rm -rf /var/lib/apt/lists/* \
16-
&& sudo chsh -s $(which zsh) $(whoami)
17-
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended \
18-
# Required, otherwise shell is extermly slow due the size of the aws-cdk
19-
&& sudo sh -c 'echo "[oh-my-zsh]\n hide-dirty = 1" > /etc/gitconfig'
22+
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended

.devcontainer/devcontainer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
"build": {
44
"dockerfile": "Dockerfile"
55
},
6-
76
"customizations": {
87
"vscode": {
9-
"extensions": ["dbaeumer.vscode-eslint"]
8+
"extensions": [
9+
"dbaeumer.vscode-eslint"
10+
]
1011
}
1112
},
12-
1313
"postCreateCommand": "yarn install",
1414
"remoteUser": "superchain",
1515
"features": {
16-
"docker-in-docker": {
16+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
1717
"version": "latest",
1818
"moby": true
1919
}

.github/workflows/codecov.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: cd packages/aws-cdk && yarn test
2929

3030
- name: Upload results to Codecov
31-
uses: codecov/codecov-action@v5
31+
uses: codecov/codecov-action@v4
3232
with:
3333
directory: packages/aws-cdk/coverage
3434
fail_ci_if_error: true
+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Lambda Runtime Tests Update
2+
on:
3+
pull_request:
4+
paths:
5+
- 'packages/aws-cdk-lib/aws-lambda/lib/runtime.ts'
6+
7+
jobs:
8+
update-lambda-tests:
9+
if: github.repository == 'aws/aws-cdk'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
ref: ${{ github.event.pull_request.head.ref }}
15+
16+
- name: Set up Node
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: "*"
20+
env:
21+
NODE_OPTIONS: "--max-old-space-size=8196 --experimental-worker ${NODE_OPTIONS:-}"
22+
23+
- name: Install dependencies
24+
run: yarn install --frozen-lockfile && cd tools/@aws-cdk/lambda-integration-test-updater && yarn build+test
25+
26+
- name: Update Lambda Runtime Tests
27+
run: |
28+
cd tools/@aws-cdk/lambda-integration-test-updater
29+
./bin/update-lambda-runtimestes-integ-testing
30+
31+
- name: Check for changes
32+
id: git-check
33+
run: |
34+
if [[ -n "$(git status --porcelain)" ]]; then
35+
echo "changes=true" >> $GITHUB_OUTPUT
36+
else
37+
echo "changes=false" >> $GITHUB_OUTPUT
38+
fi
39+
40+
- name: Commit & Push changes
41+
if: steps.git-check.outputs.changes == 'true'
42+
run: |
43+
git config --global user.name 'aws-cdk-automation'
44+
git config --global user.email '[email protected]'
45+
git add .
46+
git commit -m "chore: update lambda runtime integration tests"
47+
git push origin ${{ github.event.pull_request.head.ref }}

CHANGELOG.v2.alpha.md

+17
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.172.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.171.1-alpha.0...v2.172.0-alpha.0) (2024-12-06)
6+
7+
8+
### Features
9+
10+
* **ec2:** default BastionHostLinux to use Amazon Linux 2023 (under feature flag) ([#31996](https://github.com/aws/aws-cdk/issues/31996)) ([bf77e51](https://github.com/aws/aws-cdk/commit/bf77e51c90e3da972c464430d579695163160a13)), closes [#29493](https://github.com/aws/aws-cdk/issues/29493) [#29493](https://github.com/aws/aws-cdk/issues/29493)
11+
* **ec2:** instance support passing IAM instance profile ([#32073](https://github.com/aws/aws-cdk/issues/32073)) ([cf89d0f](https://github.com/aws/aws-cdk/commit/cf89d0f67f6d03bdeec38a4ffb48d3cda59db7cc)), closes [#8348](https://github.com/aws/aws-cdk/issues/8348)
12+
* **neptune:** auto minor version upgrade for an instance ([#31988](https://github.com/aws/aws-cdk/issues/31988)) ([d95db49](https://github.com/aws/aws-cdk/commit/d95db491f7c1fd11dd42299f99d40fd94b0d642f))
13+
* **pipes:** add LogDestination implementation ([#31672](https://github.com/aws/aws-cdk/issues/31672)) ([af5345e](https://github.com/aws/aws-cdk/commit/af5345e9ed2528bde2af6cd4b2428654b096eb93)), closes [#31671](https://github.com/aws/aws-cdk/issues/31671)
14+
* **pipes-targets:** add API Gateway ([#31954](https://github.com/aws/aws-cdk/issues/31954)) ([c77536f](https://github.com/aws/aws-cdk/commit/c77536f8999e221c8d6dae5742f484a04b05bac5))
15+
* **redshift:** execute resource action ([#31995](https://github.com/aws/aws-cdk/issues/31995)) ([40835a0](https://github.com/aws/aws-cdk/commit/40835a01536509daefa44e5e4cad5d8829d8dd1c))
16+
17+
18+
### Bug Fixes
19+
20+
* **scheduler-targets-alpha:** incorrect validation of maximumEventAge ([#32284](https://github.com/aws/aws-cdk/issues/32284)) ([2eebc59](https://github.com/aws/aws-cdk/commit/2eebc5913966f0266efbad65c3f137c07c75270b))
21+
522
## [2.171.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.171.0-alpha.0...v2.171.1-alpha.0) (2024-11-27)
623

724
## [2.171.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.170.0-alpha.0...v2.171.0-alpha.0) (2024-11-25)

CHANGELOG.v2.md

+38
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,44 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.172.0](https://github.com/aws/aws-cdk/compare/v2.171.1...v2.172.0) (2024-12-06)
6+
7+
8+
### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
9+
10+
* **apigateway:** We will be removing deprecated `APIGatewayV2` constructs from `aws-apigateway` module.
11+
12+
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
13+
14+
### Features
15+
16+
* **aspects:** priority-ordered aspect invocation ([#32097](https://github.com/aws/aws-cdk/issues/32097)) ([8ccdff4](https://github.com/aws/aws-cdk/commit/8ccdff4ee083d66f73259223ba75ba0b8a0752a0)), closes [#21341](https://github.com/aws/aws-cdk/issues/21341) [/github.com/aws/aws-cdk/blob/8b495f9ec157c0b00674715f62b1bbcabf2096ac/packages/aws-cdk-lib/core/lib/private/synthesis.ts#L217](https://github.com/aws//github.com/aws/aws-cdk/blob/8b495f9ec157c0b00674715f62b1bbcabf2096ac/packages/aws-cdk-lib/core/lib/private/synthesis.ts/issues/L217)
17+
* **cognito:** new `cloudFrontEndpoint` method for user pool domain without custom resource ([#31402](https://github.com/aws/aws-cdk/issues/31402)) ([deeb2ad](https://github.com/aws/aws-cdk/commit/deeb2ad0bc38101a9f1fa8162ad5d6008900a98d)), closes [#31342](https://github.com/aws/aws-cdk/issues/31342) [/github.com/go-to-k/aws-cdk/blob/fcbdc769e681f1f915cdc8cd7aa3a565d807884d/packages/aws-cdk-lib/aws-route53-targets/lib/userpool-domain.ts#L14](https://github.com/aws//github.com/go-to-k/aws-cdk/blob/fcbdc769e681f1f915cdc8cd7aa3a565d807884d/packages/aws-cdk-lib/aws-route53-targets/lib/userpool-domain.ts/issues/L14)
18+
* **cognito:** support for ALLOW_USER_AUTH explicit auth flow ([#32273](https://github.com/aws/aws-cdk/issues/32273)) ([c5bcfdc](https://github.com/aws/aws-cdk/commit/c5bcfdc57aa763539b31f4e7f6f115f707c401a4))
19+
* **elasticloadbalancingv2:** ip address type for both network and application target group ([#32189](https://github.com/aws/aws-cdk/issues/32189)) ([7cc5f30](https://github.com/aws/aws-cdk/commit/7cc5f305c839048454240f8d6db1614e2dfa4c53))
20+
* **events:** add filter rules for prefixEqualsIgnoreCase, suffixEqualsIgnoreCase, wildcard, and anythingBut* matches ([#32063](https://github.com/aws/aws-cdk/issues/32063)) ([0ce71fc](https://github.com/aws/aws-cdk/commit/0ce71fc50cffffc04d9d1bc9c98c9c04e77bfe1f)), closes [#28462](https://github.com/aws/aws-cdk/issues/28462)
21+
* **lambda-nodejs:** add bun support ([#31770](https://github.com/aws/aws-cdk/issues/31770)) ([aed8ad1](https://github.com/aws/aws-cdk/commit/aed8ad10c3d86497be34b2889466f770910d36ef)), closes [#31753](https://github.com/aws/aws-cdk/issues/31753) [#31753](https://github.com/aws/aws-cdk/issues/31753)
22+
* **rds:** limitless database cluster ([#32151](https://github.com/aws/aws-cdk/issues/32151)) ([f4c19c7](https://github.com/aws/aws-cdk/commit/f4c19c71ca8a34188f1d26f756ef5b3ec218b5c2))
23+
* **ses:** add support to disable account-level suppression list ([#32168](https://github.com/aws/aws-cdk/issues/32168)) ([bb50c1a](https://github.com/aws/aws-cdk/commit/bb50c1abc8c507e2b877a952377adc607b936eab)), closes [#32149](https://github.com/aws/aws-cdk/issues/32149)
24+
* update L1 CloudFormation resource definitions ([#32272](https://github.com/aws/aws-cdk/issues/32272)) ([421d327](https://github.com/aws/aws-cdk/commit/421d32708f5018353b2c5db1751cb3415412b985))
25+
* update L1 CloudFormation resource definitions ([#32356](https://github.com/aws/aws-cdk/issues/32356)) ([9e6bb24](https://github.com/aws/aws-cdk/commit/9e6bb24f533c11bbb74a30a729566f91f5d6a13f))
26+
* **route53-targets:** add `AppSync` route53 target ([#31976](https://github.com/aws/aws-cdk/issues/31976)) ([dc7574a](https://github.com/aws/aws-cdk/commit/dc7574a3c048fdb58ca1ac996dbe46fd54b59993)), closes [#26109](https://github.com/aws/aws-cdk/issues/26109)
27+
28+
29+
### Bug Fixes
30+
31+
* **apigateway:** remove deprecated apigatewayv2 from aws-apigateway module ([#32297](https://github.com/aws/aws-cdk/issues/32297)) ([4db9565](https://github.com/aws/aws-cdk/commit/4db956597b41bb9d7dd8e1d65b39643772065353))
32+
* **appsync:** `appsync.HttpDataSourceProps` erroneously extends `BaseDataSourceProps` ([#32065](https://github.com/aws/aws-cdk/issues/32065)) ([4e7f5c4](https://github.com/aws/aws-cdk/commit/4e7f5c4469509ed4e1d586a9c5263f19b540a7bd)), closes [#29689](https://github.com/aws/aws-cdk/issues/29689)
33+
* **cli:** assume role calls are skipping the proxy ([#32291](https://github.com/aws/aws-cdk/issues/32291)) ([6c0f74e](https://github.com/aws/aws-cdk/commit/6c0f74e4b37b8ef81c927adca1112680d0bf2ad0))
34+
* **cli:** lambda hotswap fails if `lambda:GetFunctionConfiguration` action is not allowed ([#32301](https://github.com/aws/aws-cdk/issues/32301)) ([be000a2](https://github.com/aws/aws-cdk/commit/be000a251b781b0b0870930992793df5a2fc4b01)), closes [/github.com/aws/aws-sdk-js-v3/blob/main/clients/client-lambda/src/waiters/waitForFunctionUpdatedV2.ts#L10](https://github.com/aws//github.com/aws/aws-sdk-js-v3/blob/main/clients/client-lambda/src/waiters/waitForFunctionUpdatedV2.ts/issues/L10) [/github.com/aws/aws-sdk-js-v3/blob/main/clients/client-lambda/src/waiters/waitForFunctionUpdated.ts#L13](https://github.com/aws//github.com/aws/aws-sdk-js-v3/blob/main/clients/client-lambda/src/waiters/waitForFunctionUpdated.ts/issues/L13)
35+
* **cli:** mfa code is not requested when `$AWS_PROFILE` is used ([#32313](https://github.com/aws/aws-cdk/issues/32313)) ([6458439](https://github.com/aws/aws-cdk/commit/6458439b08f9ce1f49c1137dd85bb582550a5f52)), closes [#32312](https://github.com/aws/aws-cdk/issues/32312)
36+
* **cli:** remove source maps ([#32317](https://github.com/aws/aws-cdk/issues/32317)) ([512cf95](https://github.com/aws/aws-cdk/commit/512cf952f3971cd302fb1cca7c24149b43832280)), closes [#19930](https://github.com/aws/aws-cdk/issues/19930) [#19930](https://github.com/aws/aws-cdk/issues/19930)
37+
* **cli:** short-lived credentials are not refreshed ([#32354](https://github.com/aws/aws-cdk/issues/32354)) ([058a0bf](https://github.com/aws/aws-cdk/commit/058a0bfc22036230252fcbc026576260723f6d28))
38+
* **cli:** warns about missing `--no-rollback` flag that is present ([#32309](https://github.com/aws/aws-cdk/issues/32309)) ([559d676](https://github.com/aws/aws-cdk/commit/559d676e2989739b38491b1f767face839d39f69)), closes [#32295](https://github.com/aws/aws-cdk/issues/32295)
39+
* **cloudformation-include:** drops unknown policy attributes ([#32321](https://github.com/aws/aws-cdk/issues/32321)) ([20edc7f](https://github.com/aws/aws-cdk/commit/20edc7fe5e891461a8188d306dcc0f776041cf8f))
40+
* **cloudfront:** propagate `originAccessControlId` CloudFront Origin property to CloudFormation templates ([#32020](https://github.com/aws/aws-cdk/issues/32020)) ([f9708a6](https://github.com/aws/aws-cdk/commit/f9708a634ceaef7f62e8193443ea30fe9e2fbad6)), closes [#32018](https://github.com/aws/aws-cdk/issues/32018)
41+
* **iam:** `Role.addManagedPolicy()` does not work for imported roles `IRole` [#8307](https://github.com/aws/aws-cdk/issues/8307) ([#31212](https://github.com/aws/aws-cdk/issues/31212)) ([c78ef1b](https://github.com/aws/aws-cdk/commit/c78ef1b43a18e1ffc93fcbdee9dd2e91fa750a36)), closes [/github.com/aws/aws-cdk/blob/823ff6e03899f790a4cb1c43f92a02cc906ac356/packages/aws-cdk-lib/aws-iam/lib/identity-base.ts#L17-L21](https://github.com/aws//github.com/aws/aws-cdk/blob/823ff6e03899f790a4cb1c43f92a02cc906ac356/packages/aws-cdk-lib/aws-iam/lib/identity-base.ts/issues/L17-L21)
42+
543
## [2.171.1](https://github.com/aws/aws-cdk/compare/v2.171.0...v2.171.1) (2024-11-27)
644

745

CONTRIBUTORS.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ Shout out to our top contributors!
1616
- [TheRealAmazonKendra](https://github.com/TheRealAmazonKendra)
1717
- [comcalvi](https://github.com/comcalvi)
1818
- [madeline-k](https://github.com/madeline-k)
19-
- [NetaNir](https://github.com/NetaNir)
19+
- [mazyu36](https://github.com/mazyu36)
2020
- [go-to-k](https://github.com/go-to-k)
21+
- [NetaNir](https://github.com/NetaNir)
2122
- [robertd](https://github.com/robertd)
22-
- [mazyu36](https://github.com/mazyu36)
23+
- [badmintoncryer](https://github.com/badmintoncryer)
2324
- [MrArnoldPalmer](https://github.com/MrArnoldPalmer)
2425
- [lpizzinidev](https://github.com/lpizzinidev)
2526
- [peterwoodworth](https://github.com/peterwoodworth)
26-
- [badmintoncryer](https://github.com/badmintoncryer)
27-
- [colifran](https://github.com/colifran)
2827
- [msambol](https://github.com/msambol)
28+
- [colifran](https://github.com/colifran)
2929
- [watany-dev](https://github.com/watany-dev)
3030

3131

32-
_Last updated: Fri, 01 Nov 24 00:12:22 +0000_
32+
_Last updated: Sun, 01 Dec 24 00:14:16 +0000_

aws-cdk.code-workspace

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"folders": [{ "path": "." }],
33
"settings": {
4+
"files.insertFinalNewline": true,
45
"jest.jestCommandLine": "node_modules/.bin/jest",
56
"jest.autoRun": "off",
67
"jest.virtualFolders": [

lerna.json

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"tools/@aws-cdk/spec2cdk",
2020
"tools/@aws-cdk/yarn-cling",
2121
"tools/@aws-cdk/lazify",
22+
"tools/@aws-cdk/lambda-integration-test-updater",
2223
"scripts/@aws-cdk/script-tests"
2324
],
2425
"rejectCycles": true,

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
"tools/@aws-cdk/spec2cdk",
8888
"tools/@aws-cdk/yarn-cling",
8989
"tools/@aws-cdk/lazify",
90+
"tools/@aws-cdk/lambda-integration-test-updater",
9091
"scripts/@aws-cdk/script-tests"
9192
],
9293
"nohoist": [
@@ -106,10 +107,10 @@
106107
"@aws-cdk/aws-cognito/punycode/**",
107108
"@aws-cdk/aws-ecr-assets/minimatch",
108109
"@aws-cdk/aws-ecr-assets/minimatch/**",
109-
"@aws-cdk/aws-eks/semver",
110-
"@aws-cdk/aws-eks/semver/**",
111-
"@aws-cdk/aws-eks/yaml",
112-
"@aws-cdk/aws-eks/yaml/**",
110+
"@aws-cdk/aws-eks-v2-alpha/semver",
111+
"@aws-cdk/aws-eks-v2-alpha/semver/**",
112+
"@aws-cdk/aws-eks-v2-alpha/yaml",
113+
"@aws-cdk/aws-eks-v2-alpha/yaml/**",
113114
"@aws-cdk/aws-events-targets/aws-sdk",
114115
"@aws-cdk/aws-events-targets/aws-sdk/**",
115116
"@aws-cdk/aws-iot-actions-alpha/case",
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import * as path from 'path';
22
// eslint-disable-next-line no-console
3-
console.log(path.resolve(__dirname, '..'));
3+
console.log(path.resolve(__dirname, '..'));

packages/@aws-cdk-testing/cli-integ/lib/eventually.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ const eventually = async <T>(call: () => Promise<T>, options?: EventuallyOptions
3939
throw new Error('An unexpected error has occurred.');
4040
};
4141

42-
export default eventually;
42+
export default eventually;

packages/@aws-cdk-testing/cli-integ/lib/github.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ export async function fetchPreviousVersion(token: string, options?: {
4040
if (previousMVRelease) { return previousMVRelease; }
4141

4242
throw new Error(`Unable to find previous version given ${JSON.stringify(options)}`);
43-
};
43+
};

packages/@aws-cdk-testing/cli-integ/lib/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ export * from './with-aws';
1010
export * from './with-cdk-app';
1111
export * from './with-packages';
1212
export * from './with-temporary-directory';
13-
export * from './resources';
13+
export * from './resources';

packages/@aws-cdk-testing/cli-integ/lib/lists.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ export function chunk<A>(n: number, xs: A[]): A[][] {
66
}
77

88
return ret;
9-
}
9+
}

packages/@aws-cdk-testing/cli-integ/lib/memoize.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ export function memoize0<A>(fn: () => Promise<A>): () => Promise<A> {
1111
}
1212
return promise;
1313
};
14-
}
14+
}

packages/@aws-cdk-testing/cli-integ/lib/package-sources/release-source.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ export class ReleasePackageSource implements IPackageSource {
7878
return `${frameworkVersion}-alpha.0`;
7979
}
8080
}
81-
}
81+
}

packages/@aws-cdk-testing/cli-integ/lib/package-sources/repo-tools/npm.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ child.once('close', code => {
4545
if (code) {
4646
process.exitCode = code;
4747
}
48-
});
48+
});

packages/@aws-cdk-testing/cli-integ/lib/package-sources/source.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ export interface IPackageSource {
3232
* Not all tests will respect this.
3333
*/
3434
requestedAlphaVersion(): string;
35-
}
35+
}

packages/@aws-cdk-testing/cli-integ/lib/package-sources/subprocess.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ export function packageSourceInSubprocess(): IPackageSource {
1212
case 'release': return new ReleasePackageSource();
1313
default: throw new Error(`Unrecognized package source: ${process.env.PACKAGE_SOURCE}`);
1414
}
15-
}
15+
}

packages/@aws-cdk-testing/cli-integ/lib/staging/npm.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ async function writeNpmLoginToken(usageDir: UsageDir, endpoint: string, token: s
5959
return rcFile;
6060
}
6161

62-
// Environment variable, .npmrc in same directory as package.json or in home dir
62+
// Environment variable, .npmrc in same directory as package.json or in home dir

packages/@aws-cdk-testing/cli-integ/lib/staging/nuget.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ async function writeNuGetConfigFile(filename: string, login: LoginInformation) {
7272
</configuration>`);
7373
}
7474

75-
// NuGet.Config in current directory
75+
// NuGet.Config in current directory

packages/@aws-cdk-testing/cli-integ/lib/staging/parallel-shell.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ export async function parallelShell<A>(
4848
}));
4949

5050
await q.onEmpty();
51-
}
51+
}

packages/@aws-cdk-testing/cli-integ/lib/staging/pypi.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ export async function uploadPythonPackages(packages: string[], login: LoginInfor
4747
}
4848
return 'fail';
4949
});
50-
}
50+
}

packages/@aws-cdk-testing/cli-integ/lib/staging/usage-dir.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ export class UsageDir {
9696
// eslint-disable-next-line no-console
9797
console.log(` source ${this.directory}/activate.bash`);
9898
}
99-
}
99+
}

packages/@aws-cdk-testing/cli-integ/lib/with-packages.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ export function withPackages<A extends object>(block: (context: A & PackageConte
1212
packages: packageSourceInSubprocess(),
1313
});
1414
};
15-
}
15+
}

packages/@aws-cdk-testing/cli-integ/lib/with-timeout.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ export function withTimeout<A>(seconds: number, block: (x: A) => Promise<void>)
3030
timeOut,
3131
]);
3232
};
33-
}
33+
}

packages/@aws-cdk-testing/cli-integ/test/resource-pool.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ function* range(n: number) {
8484
for (let i = 0; i < n; i++) {
8585
yield i;
8686
}
87-
}
87+
}

packages/@aws-cdk-testing/cli-integ/test/xpmutex.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ function waitFor(pred: () => boolean): Promise<void> {
4242
}
4343
}, 5);
4444
});
45-
}
45+
}

0 commit comments

Comments
 (0)