Skip to content

Commit b92f565

Browse files
committed
dep++
1 parent a8b01a8 commit b92f565

File tree

4 files changed

+856
-968
lines changed

4 files changed

+856
-968
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,10 @@ default: `.build` in the entry file directory
104104
### ...other options
105105

106106
All other properties of lambda.Function are supported, see also the [AWS Lambda construct library](https://github.com/aws/aws-cdk/tree/master/packages/%40aws-cdk/aws-lambda).
107+
108+
## Run tests
109+
110+
```sh
111+
yarn build
112+
yarn test
113+
```

lib/builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const spawn = require("cross-spawn");
1+
import * as spawn from "cross-spawn";
22
import { resolve, basename, dirname } from "path";
33

44
/**

package.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"build": "tsc",
1010
"prepublishOnly": "tsc",
11-
"test": "tsc && jest --no-cache"
11+
"test": "jest --no-cache"
1212
},
1313
"repository": {
1414
"type": "git",
@@ -31,18 +31,20 @@
3131
"webpack": "^5.0.0",
3232
"webpack-cli": "^4.0.0"
3333
},
34+
"dependencies": {
35+
"cross-spawn": "^7.0.3"
36+
},
3437
"devDependencies": {
35-
"@aws-cdk/assert": "^1.80.0",
36-
"@aws-cdk/aws-lambda": "^1.80.0",
37-
"@aws-cdk/core": "^1.80.0",
38+
"@aws-cdk/assert": "^1.89.0",
39+
"@aws-cdk/aws-lambda": "^1.89.0",
40+
"@aws-cdk/core": "^1.89.0",
3841
"@types/cross-spawn": "^6.0.2",
39-
"@types/jest": "^26.0.19",
40-
"@types/node": "^14.14.16",
41-
"cross-spawn": "^7.0.3",
42+
"@types/jest": "^26.0.20",
43+
"@types/node": "^14.14.27",
4244
"jest": "^26.6.3",
43-
"ts-jest": "^26.4.4",
44-
"ts-loader": "^8.0.12",
45-
"typescript": "^4.1.3",
45+
"ts-jest": "^26.5.1",
46+
"ts-loader": "^8.0.17",
47+
"typescript": "^4.1.5",
4648
"webpack": "^5.11.1",
4749
"webpack-cli": "^4.3.0"
4850
}

0 commit comments

Comments
 (0)