mirror of
https://example.com
synced 2024-11-24 23:16:38 +09:00
dev: add back lockfile
This commit is contained in:
parent
dbe4fd335e
commit
1583fddcdc
6 changed files with 17257 additions and 7 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,5 +1,3 @@
|
|||
pnpm-lock.yaml
|
||||
|
||||
# Visual Studio Code
|
||||
/.vscode
|
||||
!/.vscode/extensions.json
|
||||
|
|
1
.npmrc
1
.npmrc
|
@ -1 +0,0 @@
|
|||
use-lockfile-v6=true
|
|
@ -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
17252
neko/pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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
1
pnpm-lock.yaml
Symbolic link
|
@ -0,0 +1 @@
|
|||
neko/pnpm-lock.yaml
|
Loading…
Reference in a new issue