Commits on Source (5)
......@@ -19,9 +19,9 @@ WORKDIR /home/nonroot/simnet_scripts
COPY package.json package-lock.json tsconfig.json .
COPY src/ src/
RUN npm install typescript
RUN yarn add typescript
# This will generate dist dir which is needed in order for the script to run
RUN npm run build
RUN npm run build
# place index.js in a place where gurke expects it
RUN ln -s "$(pwd)"/dist/index.js /usr/local/bin/simnet_scripts
......
# simnet_scripts
# Simnet_scripts
Scripts for running in Simnet projects
......@@ -43,7 +43,7 @@ async function showSystemEvents(api: ApiPromise) {
console.log(
`\t${event.section}:${event.method}:: (phase=${phase.toString()})`
);
console.log(`\t\t${event.meta.documentation.toString()}`);
console.log(`\t\t${event.meta.docs.toString()}`);
event.data.forEach((data, index) => {
console.log(`\t\t\t${types[index].type}: ${data.toString()}`);
......