Skip to content

Commit

Permalink
Switch to hyperion-seq from npm now that 1.2.5 is out, update Dockerf…
Browse files Browse the repository at this point in the history
…ile & bump version
  • Loading branch information
guilledk committed Dec 29, 2023
1 parent c6d99dd commit 3f563c8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
5 changes: 4 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.git
.idea
.idea
build
node_modules
.github
10 changes: 3 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
FROM node:18-bullseye-slim

ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /leap-mock

RUN apt-get update && apt-get install -y git
COPY . .

WORKDIR /root/target

COPY node_modules ./node_modules
COPY build ./build
COPY package.json .
RUN npm run build

ENV LOG_LEVEL=debug

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "leap-mock",
"repository": "git+https://github.com/guilledk/leap-mock.git",
"version": "0.1.5",
"version": "0.1.6",
"description": "AntelopeIO/leap mocker for advanced indexer testing",
"main": "./build/index.js",
"type": "module",
Expand All @@ -10,7 +10,7 @@
"import": "./build/index.js"
},
"scripts": {
"bootstrap": "sh -c 'yarn && cd node_modules/@eosrio/hyperion-sequential-reader && npm i && npx tsc'",
"bootstrap": "yarn",
"build": "npm run bootstrap && tsc && node scripts/create-dist-packages.mjs",
"start": "node build/main.js",
"test": "mocha build/tests/**/*.spec.js --timeout 120000",
Expand All @@ -37,7 +37,7 @@
"ws": "^8.14.2"
},
"devDependencies": {
"@eosrio/hyperion-sequential-reader": "https://github.com/eosrio/hyperion-sequential-reader.git#hist_buf_size",
"@eosrio/hyperion-sequential-reader": "1.2.5",
"@types/async": "^3.2.16",
"@types/chai": "^4.3.11",
"@types/lodash": "^4.14.202",
Expand Down
5 changes: 3 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
enabled "2.0.x"
kuler "^2.0.0"

"@eosrio/hyperion-sequential-reader@https://github.com/eosrio/hyperion-sequential-reader.git#hist_buf_size":
"@eosrio/hyperion-sequential-reader@1.2.5":
version "1.2.5"
resolved "https://github.com/eosrio/hyperion-sequential-reader.git#8573e0db7790d66279f640ee41bdbb442cb26236"
resolved "https://registry.yarnpkg.com/@eosrio/hyperion-sequential-reader/-/hyperion-sequential-reader-1.2.5.tgz#71f75fe042eac8b9714e730d68e6c33e3f2ef742"
integrity sha512-PlV6v0LecKRHr/TpvnMMhD3jXTztVfOXnQtYQlwCUsIuwVg6zCKeTNluXYXBsnHMBTzWM2fkZGHf07LjBJ3CbA==
dependencies:
"@greymass/eosio" "0.6.11"
async "^3.2.4"
Expand Down

0 comments on commit 3f563c8

Please sign in to comment.