Skip to content

Commit 42814a0

Browse files
committed
override incompatible & incorrect peer deps within dependencies
1 parent 942b1a1 commit 42814a0

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

api/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,13 @@
201201
"overrides": {
202202
"eslint": {
203203
"jiti": "2"
204+
},
205+
"@as-integrations/fastify": {
206+
"fastify": "$fastify"
207+
},
208+
"nest-authz": {
209+
"@nestjs/common": "$@nestjs/common",
210+
"@nestjs/core": "$@nestjs/core"
204211
}
205212
},
206213
"private": true,

api/scripts/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ try {
5252

5353
const sudoCheck = await $`command -v sudo`.nothrow();
5454
const SUDO = sudoCheck.exitCode === 0 ? 'sudo' : '';
55-
await $`${SUDO} chown -R 0:0 ../.pnpm-store`;
55+
await $`${SUDO} chown -R 0:0 node_modules`;
5656

5757
await $`XZ_OPT=-5 tar -cJf packed-node-modules.tar.xz node_modules`;
5858
await $`mv packed-node-modules.tar.xz ../`;

0 commit comments

Comments
 (0)