@aws-cdk-testing/cli-integ 2.122.0 → 2.124.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -35,6 +35,17 @@ Each subdirectory contains one test **suite**, and in the development pipeline e
|
|
|
35
35
|
|
|
36
36
|
Test suites are written as a collection of Jest tests, and they are run using Jest, using the code in the `lib/` directory as helpers.
|
|
37
37
|
|
|
38
|
+
### Setup
|
|
39
|
+
|
|
40
|
+
Building the @aws-cdk-testing package is not very different from building the rest of the CDK. However, If you are having issues with the tests, you can ensure your enviornment is built properly by following the steps below:
|
|
41
|
+
|
|
42
|
+
```shell
|
|
43
|
+
yarn install # Install dependencies
|
|
44
|
+
npx lerna run build --scope=aws-cdk # Build the CDK cli
|
|
45
|
+
yarn build # Build the @aws-cdk-testing/cli-integ package
|
|
46
|
+
../../../scripts/align-version.sh # Align the versions of CDK packages
|
|
47
|
+
```
|
|
48
|
+
|
|
38
49
|
### Running a test suite
|
|
39
50
|
|
|
40
51
|
You run a suite using the `bin/run-suite` tool. You must select either a version of the CLI and framework which can be `npm install`ed, or point to the root of the source tree:
|
|
@@ -66,7 +77,8 @@ $ ./build.sh
|
|
|
66
77
|
$ ./pack.sh
|
|
67
78
|
|
|
68
79
|
# Use publib to upload to CodeArtifact
|
|
69
|
-
$ npm install -g publib
|
|
80
|
+
$ npm install -g publib
|
|
81
|
+
# publib-ca is a CLI tool that comes with publib
|
|
70
82
|
$ publib-ca create
|
|
71
83
|
$ publib-ca publish /path/to/dist
|
|
72
84
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-cdk-testing/cli-integ",
|
|
3
3
|
"description": "Integration tests for the AWS CDK CLI",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.124.0",
|
|
5
5
|
"bin": {
|
|
6
6
|
"run-suite": "bin/run-suite",
|
|
7
7
|
"download-and-run-old-tests": "bin/download-and-run-old-tests",
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@aws-cdk/cdk-build-tools": "2.
|
|
32
|
+
"@aws-cdk/cdk-build-tools": "2.124.0-alpha.0",
|
|
33
33
|
"@types/semver": "^7.5.6",
|
|
34
34
|
"@types/yargs": "^15.0.19",
|
|
35
35
|
"@types/fs-extra": "^9.0.13",
|
|
36
36
|
"@types/glob": "^7.2.0",
|
|
37
37
|
"@types/npm": "^7.19.3",
|
|
38
|
-
"@aws-cdk/pkglint": "2.
|
|
38
|
+
"@aws-cdk/pkglint": "2.124.0-alpha.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@octokit/rest": "^18.12.0",
|
|
42
|
-
"aws-sdk": "^2.
|
|
42
|
+
"aws-sdk": "^2.1542.0",
|
|
43
43
|
"axios": "^1.6.5",
|
|
44
44
|
"fs-extra": "^9.1.0",
|
|
45
45
|
"glob": "^7.2.3",
|