File tree Expand file tree Collapse file tree 6 files changed +10
-7
lines changed Expand file tree Collapse file tree 6 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11
11
"lint" : " eslint src" ,
12
12
"watch" : " ts-node-dev --respawn --exit-child src/local.ts" ,
13
13
"build" : " ncc build src/lambda.ts -o dist" ,
14
- "dist" : " yarn build && cd dist && zip ../ami-housekeeper.zip index.js " ,
14
+ "dist" : " yarn build && cp package.json dist/ && cd dist && zip ../ami-housekeeper.zip * " ,
15
15
"format" : " prettier --write \" **/*.ts\" " ,
16
16
"format-check" : " prettier --check \" **/*.ts\" " ,
17
17
"all" : " yarn build && yarn format && yarn lint && yarn test"
Original file line number Diff line number Diff line change 11
11
"lint" : " eslint src" ,
12
12
"watch" : " ts-node-dev --respawn --exit-child --files src/local-down.ts" ,
13
13
"build" : " ncc build src/lambda.ts -o dist" ,
14
- "dist" : " yarn build && cd dist && zip ../runners.zip index.js " ,
14
+ "dist" : " yarn build && cp package.json dist/ && cd dist && zip ../runners.zip * " ,
15
15
"format" : " prettier --write \" **/*.ts\" " ,
16
16
"format-check" : " prettier --check \" **/*.ts\" " ,
17
17
"all" : " yarn build && yarn format && yarn lint && yarn test"
Original file line number Diff line number Diff line change 11
11
"lint" : " eslint src" ,
12
12
"watch" : " ts-node-dev --respawn --exit-child src/local.ts" ,
13
13
"build" : " ncc build src/lambda.ts -o dist" ,
14
- "dist" : " yarn build && cd dist && zip ../runner-binaries-syncer.zip index.js " ,
14
+ "dist" : " yarn build && cp package.json dist/ && cd dist && zip ../runner-binaries-syncer.zip * " ,
15
15
"format" : " prettier --write \" **/*.ts\" " ,
16
16
"format-check" : " prettier --check \" **/*.ts\" " ,
17
17
"all" : " yarn build && yarn format && yarn lint && yarn test"
Original file line number Diff line number Diff line change 9
9
"test:watch" : " NODE_ENV=test nx test --watch" ,
10
10
"lint" : " eslint src" ,
11
11
"build" : " ncc build src/lambda.ts -o dist" ,
12
- "dist" : " yarn build && cd dist && zip ../termination-watcher.zip index.js " ,
12
+ "dist" : " yarn build && cp package.json dist/ && cd dist && zip ../termination-watcher.zip * " ,
13
13
"format" : " prettier --write \" **/*.ts\" " ,
14
14
"format-check" : " prettier --check \" **/*.ts\" " ,
15
15
"all" : " yarn build && yarn format && yarn lint && yarn test"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @aws-github-runner/webhook" ,
3
3
"version" : " 1.0.0" ,
4
- "main" : " lambda.ts " ,
4
+ "main" : " dist/index.js " ,
5
5
"type" : " module" ,
6
6
"license" : " MIT" ,
7
7
"scripts" : {
11
11
"lint" : " eslint src" ,
12
12
"watch" : " ts-node-dev --respawn --exit-child src/local.ts" ,
13
13
"build" : " ncc build src/lambda.ts -o dist" ,
14
- "dist" : " yarn build && cd dist && zip ../webhook.zip index.js" ,
14
+ "dist" : " yarn build && cp package.json dist/ && cd dist && zip ../webhook.zip *" ,
15
+ "dist2" : " yarn build && zip -r webhook.zip index.mjs dist/" ,
15
16
"format" : " prettier --write \" **/*.ts\" " ,
16
17
"format-check" : " prettier --check \" **/*.ts\" " ,
17
18
"all" : " yarn build && yarn format && yarn lint && yarn test"
18
19
},
19
20
"devDependencies" : {
20
21
"@aws-sdk/client-eventbridge" : " ^3.758.0" ,
22
+ "@octokit/webhooks-types" : " ^7.6.1" ,
21
23
"@types/aws-lambda" : " ^8.10.146" ,
22
24
"@types/express" : " ^5.0.0" ,
23
25
"@types/node" : " ^22.13.9" ,
Original file line number Diff line number Diff line change @@ -245,6 +245,7 @@ __metadata:
245
245
" @octokit/rest " : " npm:20.1.2"
246
246
" @octokit/types " : " npm:^13.8.0"
247
247
" @octokit/webhooks " : " npm:^12.3.1"
248
+ " @octokit/webhooks-types " : " npm:^7.6.1"
248
249
" @types/aws-lambda " : " npm:^8.10.146"
249
250
" @types/express " : " npm:^5.0.0"
250
251
" @types/node " : " npm:^22.13.9"
@@ -4099,7 +4100,7 @@ __metadata:
4099
4100
languageName : node
4100
4101
linkType : hard
4101
4102
4102
- " @octokit/webhooks-types@npm:7.6.1 " :
4103
+ " @octokit/webhooks-types@npm:7.6.1, @octokit/webhooks-types@npm:^7.6.1 " :
4103
4104
version : 7.6.1
4104
4105
resolution : " @octokit/webhooks-types@npm:7.6.1"
4105
4106
checksum : 10c0/7c2cb40f9ccd2bd392cf35c23f995ae0719ef35fd3bce0264ced5518cbf0a7087bd069bf5e5963fc33d0232726968db526912df3cb017c1bd1761c8849c31a30
You can’t perform that action at this time.
0 commit comments