spacedrive/package.json

85 lines
2.5 KiB
JSON
Raw Normal View History

2021-09-22 06:27:02 +00:00
{
"private": true,
"scripts": {
[ENG-1054] libheif for Linux (plus fixes) + Webp update (#1405) * 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>
2023-10-03 17:31:33 +00:00
"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 --",
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 -- ",
"client": "pnpm --filter @sd/client -- ",
"storybook": "pnpm --filter @sd/storybook -- ",
2022-10-05 03:54:34 +00:00
"prisma": "cd core && cargo prisma",
2023-05-25 14:52:02 +00:00
"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",
[ENG-862, ENG-921] Ephemeral locations (#1092) * Some initial drafts * Finising the first draft on non-indexed locations * Minor tweaks * Fix warnings * Adding date_created and date_modified to non indexed path entries * Add id and path properties to NonIndexedPathItem * Working ephemeral location (hardcoded home for now) * Fix UI for ephemeral locations * Fix windows * Passing ephemeral thumbnails to thumbnails remover * Indexing rules for ephemeral paths walking * Animate Location button when path text overflow it's size * Fix Linux not showing all volumes * Fix Linux - Add some missing no_os_protected rules for macOS - Improve ephemeral location names * Remove unecessary import * Fix Mobile * Improve resizing behaviour for ephemeral location topbar path button - Improve Search View (Replace custom empty component with Explorer's emptyNotice ) - Improve how TopBar children positioning * Hide EphemeralSection if there is no volume or home - Disable Ephemeral topbar path button animation when text is not overflowing * minor fixes * Introducing ordering for ephemeral paths * TS Format * Ephemeral locations UI fixes - Fix indexed Locations having no metadata - Remove date indexed/accessed options for sorting Ephemeral locations - Remove empty three dots from SideBar element when no settings is linked * Add tooltip to add location button in ephemeral locations * Fix indexed Locations selecting other folder/files in Ephemeral location * Minor fixes * Fix app breaking due to wrong logic to get item full path in Explorer * Revert some recent changes to Thumb.tsx * Fix original not loading for overview items - Fix QuickPreview name broken for overview items * Improve imports * Revert replace useEffect with useLayoutEffect for locked logic in ListView It was causing the component to full reload when clicking a header to sort per column * Changes from feedback * Hide some unused Inspector metadata fields on NonIndexedPaths - Merge formatDate functions while retaining original behaviour * Use tauri api for getting user home * Change ThumbType to a string enum to allow for string comparisons * Improve ObjectKind typing --------- Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com> Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2023-08-23 17:26:07 +00:00
"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": {
[ENG-640, ENG-695, ENG-705, ENG-693] Categories arrow buttons + others (#851) * Overview categories arrow buttons * Hide indexer rules in location + category arrow buttons * Added masking on left and right of categories * Expose lock_app_theme function to frontend * Allow lockAppTheme to reset back to auto theme * Fixes, progress bar color, useTheme update, shrink-0 for arrow button * Only show fadeout if scrolled, onboarding css tweaks * Framer hook unstable, motion divs to handle last category entry is much better * Fix color picker closing * Remove ref that is no longer needed * Fix swift theme updating * cleanup * Overview categories arrow buttons and fixes Added masking on left and right of categories [HOTFIX] Remove placeholder nodes (#913) Update LibrarySection.tsx [ENG-694] Remove Spacedrop (#914) * goodbye Spacedrop * fix startup error escaping * fix error fallback being cringe with long error * backwards compatibility for early adopters [ENG-697] Fix rename library (#916) * random stuff * How have we had a deadlock for 2 months lol [ENG-701] Add explorer top bar options to tags (#918) Add top bar options [ENG-679] Reserve ids for built in indexer rules (#909) * indexer rules pub ids * should work? * better migrator * errors * debugging * maybe? * double migrate * please * maybe fix? * update lockfile * SD_ACCEPT_DATA_LOSS message * put tracing back * dumb * fix system indexer rule ui fix(interface): quick preview not closing with SPACE (#921) Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com> [ENG-700] Add empty notice to tags (#922) Add empty notice to tags [ENG-707] Fix list item bg color (#924) Fix list item bg color [ENG-706] Add deselect explorer view items (#923) Add deselect Expose lock_app_theme function to frontend Allow lockAppTheme to reset back to auto theme Fixes, progress bar color, useTheme update, shrink-0 for arrow button Only show fadeout if scrolled, onboarding css tweaks Framer hook unstable, motion divs to handle last category entry is much better Fix color picker closing Remove ref that is no longer needed Fix swift theme updating * cleanup * Update pnpm-lock.yaml * fix types & upgrade typescript version to 5.0.4 * fix folder icon * remove rust comment * remove mask * masking tweak --------- Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com> Co-authored-by: nikec <nikec.job@gmail.com> Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-06-10 12:25:46 +00:00
"@babel/plugin-syntax-import-assertions": "^7.22.5",
"@cspell/dict-rust": "^2.0.1",
2022-10-06 06:03:58 +00:00
"@cspell/dict-typescript": "^2.0.2",
"@ianvs/prettier-plugin-sort-imports": "^4.1.0",
"@storybook/react-vite": "^7.0.20",
[ENG-1054] libheif for Linux (plus fixes) + Webp update (#1405) * 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>
2023-10-03 17:31:33 +00:00
"archive-wasm": "^1.5.3",
[ENG-640, ENG-695, ENG-705, ENG-693] Categories arrow buttons + others (#851) * Overview categories arrow buttons * Hide indexer rules in location + category arrow buttons * Added masking on left and right of categories * Expose lock_app_theme function to frontend * Allow lockAppTheme to reset back to auto theme * Fixes, progress bar color, useTheme update, shrink-0 for arrow button * Only show fadeout if scrolled, onboarding css tweaks * Framer hook unstable, motion divs to handle last category entry is much better * Fix color picker closing * Remove ref that is no longer needed * Fix swift theme updating * cleanup * Overview categories arrow buttons and fixes Added masking on left and right of categories [HOTFIX] Remove placeholder nodes (#913) Update LibrarySection.tsx [ENG-694] Remove Spacedrop (#914) * goodbye Spacedrop * fix startup error escaping * fix error fallback being cringe with long error * backwards compatibility for early adopters [ENG-697] Fix rename library (#916) * random stuff * How have we had a deadlock for 2 months lol [ENG-701] Add explorer top bar options to tags (#918) Add top bar options [ENG-679] Reserve ids for built in indexer rules (#909) * indexer rules pub ids * should work? * better migrator * errors * debugging * maybe? * double migrate * please * maybe fix? * update lockfile * SD_ACCEPT_DATA_LOSS message * put tracing back * dumb * fix system indexer rule ui fix(interface): quick preview not closing with SPACE (#921) Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com> [ENG-700] Add empty notice to tags (#922) Add empty notice to tags [ENG-707] Fix list item bg color (#924) Fix list item bg color [ENG-706] Add deselect explorer view items (#923) Add deselect Expose lock_app_theme function to frontend Allow lockAppTheme to reset back to auto theme Fixes, progress bar color, useTheme update, shrink-0 for arrow button Only show fadeout if scrolled, onboarding css tweaks Framer hook unstable, motion divs to handle last category entry is much better Fix color picker closing Remove ref that is no longer needed Fix swift theme updating * cleanup * Update pnpm-lock.yaml * fix types & upgrade typescript version to 5.0.4 * fix folder icon * remove rust comment * remove mask * masking tweak --------- Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com> Co-authored-by: nikec <nikec.job@gmail.com> Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-06-10 12:25:46 +00:00
"cspell": "^6.31.1",
"mustache": "^4.2.0",
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.3",
"rimraf": "^4.4.1",
[ENG-640, ENG-695, ENG-705, ENG-693] Categories arrow buttons + others (#851) * Overview categories arrow buttons * Hide indexer rules in location + category arrow buttons * Added masking on left and right of categories * Expose lock_app_theme function to frontend * Allow lockAppTheme to reset back to auto theme * Fixes, progress bar color, useTheme update, shrink-0 for arrow button * Only show fadeout if scrolled, onboarding css tweaks * Framer hook unstable, motion divs to handle last category entry is much better * Fix color picker closing * Remove ref that is no longer needed * Fix swift theme updating * cleanup * Overview categories arrow buttons and fixes Added masking on left and right of categories [HOTFIX] Remove placeholder nodes (#913) Update LibrarySection.tsx [ENG-694] Remove Spacedrop (#914) * goodbye Spacedrop * fix startup error escaping * fix error fallback being cringe with long error * backwards compatibility for early adopters [ENG-697] Fix rename library (#916) * random stuff * How have we had a deadlock for 2 months lol [ENG-701] Add explorer top bar options to tags (#918) Add top bar options [ENG-679] Reserve ids for built in indexer rules (#909) * indexer rules pub ids * should work? * better migrator * errors * debugging * maybe? * double migrate * please * maybe fix? * update lockfile * SD_ACCEPT_DATA_LOSS message * put tracing back * dumb * fix system indexer rule ui fix(interface): quick preview not closing with SPACE (#921) Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com> [ENG-700] Add empty notice to tags (#922) Add empty notice to tags [ENG-707] Fix list item bg color (#924) Fix list item bg color [ENG-706] Add deselect explorer view items (#923) Add deselect Expose lock_app_theme function to frontend Allow lockAppTheme to reset back to auto theme Fixes, progress bar color, useTheme update, shrink-0 for arrow button Only show fadeout if scrolled, onboarding css tweaks Framer hook unstable, motion divs to handle last category entry is much better Fix color picker closing Remove ref that is no longer needed Fix swift theme updating * cleanup * Update pnpm-lock.yaml * fix types & upgrade typescript version to 5.0.4 * fix folder icon * remove rust comment * remove mask * masking tweak --------- Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com> Co-authored-by: nikec <nikec.job@gmail.com> Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-06-10 12:25:46 +00:00
"turbo": "^1.10.2",
"turbo-ignore": "^0.3.0",
[ENG-640, ENG-695, ENG-705, ENG-693] Categories arrow buttons + others (#851) * Overview categories arrow buttons * Hide indexer rules in location + category arrow buttons * Added masking on left and right of categories * Expose lock_app_theme function to frontend * Allow lockAppTheme to reset back to auto theme * Fixes, progress bar color, useTheme update, shrink-0 for arrow button * Only show fadeout if scrolled, onboarding css tweaks * Framer hook unstable, motion divs to handle last category entry is much better * Fix color picker closing * Remove ref that is no longer needed * Fix swift theme updating * cleanup * Overview categories arrow buttons and fixes Added masking on left and right of categories [HOTFIX] Remove placeholder nodes (#913) Update LibrarySection.tsx [ENG-694] Remove Spacedrop (#914) * goodbye Spacedrop * fix startup error escaping * fix error fallback being cringe with long error * backwards compatibility for early adopters [ENG-697] Fix rename library (#916) * random stuff * How have we had a deadlock for 2 months lol [ENG-701] Add explorer top bar options to tags (#918) Add top bar options [ENG-679] Reserve ids for built in indexer rules (#909) * indexer rules pub ids * should work? * better migrator * errors * debugging * maybe? * double migrate * please * maybe fix? * update lockfile * SD_ACCEPT_DATA_LOSS message * put tracing back * dumb * fix system indexer rule ui fix(interface): quick preview not closing with SPACE (#921) Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com> [ENG-700] Add empty notice to tags (#922) Add empty notice to tags [ENG-707] Fix list item bg color (#924) Fix list item bg color [ENG-706] Add deselect explorer view items (#923) Add deselect Expose lock_app_theme function to frontend Allow lockAppTheme to reset back to auto theme Fixes, progress bar color, useTheme update, shrink-0 for arrow button Only show fadeout if scrolled, onboarding css tweaks Framer hook unstable, motion divs to handle last category entry is much better Fix color picker closing Remove ref that is no longer needed Fix swift theme updating * cleanup * Update pnpm-lock.yaml * fix types & upgrade typescript version to 5.0.4 * fix folder icon * remove rust comment * remove mask * masking tweak --------- Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com> Co-authored-by: nikec <nikec.job@gmail.com> Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-06-10 12:25:46 +00:00
"typescript": "^5.0.4",
"vite": "^4.3.9"
},
"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": ">=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"
}
}
]
}
}