spacedrive/package.json
Vítor Vasconcellos e5b57aa0ea
New test: Add location (#2222)
* New test: Add location
 - Add script to download some test files to allows tests to have a stable path for creating locations
 - Improve onboarding test
 - Add custom Cypress commands for fastOnboarding and deleteLibrary
 - Add some documentation related to tests to CONTRIBUTING.md
 - Update some deps

* Download small test-data for Cypress CI

* Replace globstar with find to make it compatible with bash 3.x

* Fix react too many re-renders
 - add-location test should now pass successfully

* Make job model task text match less flaky

* Check if we were redirected to onboarding after Library was deleted
 - Check if sidebar entry was created after adding a location
 - Put route regex's into a separate file
 - Make onboarding test ensure that no Library exists before running

* Enable test retries
 - Log cypress default config during test run

* Run tests under webkit
 - Pass CI envvar to tests to ensure correct cypress config

* Attempt fix CI config again

* Remove single use checkUrlIsLibrary function
2024-03-23 21:24:16 +00:00

71 lines
2.3 KiB
JSON

{
"name": "@sd/monorepo",
"private": true,
"scripts": {
"preprep": "pnpm --filter @sd/scripts -- prep",
"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": "pnpm --filter @sd/web dev:web",
"dev:desktop": "pnpm run --filter @sd/desktop tauri dev",
"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": "cargo clean; git clean -qfX .",
"test-data": "./scripts/test-data.sh"
},
"pnpm": {
"patchedDependencies": {
"@remix-run/router@1.13.1": "patches/@remix-run__router@1.13.1.patch",
"@contentlayer/cli@0.3.4": "patches/@contentlayer__cli@0.3.4.patch"
},
"overrides": {
"@types/node": ">18.18.x",
"react-router": "=6.20.1",
"react-router-dom": "=6.20.1",
"@remix-run/router": "=1.13.1",
"@contentlayer/cli": "=0.3.4"
}
},
"devDependencies": {
"@babel/plugin-syntax-import-assertions": "^7.24.1",
"@cspell/dict-rust": "^4.0.2",
"@cspell/dict-typescript": "^3.1.2",
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"cspell": "^8.6.0",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.12",
"turbo": "^1.12.5",
"turbo-ignore": "^1.12.5",
"typescript": "^5.4.2",
"vite": "^5.1.6"
},
"engines": {
"pnpm": ">=8.0.0",
"npm": "pnpm",
"yarn": "pnpm",
"node": ">=18.18 <19 || >=20.1"
},
"eslintConfig": {
"root": true
}
}