@towns-protocol/xchain-monitor 0.0.430 → 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 +11 -10
- package/Dockerfile +12 -13
- package/README.md +1 -1
- package/dist/node_esbuild.cjs +5835 -5856
- package/dist/node_esbuild.cjs.map +4 -4
- package/dist/pino-file.cjs +204 -104
- package/dist/pino-file.cjs.map +3 -3
- package/dist/pino-pretty.cjs +134 -102
- package/dist/pino-pretty.cjs.map +3 -3
- package/dist/pino-worker.cjs +213 -6231
- package/dist/pino-worker.cjs.map +4 -4
- package/dist/thread-stream-worker.cjs +8 -12
- package/dist/thread-stream-worker.cjs.map +3 -3
- package/package.json +6 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
$ bun ./esbuild.config.mjs
|
|
1
2
|
|
|
2
|
-
dist/node_esbuild.cjs 3.
|
|
3
|
-
dist/pino-worker.cjs
|
|
4
|
-
dist/pino-file.cjs
|
|
5
|
-
dist/pino-pretty.cjs
|
|
6
|
-
dist/thread-stream-worker.cjs 6.
|
|
7
|
-
dist/node_esbuild.cjs.map 6.
|
|
8
|
-
dist/pino-worker.cjs.map
|
|
9
|
-
dist/pino-file.cjs.map
|
|
10
|
-
dist/pino-pretty.cjs.map
|
|
3
|
+
dist/node_esbuild.cjs 3.3mb ⚠️
|
|
4
|
+
dist/pino-worker.cjs 155.7kb
|
|
5
|
+
dist/pino-file.cjs 144.7kb
|
|
6
|
+
dist/pino-pretty.cjs 114.6kb
|
|
7
|
+
dist/thread-stream-worker.cjs 6.6kb
|
|
8
|
+
dist/node_esbuild.cjs.map 6.6mb
|
|
9
|
+
dist/pino-worker.cjs.map 265.2kb
|
|
10
|
+
dist/pino-file.cjs.map 237.2kb
|
|
11
|
+
dist/pino-pretty.cjs.map 203.6kb
|
|
11
12
|
dist/thread-stream-worker.cjs.map 12.0kb
|
|
12
13
|
|
|
13
|
-
⚡ Done in
|
|
14
|
+
⚡ Done in 1239ms
|
package/Dockerfile
CHANGED
|
@@ -5,23 +5,22 @@ WORKDIR /river
|
|
|
5
5
|
# Install build dependencies
|
|
6
6
|
RUN apt-get update && \
|
|
7
7
|
apt-get install -y --no-install-recommends \
|
|
8
|
-
git curl ca-certificates build-essential && \
|
|
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
|
|
11
|
+
# Install Node.js (needed for npm pack in @towns-protocol/generated build)
|
|
12
12
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
|
13
13
|
apt-get install -y nodejs && \
|
|
14
14
|
apt-get clean && rm -rf /var/lib/apt/lists/*
|
|
15
15
|
|
|
16
|
-
#
|
|
17
|
-
RUN
|
|
18
|
-
|
|
16
|
+
# Install Bun
|
|
17
|
+
RUN curl -fsSL https://bun.sh/install | bash && \
|
|
18
|
+
ln -s /root/.bun/bin/bun /usr/local/bin/bun && \
|
|
19
|
+
ln -s /root/.bun/bin/bunx /usr/local/bin/bunx
|
|
19
20
|
|
|
20
21
|
# Copy monorepo configuration for dependency resolution
|
|
21
|
-
COPY
|
|
22
|
-
COPY .
|
|
23
|
-
COPY .yarn/plugins .yarn/plugins
|
|
24
|
-
COPY packages/tsconfig.base.json ./packages/
|
|
22
|
+
COPY buf.yaml bunfig.toml bun.lock package.json turbo.json ./
|
|
23
|
+
COPY ./packages/tsconfig.base.json ./packages/tsconfig.base.json
|
|
25
24
|
|
|
26
25
|
# Copy workspace package.json files for dependency resolution
|
|
27
26
|
COPY ./packages/xchain-monitor/package.json ./packages/xchain-monitor/
|
|
@@ -35,7 +34,7 @@ COPY ./packages/prettier-config/package.json ./packages/prettier-config/
|
|
|
35
34
|
COPY ./protocol/package.json ./protocol/
|
|
36
35
|
|
|
37
36
|
# Install dependencies (cached unless package.json files change)
|
|
38
|
-
RUN
|
|
37
|
+
RUN bun install && bun pm cache rm
|
|
39
38
|
|
|
40
39
|
# Copy remaining source code (only packages needed for build)
|
|
41
40
|
COPY ./protocol ./protocol
|
|
@@ -46,7 +45,7 @@ COPY ./packages/web3 ./packages/web3
|
|
|
46
45
|
COPY ./packages/utils ./packages/utils
|
|
47
46
|
COPY ./packages/xchain-monitor ./packages/xchain-monitor
|
|
48
47
|
|
|
49
|
-
RUN
|
|
48
|
+
RUN bun run turbo build --filter @towns-protocol/xchain-monitor...
|
|
50
49
|
|
|
51
50
|
# create runner image with only the necessary files
|
|
52
51
|
FROM node:lts-alpine3.20 AS runner
|
|
@@ -55,8 +54,8 @@ COPY --from=builder /river/packages/xchain-monitor/dist /river/packages/xchain-m
|
|
|
55
54
|
|
|
56
55
|
# install dd-trace again (because the bundler excludes some of the sub-dependencies)
|
|
57
56
|
WORKDIR /river/packages/xchain-monitor
|
|
58
|
-
RUN
|
|
59
|
-
RUN
|
|
57
|
+
RUN npm init --yes
|
|
58
|
+
RUN npm install dd-trace@^5.19.0 && npm cache clean --force
|
|
60
59
|
|
|
61
60
|
# run the service
|
|
62
61
|
ARG GIT_SHA
|
package/README.md
CHANGED