spacedrive/package.json

57 lines
1.9 KiB
JSON
Raw Normal View History

2021-09-22 06:27:02 +00:00
{
"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 --",
2022-10-21 04:55:39 +00:00
"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 -- ",
2022-10-05 03:54:34 +00:00
"prisma": "cd core && cargo prisma",
"codegen": "cargo test -p sd-core api::tests::test_and_export_rspc_bindings -- --exact",
2023-01-22 08:01:15 +00:00
"typecheck": "turbo run typecheck",
"lint": "turbo run lint",
"lint:fix": "turbo run lint -- --fix",
Improve Windows setup script (#673) * 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
2023-04-10 13:38:20 +00:00
"clean": "rimraf -g \"node_modules/\" \"**/node_modules/\" \"target/\" \"**/.build/\" \"**/.next/\" \"**/dist/!(.gitignore)**\""
},
"pnpm": {
"overrides": {
"@radix-ui/react-dismissable-layer": "1.0.2"
}
},
"devDependencies": {
2023-01-21 07:40:30 +00:00
"@babel/plugin-syntax-import-assertions": "^7.20.0",
"@cspell/dict-rust": "^2.0.1",
2022-10-06 06:03:58 +00:00
"@cspell/dict-typescript": "^2.0.2",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
2022-10-06 06:03:58 +00:00
"cspell": "^6.12.0",
"markdown-link-check": "^3.10.3",
"prettier": "^2.8.7",
"prettier-plugin-tailwindcss": "^0.2.6",
Improve Windows setup script (#673) * 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
2023-04-10 13:38:20 +00:00
"rimraf": "^4.3",
"turbo": "^1.5.5",
"turbo-ignore": "^0.3.0",
2023-01-21 07:40:30 +00:00
"typescript": "^4.9.4"
},
"overrides": {
"vite-plugin-svgr": "https://github.com/spacedriveapp/vite-plugin-svgr#cb4195b69849429cdb18d1f12381676bf9196a84",
2022-12-14 09:43:02 +00:00
"@types/node": "^18.0.0"
},
"engines": {
"pnpm": ">=7.14.0",
"npm": "pnpm",
"yarn": "pnpm",
2022-12-14 09:43:02 +00:00
"node": ">=18.0.0"
}
}