mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-02-20 07:37:26 -05:00
* Move postinstall script to a preprep script - Fix libheif crate failing to build with our libheif - Rework CI due to postinstall to preprep changes * Linux heif build script + Update webp * Fix ctrl+c/ctrl+v bug * Improve libheif linux script - Add support for linux aarch64 - Add CI workflow to build libheif for linux - Some other misc fixes * Fix libheif CI requires sudo * Fix wrong path for libheif build.rs override in Windows * Fix wrong path manipulations in libheif build script * 🤦 * Use ubuntu-latest in libheif action - Specify glib version in target triple to support old distros - Fix libheif artifact publishing * Fix artifact upload path again * Add musl support for libheif - Remove unused files from libheif artifact - Add setup logic for libheif in postinstall script * Build libheif for linux as a shared lib * Fix meson not building the correct arch - Add logic to get git branch from githubs CI env vars * libheif finnaly works on linux - Make spacedrive binary rpath point to where appimage and deb expects our libs to be - Add some logic to tauri.js to convince tauri to bundle our shared libs - Work-around appimage bundling step breaking sometimes - Add logic to handle sigint in tauri.js to ensure we clean up after ourselves - Rename postinstall.mjs to setup.mjs - Add logic to setup.mjs to point our dev build to our shared libs in linux * Fix windows dekstop dev - Rename setup.mjs to preprep.mjs * test cache-factory * Fix preprep script not parsing the cross compilation target triple and always using the host info to download dependencies - Fix action env vars not being correctly passed - Remove possibility to pass multiple targests to rust action * Don't compile mobile crates on desktop targets * Remove cache-factory pull_request trigger * remove patched tauri cli * Use git plumbing command to get remote branch name - Fallback to reading .git/HEAD if remote name was not retrieved * fix type --------- Co-authored-by: Brendan Allan <brendonovich@outlook.com>
85 lines
2.5 KiB
JSON
85 lines
2.5 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"preprep": "pnpm exec node scripts/preprep.mjs",
|
|
"prep": "pnpm gen:prisma",
|
|
"postprep": "pnpm codegen",
|
|
"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 --",
|
|
"tauri": "pnpm desktop tauri",
|
|
"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 -- ",
|
|
"client": "pnpm --filter @sd/client -- ",
|
|
"storybook": "pnpm --filter @sd/storybook -- ",
|
|
"prisma": "cd core && cargo prisma",
|
|
"dev:web": "turbo run dev --filter @sd/web --filter @sd/server",
|
|
"bootstrap:desktop": "cargo clean && ./scripts/setup.sh && pnpm i && pnpm prep && pnpm tauri dev",
|
|
"codegen": "cargo test -p sd-core api::tests::test_and_export_rspc_bindings -- --exact",
|
|
"typecheck": "pnpm -r typecheck",
|
|
"lint": "turbo run lint",
|
|
"lint:fix": "turbo run lint -- --fix",
|
|
"clean": "rimraf -g \"node_modules/\" \"**/node_modules/\" \"target/\" \"**/.build/\" \"**/.next/\" \"**/dist/!(.gitignore)**\" \"**/tsconfig.tsbuildinfo\""
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"@radix-ui/react-dismissable-layer": "1.0.2"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-syntax-import-assertions": "^7.22.5",
|
|
"@cspell/dict-rust": "^2.0.1",
|
|
"@cspell/dict-typescript": "^2.0.2",
|
|
"@ianvs/prettier-plugin-sort-imports": "^4.1.0",
|
|
"@storybook/react-vite": "^7.0.20",
|
|
"archive-wasm": "^1.5.3",
|
|
"cspell": "^6.31.1",
|
|
"mustache": "^4.2.0",
|
|
"prettier": "^3.0.3",
|
|
"prettier-plugin-tailwindcss": "^0.5.3",
|
|
"rimraf": "^4.4.1",
|
|
"turbo": "^1.10.2",
|
|
"turbo-ignore": "^0.3.0",
|
|
"typescript": "^5.0.4",
|
|
"vite": "^4.3.9"
|
|
},
|
|
"overrides": {
|
|
"vite-plugin-svgr": "https://github.com/spacedriveapp/vite-plugin-svgr#cb4195b69849429cdb18d1f12381676bf9196a84",
|
|
"@types/node": "^18.0.0"
|
|
},
|
|
"engines": {
|
|
"pnpm": ">=8.0.0",
|
|
"npm": "pnpm",
|
|
"yarn": "pnpm",
|
|
"node": ">=18.17 <19 || >=20.1"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.mjs"
|
|
],
|
|
"env": {
|
|
"node": true,
|
|
"es2022": true,
|
|
"browser": false,
|
|
"commonjs": false,
|
|
"shared-node-browser": false
|
|
},
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|