dev: add back lockfile

This commit is contained in:
naskya 2023-11-18 15:18:44 +09:00
parent dbe4fd335e
commit 1583fddcdc
Signed by: naskya
GPG key ID: 164DFF24E2D40139
6 changed files with 17257 additions and 7 deletions

2
.gitignore vendored
View file

@ -1,5 +1,3 @@
pnpm-lock.yaml
# Visual Studio Code
/.vscode
!/.vscode/extensions.json

1
.npmrc
View file

@ -1 +0,0 @@
use-lockfile-v6=true

View file

@ -32,7 +32,7 @@ COPY packages/backend/native-utils/npm/linux-x64-musl/package.json packages/back
COPY packages/backend/native-utils/npm/linux-arm64-musl/package.json packages/backend/native-utils/npm/linux-arm64-musl/package.json
# Configure pnpm, and install dev mode dependencies for compilation
RUN corepack enable && corepack prepare pnpm@latest --activate && pnpm install
RUN corepack enable && corepack prepare pnpm@latest --activate && pnpm install --frozen-lockfile
# Copy in the rest of the native-utils rust files
COPY packages/backend/native-utils packages/backend/native-utils/
@ -52,7 +52,7 @@ RUN sed -i -r "s/\"version\": \"([^+]+).*\",$/\"version\": \"\\1+neko:${VERSION}
RUN env NODE_ENV=production sh -c "pnpm run --filter '!native-utils' build && pnpm run gulp"
# Trim down the dependencies to only those for production
RUN pnpm install --prod
RUN pnpm install --prod --frozen-lockfile
## Runtime container
FROM node:20

17252
neko/pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load diff

View file

@ -36,8 +36,8 @@ say "Upgrading dependencies..."
running "corepack prepare pnpm@latest --activate"
corepack prepare pnpm@latest --activate
running "pnpm install"
pnpm install
running "pnpm install --frozen-lockfile"
pnpm install --frozen-lockfile
say "Done!"
br

1
pnpm-lock.yaml Symbolic link
View file

@ -0,0 +1 @@
neko/pnpm-lock.yaml