mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-02 10:03:28 +00:00
fd76705dd3
* Improve Windows setup script - Change LLVM install logic to use version 15 instead of the latest, due to incompatibilities of new LLVM (16) with `ffmpeg-sys-next` build script - Add check to ensure script is executed as administrator, due to chocolatey requiring admin privileges to install `protoc` - Update ffmpeg to 5.1.1 to match used `ffmpeg-sys-next` version - Don't attempt to reinstall LLVM when it is already installed * Wait for key press before closing script * Fix typo * Choco install auto accept * Specify PNPM version when installing on windows * More logs * Fix windows setup script not copying ffmpeg dlls to the correct location * Better installation logic for llvm, protobuf, ffmpeg - Remove dependency in Chocolatey - Download ffmpeg version based on ffmpeg-sys-next version - Improve version checks - Install protobuf directly from github - Update rimraf so globbing works in Windows - Avoid dist/.gitignore being deleted by rimraf * Fix bugs and handle errors in Windows setup script - Check for connectivity with GitHub before proceeding with setup. - Implement a workaround for pnpm bootstrap problems on Windows. - Check if Cargo packages are up to date before parsing the metadata. - Ensure that the FFMPEG_DIR environment variable is set. - Use double quotes for rimraf arguments on Windows. * Auto-install VisualBuildTools (C++) and Rust in Windows setup - Fix protoc envvars not being set in CI - Improve logs * Install LLVM automatically - Remove sleeps - Uninstall any imcompatible LLVM version present - Ensure path is fresh after installing rust and cargo * Fix system path not being set correctly in windows setup script - Install node with winget and pnpm with npm - Rewrite initial script message - Don't wait for user interaction when running in CI * Improve environment check to ensure we are on Windows x64 - Warn users if they have already installed incompatible versions of LLVM and pnpm instead of silently removing them * Ensure Path and Env are correctly set and available in the windows setup script - Improve error handling - Improve logs * Fix FFmpeg version parsing getting multiple version sometimes - Fix some typos
57 lines
1.9 KiB
JSON
57 lines
1.9 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"prep": "pnpm gen:prisma && cargo test -p sd-core api::tests::test_and_export_rspc_bindings -- --exact",
|
|
"build": "turbo run build",
|
|
"landing-web": "turbo run dev --parallel --filter=@sd/landing --filter=@sd/web",
|
|
"gen:migrations": "cd core && cargo prisma migrate dev",
|
|
"gen:prisma": "cd core && cargo prisma generate",
|
|
"format": "prettier --write .",
|
|
"desktop": "pnpm --filter @sd/desktop --",
|
|
"web": "pnpm --filter @sd/web -- ",
|
|
"mobile": "pnpm --filter @sd/mobile --",
|
|
"core": "pnpm --filter @sd/server -- ",
|
|
"landing": "pnpm --filter @sd/landing -- ",
|
|
"ui": "pnpm --filter @sd/ui -- ",
|
|
"interface": "pnpm --filter @sd/interface -- ",
|
|
"assets": "pnpm --filter @sd/assets -- ",
|
|
"docs": "pnpm --filter @sd/docs -- ",
|
|
"client": "pnpm --filter @sd/client -- ",
|
|
"prisma": "cd core && cargo prisma",
|
|
"codegen": "cargo test -p sd-core api::tests::test_and_export_rspc_bindings -- --exact",
|
|
"typecheck": "turbo run typecheck",
|
|
"lint": "turbo run lint",
|
|
"lint:fix": "turbo run lint -- --fix",
|
|
"clean": "rimraf -g \"node_modules/\" \"**/node_modules/\" \"target/\" \"**/.build/\" \"**/.next/\" \"**/dist/!(.gitignore)**\""
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"@radix-ui/react-dismissable-layer": "1.0.2"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-syntax-import-assertions": "^7.20.0",
|
|
"@cspell/dict-rust": "^2.0.1",
|
|
"@cspell/dict-typescript": "^2.0.2",
|
|
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
|
|
"cspell": "^6.12.0",
|
|
"markdown-link-check": "^3.10.3",
|
|
"prettier": "^2.8.7",
|
|
"prettier-plugin-tailwindcss": "^0.2.6",
|
|
"rimraf": "^4.3",
|
|
"turbo": "^1.5.5",
|
|
"turbo-ignore": "^0.3.0",
|
|
"typescript": "^4.9.4"
|
|
},
|
|
"overrides": {
|
|
"vite-plugin-svgr": "https://github.com/spacedriveapp/vite-plugin-svgr#cb4195b69849429cdb18d1f12381676bf9196a84",
|
|
"@types/node": "^18.0.0"
|
|
},
|
|
"engines": {
|
|
"pnpm": ">=7.14.0",
|
|
"npm": "pnpm",
|
|
"yarn": "pnpm",
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|