build(postinstall): postinstall script to downgrade typeorm on windows (#836)

* build(postinstall): postinstall script to downgrade typeorm on windows

This is a temporary fix for windows baremetal users until we fix #478

re #478

* fix: use win32 as explained in nodejs docs
This commit is contained in:
Fallenbagel
2024-06-24 19:07:25 +05:00
committed by GitHub
parent 268c7df28e
commit d18972b9aa
3 changed files with 14 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"postinstall": "node postinstall-win.js",
"dev": "nodemon -e ts --watch server --watch overseerr-api.yml -e .json,.ts,.yml -x ts-node -r tsconfig-paths/register --files --project server/tsconfig.json server/index.ts",
"build:server": "tsc --project server/tsconfig.json && copyfiles -u 2 server/templates/**/*.{html,pug} dist/templates && tsc-alias -p server/tsconfig.json",
"build:next": "next build",