Skip to content

Commit

Permalink
npm i ric
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyek committed Mar 19, 2024
1 parent bad2056 commit 3d5ff67
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions projects/scrape-txs/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ WORKDIR ${FUNCTION_DIR}

COPY ./package.json ./bun.lockb ./
RUN bun install
RUN npm install aws-lambda-ric

COPY lambda.js ./
COPY ./src ./src
Expand Down
Binary file modified projects/scrape-txs/bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion projects/scrape-txs/lambda.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { spawn } from 'node:child_process';

export const handler = async () => {
const process = spawn('bun', ['./src/console.ts']);
const process = spawn('bun', ['run', './src/console.ts']);
process.stdout.on('data', (data) => {
console.log(data.toString());
});
Expand Down
1 change: 0 additions & 1 deletion projects/scrape-txs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"typescript": "^5.4.2"
},
"dependencies": {
"aws-lambda-ric": "^3.1.0",
"commander": "^12.0.0",
"dayjs": "~1.11.10",
"decimal.js": "^10.4.3",
Expand Down

0 comments on commit 3d5ff67

Please sign in to comment.