mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-02 11:13:29 +00:00
* Setup script revamp * Move toml to dev dep + CI runs the postinstall in debug mode * Fix windows CI * chmod +x scripts/setup.sh * Fix eslint and ts CI * Remove binstall + Fix trying to read input in CI * Doesn't need to check pnpm and rust in CI * Run postinstall script for Clippy CI * Attempt to fix windows CI not running postinstall - Ignore cache when running postinstall on CI * commited generated config.toml by mistake * Pass GITHUB_TOKEN to `pnpm i` * Update archive-wasm + Increase minimum node version to 18.17 * CI: Move rust setup after post-install script * Revert: CI: Move rust setup after post-install script * Fix CI, generate dummy cargo config.toml to fix prisma generation * Fix windows CI * CI: Fix wrong command --------- Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
84 lines
2.5 KiB
JSON
84 lines
2.5 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"postinstall": "pnpm exec node scripts/post-install.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 --",
|
|
"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 desktop 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.1",
|
|
"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"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.mjs"
|
|
],
|
|
"env": {
|
|
"node": true,
|
|
"es2022": true,
|
|
"browser": false,
|
|
"commonjs": false,
|
|
"shared-node-browser": false
|
|
},
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|