chore: update package manager to pnpm@10.33.0 in package.json

This commit is contained in:
Om Prakash Das
2026-07-02 18:51:57 +05:30
parent ed3eba27ec
commit 82a106e77a
6 changed files with 20 additions and 6034 deletions
+4 -5
View File
@@ -1,15 +1,14 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
# npm ci fails here: lockfiles written on macOS omit the @emnapi/* deps of
# optional wasm32-wasi packages (long-standing npm bug), so use install.
RUN npm install --no-audit --no-fund
RUN corepack enable
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
# Public URL baked into canonical/OG/JSON-LD tags; pass your domain at build
# time (or set it in .env). An empty arg must not shadow the .env value, so
# unset it when blank — process.env beats .env files in Vite.
ARG VITE_SITE_URL=
RUN if [ -z "$VITE_SITE_URL" ]; then unset VITE_SITE_URL; fi && npm run build
RUN if [ -z "$VITE_SITE_URL" ]; then unset VITE_SITE_URL; fi && pnpm build
FROM nginx:alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
+3 -3
View File
@@ -16,9 +16,9 @@ Built with React + Vite + Tailwind CSS and [Untitled UI React](https://www.untit
## Development
```sh
npm install
npm run dev # http://localhost:5173
npm run build # typecheck + production build into dist/
pnpm install
pnpm dev # http://localhost:5173
pnpm build # typecheck + production build into dist/
```
## Docker
+3 -1
View File
@@ -12,7 +12,9 @@
/>
<meta name="robots" content="index, follow" />
<meta name="theme-color" content="#7f56d9" />
<link rel="canonical" href="%VITE_SITE_URL%/" />
<!-- vite-ignore: with an unset VITE_SITE_URL the href is "/", which Vite's
HTML asset processing would try to read as a file (EISDIR). -->
<link rel="canonical" href="%VITE_SITE_URL%/" vite-ignore />
<!-- Icons & manifest -->
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
-6024
View File
File diff suppressed because it is too large Load Diff
+4 -1
View File
@@ -12,6 +12,7 @@
"@codemirror/lang-markdown": "^6.5.0",
"@codemirror/language-data": "^6.5.2",
"@fontsource-variable/inter": "^5.2.8",
"@react-types/shared": "^3.36.0",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.2.2",
"@uiw/codemirror-theme-github": "^4.25.10",
@@ -30,6 +31,7 @@
"react-hotkeys-hook": "^5.2.4",
"react-markdown": "^10.1.0",
"react-router": "^7.13.0",
"react-stately": "^3.48.0",
"recharts": "^3.8.0",
"rehype-highlight": "^7.0.2",
"rehype-stringify": "^10.0.1",
@@ -54,5 +56,6 @@
"typescript": "^5.9.3",
"typescript-eslint": "^8.53.1",
"vite": "^8.0.2"
}
},
"packageManager": "pnpm@10.33.0"
}
+6
View File
@@ -17,6 +17,9 @@ importers:
'@fontsource-variable/inter':
specifier: ^5.2.8
version: 5.2.8
'@react-types/shared':
specifier: ^3.36.0
version: 3.36.0(react@19.2.7)
'@tailwindcss/typography':
specifier: ^0.5.19
version: 0.5.20(tailwindcss@4.3.2)
@@ -71,6 +74,9 @@ importers:
react-router:
specifier: ^7.13.0
version: 7.18.1(react-dom@19.2.7(react@19.2.7))(react@19.2.7)
react-stately:
specifier: ^3.48.0
version: 3.48.0(react@19.2.7)
recharts:
specifier: ^3.8.0
version: 3.9.1(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react-is@19.2.7)(react@19.2.7)(redux@5.0.1)