@towns-protocol/xchain-monitor 0.0.431 → 0.0.432
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/Dockerfile +9 -4
- package/README.md +1 -1
- package/package.json +4 -4
package/.turbo/turbo-build.log
CHANGED
package/Dockerfile
CHANGED
|
@@ -8,6 +8,11 @@ RUN apt-get update && \
|
|
|
8
8
|
git curl ca-certificates build-essential unzip && \
|
|
9
9
|
apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
10
10
|
|
|
11
|
+
# Install Node.js (needed for npm pack in @towns-protocol/generated build)
|
|
12
|
+
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
|
13
|
+
apt-get install -y nodejs && \
|
|
14
|
+
apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
15
|
+
|
|
11
16
|
# Install Bun
|
|
12
17
|
RUN curl -fsSL https://bun.sh/install | bash && \
|
|
13
18
|
ln -s /root/.bun/bin/bun /usr/local/bin/bun && \
|
|
@@ -43,14 +48,14 @@ COPY ./packages/xchain-monitor ./packages/xchain-monitor
|
|
|
43
48
|
RUN bun run turbo build --filter @towns-protocol/xchain-monitor...
|
|
44
49
|
|
|
45
50
|
# create runner image with only the necessary files
|
|
46
|
-
FROM
|
|
51
|
+
FROM node:lts-alpine3.20 AS runner
|
|
47
52
|
|
|
48
53
|
COPY --from=builder /river/packages/xchain-monitor/dist /river/packages/xchain-monitor/dist
|
|
49
54
|
|
|
50
55
|
# install dd-trace again (because the bundler excludes some of the sub-dependencies)
|
|
51
56
|
WORKDIR /river/packages/xchain-monitor
|
|
52
|
-
RUN
|
|
53
|
-
RUN
|
|
57
|
+
RUN npm init --yes
|
|
58
|
+
RUN npm install dd-trace@^5.19.0 && npm cache clean --force
|
|
54
59
|
|
|
55
60
|
# run the service
|
|
56
61
|
ARG GIT_SHA
|
|
@@ -59,4 +64,4 @@ ENV DD_GIT_REPOSITORY_URL="https://github.com/towns-protocol/towns" \
|
|
|
59
64
|
DD_GIT_COMMIT_SHA=${GIT_SHA} \
|
|
60
65
|
NODE_ENV=production
|
|
61
66
|
|
|
62
|
-
CMD ["
|
|
67
|
+
CMD ["node", "--enable-source-maps", "--max-old-space-size=4096", "./dist/node_esbuild.cjs"]
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@towns-protocol/xchain-monitor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.432",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"dev": "bun run tsx src/index.ts"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@towns-protocol/generated": "^0.0.
|
|
13
|
-
"@towns-protocol/web3": "^0.0.
|
|
12
|
+
"@towns-protocol/generated": "^0.0.432",
|
|
13
|
+
"@towns-protocol/web3": "^0.0.432",
|
|
14
14
|
"dotenv": "^17.2.3",
|
|
15
15
|
"esbuild-plugin-pino": "^2.2.0",
|
|
16
16
|
"pino": "^9.0.0",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "aed1393cc61f669c852b2d244630e27ae27a5922"
|
|
32
32
|
}
|