Skip to content

Commit 4a60587

Browse files
committed
feat(insights): initial app shell & index pages
1 parent 7f9ab33 commit 4a60587

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+4051
-762
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.17.0
1+
v20.18.0

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
nodejs 20.17.0
2-
pnpm 9.12.1
1+
nodejs 20.18.0
2+
pnpm 9.12.3
33
rust 1.78.0
44
python 3.12.4

Dockerfile.node

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20.17.0-slim@sha256:2394e403d45a644e41ac2a15b6f843a7d4a99ad24be48c27982c5fdc61a1ef17 as builder-base
1+
FROM node:20.18.0-slim@sha256:ec35a66c9a0a275b027debde05247c081f8b2f0c43d7399d3a6ad5660cee2f6a as builder-base
22
WORKDIR /usr/src/pyth
33
ENV PNPM_HOME="/pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
@@ -7,7 +7,7 @@ COPY ./ .
77
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
88

99

10-
FROM node:20.17.0-alpine@sha256:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03 as runner-base
10+
FROM node:20.18.0-alpine3.20@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3cc8e44a8def9 as runner-base
1111
WORKDIR /srv
1212
ENV NODE_ENV production
1313
RUN addgroup --system --gid 1001 pyth && adduser --system --uid 1001 pyth -g pyth && chown pyth:pyth .

apps/insights/package.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,35 @@
1010
"build": "next build",
1111
"fix:format": "prettier --write .",
1212
"fix:lint": "eslint --fix .",
13+
"pull:env": "[ $CI ] || VERCEL_ORG_ID=team_BKQrg3JJFLxZyTqpuYtIY0rj VERCEL_PROJECT_ID=prj_TBkf9EyQjQF37gs4Vk0sQKJj97kE vercel env pull",
1314
"start:dev": "next dev --port 3003",
1415
"start:prod": "next start --port 3003",
1516
"test:format": "prettier --check .",
1617
"test:lint": "jest --selectProjects lint",
1718
"test:types": "tsc"
1819
},
1920
"dependencies": {
21+
"@clickhouse/client": "catalog:",
22+
"@phosphor-icons/react": "catalog:",
2023
"@pythnetwork/app-logger": "workspace:*",
24+
"@pythnetwork/client": "catalog:",
2125
"@pythnetwork/component-library": "workspace:*",
2226
"@pythnetwork/fonts": "workspace:*",
27+
"@pythnetwork/known-publishers": "workspace:*",
2328
"@pythnetwork/next-root": "workspace:*",
29+
"@react-hookz/web": "catalog:",
30+
"@solana/web3.js": "catalog:",
2431
"clsx": "catalog:",
32+
"cryptocurrency-icons": "catalog:",
33+
"framer-motion": "catalog:",
2534
"next": "catalog:",
35+
"next-themes": "catalog:",
36+
"nuqs": "catalog:",
2637
"react": "catalog:",
27-
"react-dom": "catalog:"
38+
"react-aria": "catalog:",
39+
"react-aria-components": "catalog:",
40+
"react-dom": "catalog:",
41+
"zod": "catalog:"
2842
},
2943
"devDependencies": {
3044
"@cprussin/eslint-config": "catalog:",

apps/insights/src/app/loading.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { Loading as default } from "../components/Loading";

apps/insights/src/app/page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { Home as default } from "../components/Home";
1+
export { Overview as default } from "../components/Overview";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { PriceFeedsLayout as default } from "../../components/PriceFeeds/layout";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { PriceFeedsLoading as default } from "../../components/PriceFeeds/loading";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { PriceFeeds as default } from "../../components/PriceFeeds";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { PublishersLayout as default } from "../../components/Publishers/layout";

0 commit comments

Comments
 (0)