chore: update package manager to pnpm@10.33.0 in package.json
This commit is contained in:
+4
-5
@@ -1,15 +1,14 @@
|
|||||||
FROM node:22-alpine AS build
|
FROM node:22-alpine AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json package-lock.json ./
|
RUN corepack enable
|
||||||
# npm ci fails here: lockfiles written on macOS omit the @emnapi/* deps of
|
COPY package.json pnpm-lock.yaml ./
|
||||||
# optional wasm32-wasi packages (long-standing npm bug), so use install.
|
RUN pnpm install --frozen-lockfile
|
||||||
RUN npm install --no-audit --no-fund
|
|
||||||
COPY . .
|
COPY . .
|
||||||
# Public URL baked into canonical/OG/JSON-LD tags; pass your domain at build
|
# 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
|
# 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.
|
# unset it when blank — process.env beats .env files in Vite.
|
||||||
ARG VITE_SITE_URL=
|
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
|
FROM nginx:alpine
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|||||||
@@ -16,9 +16,9 @@ Built with React + Vite + Tailwind CSS and [Untitled UI React](https://www.untit
|
|||||||
## Development
|
## Development
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install
|
pnpm install
|
||||||
npm run dev # http://localhost:5173
|
pnpm dev # http://localhost:5173
|
||||||
npm run build # typecheck + production build into dist/
|
pnpm build # typecheck + production build into dist/
|
||||||
```
|
```
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
|||||||
+3
-1
@@ -12,7 +12,9 @@
|
|||||||
/>
|
/>
|
||||||
<meta name="robots" content="index, follow" />
|
<meta name="robots" content="index, follow" />
|
||||||
<meta name="theme-color" content="#7f56d9" />
|
<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 -->
|
<!-- Icons & manifest -->
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
|
|||||||
Generated
-6024
File diff suppressed because it is too large
Load Diff
+4
-1
@@ -12,6 +12,7 @@
|
|||||||
"@codemirror/lang-markdown": "^6.5.0",
|
"@codemirror/lang-markdown": "^6.5.0",
|
||||||
"@codemirror/language-data": "^6.5.2",
|
"@codemirror/language-data": "^6.5.2",
|
||||||
"@fontsource-variable/inter": "^5.2.8",
|
"@fontsource-variable/inter": "^5.2.8",
|
||||||
|
"@react-types/shared": "^3.36.0",
|
||||||
"@tailwindcss/typography": "^0.5.19",
|
"@tailwindcss/typography": "^0.5.19",
|
||||||
"@tailwindcss/vite": "^4.2.2",
|
"@tailwindcss/vite": "^4.2.2",
|
||||||
"@uiw/codemirror-theme-github": "^4.25.10",
|
"@uiw/codemirror-theme-github": "^4.25.10",
|
||||||
@@ -30,6 +31,7 @@
|
|||||||
"react-hotkeys-hook": "^5.2.4",
|
"react-hotkeys-hook": "^5.2.4",
|
||||||
"react-markdown": "^10.1.0",
|
"react-markdown": "^10.1.0",
|
||||||
"react-router": "^7.13.0",
|
"react-router": "^7.13.0",
|
||||||
|
"react-stately": "^3.48.0",
|
||||||
"recharts": "^3.8.0",
|
"recharts": "^3.8.0",
|
||||||
"rehype-highlight": "^7.0.2",
|
"rehype-highlight": "^7.0.2",
|
||||||
"rehype-stringify": "^10.0.1",
|
"rehype-stringify": "^10.0.1",
|
||||||
@@ -54,5 +56,6 @@
|
|||||||
"typescript": "^5.9.3",
|
"typescript": "^5.9.3",
|
||||||
"typescript-eslint": "^8.53.1",
|
"typescript-eslint": "^8.53.1",
|
||||||
"vite": "^8.0.2"
|
"vite": "^8.0.2"
|
||||||
}
|
},
|
||||||
|
"packageManager": "pnpm@10.33.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+6
@@ -17,6 +17,9 @@ importers:
|
|||||||
'@fontsource-variable/inter':
|
'@fontsource-variable/inter':
|
||||||
specifier: ^5.2.8
|
specifier: ^5.2.8
|
||||||
version: 5.2.8
|
version: 5.2.8
|
||||||
|
'@react-types/shared':
|
||||||
|
specifier: ^3.36.0
|
||||||
|
version: 3.36.0(react@19.2.7)
|
||||||
'@tailwindcss/typography':
|
'@tailwindcss/typography':
|
||||||
specifier: ^0.5.19
|
specifier: ^0.5.19
|
||||||
version: 0.5.20(tailwindcss@4.3.2)
|
version: 0.5.20(tailwindcss@4.3.2)
|
||||||
@@ -71,6 +74,9 @@ importers:
|
|||||||
react-router:
|
react-router:
|
||||||
specifier: ^7.13.0
|
specifier: ^7.13.0
|
||||||
version: 7.18.1(react-dom@19.2.7(react@19.2.7))(react@19.2.7)
|
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:
|
recharts:
|
||||||
specifier: ^3.8.0
|
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)
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user