mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-23 10:02:51 +00:00
refactor: update pnpm to v10
This commit is contained in:
@@ -36,7 +36,7 @@ default:
|
||||
interruptible: true
|
||||
before_script:
|
||||
- corepack enable
|
||||
- corepack prepare pnpm@latest-8 --activate
|
||||
- corepack prepare pnpm@latest-10 --activate
|
||||
# - echo TURBO_API=$TURBO_API >> .env.local
|
||||
# - echo TURBO_TOKEN=$TURBO_TOKEN >> .env.local
|
||||
# - echo TURBO_TEAM=$TURBO_TEAM >> .env.local
|
||||
@@ -119,9 +119,9 @@ unit:
|
||||
# - pnpm i --prefer-offline
|
||||
# - pnpm test:skip || pnpm i -r --prefer-offline
|
||||
- pnpm install
|
||||
- cd node_modules/.pnpm/re2*/node_modules/re2
|
||||
- npm run install
|
||||
- cd $CI_PROJECT_DIR
|
||||
# - cd node_modules/.pnpm/re2*/node_modules/re2
|
||||
# - npm run install
|
||||
# - cd $CI_PROJECT_DIR
|
||||
- pnpm test $TURBO_CACHE_BYPASS
|
||||
coverage: '/Statements[^:]*\:[^:]*\s+([\d\.]+)%/'
|
||||
artifacts:
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
nodejs 22.16.0
|
||||
pnpm 8.15.9
|
||||
pnpm 10.12.3
|
||||
python 3.11.5
|
||||
|
||||
@@ -9,7 +9,7 @@ integration:
|
||||
- name: registry.gitlab.com/openstapps/openstapps/database:latest
|
||||
alias: elasticsearch
|
||||
script:
|
||||
- pnpm --filter=@openstapps/backend install
|
||||
- pnpm install
|
||||
- pnpm test:integration:backend
|
||||
artifacts:
|
||||
when: on_failure
|
||||
|
||||
@@ -2,11 +2,11 @@ e2e:
|
||||
image: registry.gitlab.com/openstapps/openstapps/app-cypress:node-22
|
||||
stage: test
|
||||
script:
|
||||
- pnpm --filter=@openstapps/app install
|
||||
- pnpm install
|
||||
- pnpm --filter=@openstapps/app exec cypress install
|
||||
- cd node_modules/.pnpm/re2*/node_modules/re2
|
||||
- npm run install
|
||||
- cd $CI_PROJECT_DIR
|
||||
# - cd node_modules/.pnpm/re2*/node_modules/re2
|
||||
# - npm run install
|
||||
# - cd $CI_PROJECT_DIR
|
||||
- pnpm test:integration:app
|
||||
artifacts:
|
||||
when: on_failure
|
||||
|
||||
@@ -115,7 +115,7 @@ RUN cd / && ionic start $TMP_PROJECT_NAME blank --type=angular --capacitor --no-
|
||||
RUN ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1
|
||||
|
||||
### PNPM
|
||||
RUN corepack enable && corepack prepare pnpm@latest-8 --activate
|
||||
RUN corepack enable && corepack prepare pnpm@latest-10 --activate
|
||||
|
||||
### Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
@@ -84,7 +84,7 @@ RUN apt-get update && \
|
||||
RUN ln -s /usr/bin/microsoft-edge /usr/bin/edge
|
||||
|
||||
### PNPM
|
||||
RUN corepack enable && corepack prepare pnpm@latest-8 --activate
|
||||
RUN corepack enable && corepack prepare pnpm@latest-10 --activate
|
||||
|
||||
# versions of local tools
|
||||
RUN echo " node version: $(node -v) \n" \
|
||||
|
||||
@@ -2,7 +2,7 @@ FROM node:22-alpine
|
||||
|
||||
RUN apk update && apk add git curl jq && mkdir -p /opt
|
||||
|
||||
RUN corepack enable && corepack prepare pnpm@latest-8 --activate
|
||||
RUN corepack enable && corepack prepare pnpm@latest-10 --activate
|
||||
|
||||
COPY --chown=root:root wait-for.sh /opt/wait-for
|
||||
|
||||
|
||||
@@ -2,6 +2,6 @@ FROM node:22-alpine
|
||||
|
||||
RUN apk update && apk add git jq curl python3 build-base
|
||||
|
||||
RUN npm install turbo --global && corepack enable && corepack prepare pnpm@latest-8 --activate
|
||||
RUN npm install turbo --global && corepack enable && corepack prepare pnpm@latest-10 --activate
|
||||
|
||||
CMD []
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": "^22.16.0",
|
||||
"pnpm": "^8.15.9"
|
||||
"pnpm": "^10.12.3"
|
||||
},
|
||||
"packageManager": "pnpm@8.15.9+sha512.499434c9d8fdd1a2794ebf4552b3b25c0a633abcee5bb15e7b5de90f32f47b513aca98cd5cfd001c31f0db454bc3804edccd578501e4ca293a6816166bbd9f81",
|
||||
"packageManager": "pnpm@10.12.3+sha512.467df2c586056165580ad6dfb54ceaad94c5a30f80893ebdec5a44c5aa73c205ae4a5bb9d5ed6bb84ea7c249ece786642bbb49d06a307df218d03da41c317417",
|
||||
"scripts": {
|
||||
"build": "dotenv -c -- turbo run build --concurrency 80%",
|
||||
"build:full": "dotenv -c -- turbo run syncpack build lint format --concurrency 80% --summarize",
|
||||
"build": "dotenv -c -- turbo run build",
|
||||
"build:full": "dotenv -c -- turbo run syncpack build lint format --summarize",
|
||||
"build:full:skip": "dotenv -c -- turbo-ignore --task='build lint format'",
|
||||
"changeset:status": "changeset status",
|
||||
"deploy": "dotenv -c -- turbo run deploy --concurrency=1",
|
||||
|
||||
22371
pnpm-lock.yaml
generated
22371
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,22 @@
|
||||
packages:
|
||||
- "backend/*"
|
||||
- "configuration/*"
|
||||
- "examples/*"
|
||||
- "frontend/*"
|
||||
- "packages/*"
|
||||
- "images/*"
|
||||
- backend/*
|
||||
- configuration/*
|
||||
- examples/*
|
||||
- frontend/*
|
||||
- packages/*
|
||||
- images/*
|
||||
|
||||
onlyBuiltDependencies:
|
||||
- '@compodoc/compodoc'
|
||||
- cpu-features
|
||||
- cypress
|
||||
- esbuild
|
||||
- nice-napi
|
||||
- re2
|
||||
- sharp
|
||||
- ssh2
|
||||
- swiper
|
||||
|
||||
# linkWorkspacePackages: true
|
||||
# hoistWorkspacePackages: false
|
||||
# dedupePeerDependents: false
|
||||
Reference in New Issue
Block a user