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 @@ -239,6 +239,7 @@ __metadata:
239
239
" @octokit/rest " : " npm:20.1.2"
240
240
" @octokit/types " : " npm:^13.8.0"
241
241
" @octokit/webhooks " : " npm:^12.3.1"
242
+ " @octokit/webhooks-types " : " npm:^7.6.1"
242
243
" @types/aws-lambda " : " npm:^8.10.146"
243
244
" @types/express " : " npm:^5.0.0"
244
245
" @types/node " : " npm:^22.13.9"
@@ -3894,7 +3895,7 @@ __metadata:
3894
3895
languageName : node
3895
3896
linkType : hard
3896
3897
3897
- " @octokit/webhooks-types@npm:7.6.1 " :
3898
+ " @octokit/webhooks-types@npm:7.6.1, @octokit/webhooks-types@npm:^7.6.1 " :
3898
3899
version : 7.6.1
3899
3900
resolution : " @octokit/webhooks-types@npm:7.6.1"
3900
3901
checksum : 10c0/7c2cb40f9ccd2bd392cf35c23f995ae0719ef35fd3bce0264ced5518cbf0a7087bd069bf5e5963fc33d0232726968db526912df3cb017c1bd1761c8849c31a30
You can’t perform that action at this time.
0 commit comments