« get me outta code hell

manual tempdir creation & handling - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-10 21:56:29 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-10 21:56:29 -0300
commit27af62f38d2f0a99af5c34963d27197467fb0141 (patch)
treebb09cddc836b16db57242f6d785478bab17e343b /package.json
parenta36e372ba88b59e08fa938f76b261fdc2797bef2 (diff)
manual tempdir creation & handling
This is mostly for compatibility with devices where the home
directory isn't on the same device as the system temporary
directory, so locallink and other symlink-based operations
get trolled (fail!).

This doesn't address the more general issue of e.g. playing
music off of an external drive probably fails(!!) - but in
those cases locallink isn't appropriate anyway, so they're
outta scope of this commit.
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 3639c69..63021bd 100644
--- a/package.json
+++ b/package.json
@@ -13,12 +13,13 @@
     "command-exists": "^1.2.9",
     "expand-home-dir": "0.0.3",
     "mkdirp": "^3.0.1",
+    "nanoid": "^5.0.7",
     "natural-orderby": "^2.0.3",
     "node-fetch": "^2.6.0",
     "open": "^7.0.3",
+    "rimraf": "^5.0.6",
     "sanitize-filename": "^1.6.3",
     "shell-escape": "^0.2.0",
-    "tempy": "^0.2.1",
     "tui-lib": "^0.4.0",
     "tui-text-editor": "^0.3.1"
   },