mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Yarn 4 Migration (#32253)
Migrates the Overleaf monorepo package manager from npm (v11) to Yarn 4 (v4.9.1) using node-modules linker mode. GitOrigin-RevId: 50d32ab01955c15e29679eff9e9e9cfb897fab2d
This commit is contained in:
committed by
Copybot
parent
ed0fb0110a
commit
0d64a88a46
@@ -9,6 +9,9 @@ services:
|
||||
- .:/overleaf/services/real-time
|
||||
- ../../node_modules:/overleaf/node_modules
|
||||
- ../../libraries:/overleaf/libraries
|
||||
- ../../package.json:/overleaf/package.json
|
||||
- ../../.yarnrc.yml:/overleaf/.yarnrc.yml
|
||||
- ../../yarn.lock:/overleaf/yarn.lock
|
||||
- ../../tsconfig.backend.json:/overleaf/tsconfig.backend.json
|
||||
working_dir: /overleaf/services/real-time
|
||||
environment:
|
||||
@@ -22,7 +25,7 @@ services:
|
||||
QUEUES_REDIS_HOST: redis_test
|
||||
ANALYTICS_QUEUES_REDIS_HOST: redis_test
|
||||
ANALYTICS_QUEUES_BQ_SINK_REDIS_HOST: redis_test
|
||||
command: npm run --silent test:unit
|
||||
command: corepack yarn run --silent test:unit
|
||||
user: node
|
||||
depends_on:
|
||||
redis_test:
|
||||
@@ -34,6 +37,9 @@ services:
|
||||
- .:/overleaf/services/real-time
|
||||
- ../../node_modules:/overleaf/node_modules
|
||||
- ../../libraries:/overleaf/libraries
|
||||
- ../../package.json:/overleaf/package.json
|
||||
- ../../.yarnrc.yml:/overleaf/.yarnrc.yml
|
||||
- ../../yarn.lock:/overleaf/yarn.lock
|
||||
working_dir: /overleaf/services/real-time
|
||||
environment:
|
||||
RETRIES:
|
||||
@@ -52,7 +58,7 @@ services:
|
||||
depends_on:
|
||||
redis_test:
|
||||
condition: service_healthy
|
||||
command: npm run --silent test:acceptance
|
||||
command: corepack yarn run --silent test:acceptance
|
||||
|
||||
redis_test:
|
||||
image: redis:7.4.8
|
||||
|
||||
Reference in New Issue
Block a user