Skip to content

Commit

Permalink
Update pnpm from 7.17.1 to 8.12.1 (#3556)
Browse files Browse the repository at this point in the history
* Update pnpm from 7.17.1 to 8.12.1

* Remove --offline flag to fix build

Signed-off-by: Olga Bulat <obulat@gmail.com>

* Remove bundle_size workflow

* Remove pnpm fetch

---------

Signed-off-by: Olga Bulat <obulat@gmail.com>
Co-authored-by: Olga Bulat <obulat@gmail.com>
  • Loading branch information
AetherUnbound and obulat authored Jan 1, 2024
1 parent c1b5f70 commit c8367e7
Show file tree
Hide file tree
Showing 4 changed files with 3,944 additions and 4,418 deletions.
61 changes: 0 additions & 61 deletions .github/workflows/bundle_size.yml

This file was deleted.

6 changes: 1 addition & 5 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,15 @@ RUN echo '{"packages":["frontend/"]}' > pnpm-workspace.yaml
# Copy the `frontend/` directory into `/home/node/frontend`, as a package in the monorepo.
COPY --chown=node:node . ./frontend/

# Fetch dependencies, including local development tools, to the virtual store.
RUN pnpm fetch

WORKDIR /home/node/frontend

# Prevent pre-commit from being installed, we don't need it here and it fails to install anyway
ENV SKIP_PRE_COMMIT=true

# Get rid of the lockfile as it won't be accurate for the build without workspace.
# Then install dependencies, and in the process:
# - use only dependencies present in the virtual-store
# - fix the missing lockfile by writing a new one
RUN pnpm install --offline
RUN pnpm install

# disable telemetry when building the app
ENV NUXT_TELEMETRY_DISABLED=1
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"preeslint": "pnpm --filter eslint-plugin run build",
"eslint": "eslint --ext .js,.ts,.vue,.json,.json5 --ignore-path .gitignore --ignore-path .eslintignore --max-warnings=0 frontend automations/js packages .pnpmfile.cjs .eslintrc.js prettier.config.js tsconfig.base.json"
},
"packageManager": "pnpm@7.17.1",
"packageManager": "pnpm@8.12.1",
"engines": {
"node": ">= 18.0.0 <19",
"pnpm": ">= 7.17.1"
"pnpm": ">= 8.12.1"
},
"volta": {
"node": "18.19.0"
Expand Down
Loading

0 comments on commit c8367e7

Please sign in to comment.