feat(dump-db): use tsx instead of esrun

This commit is contained in:
Elian Doran 2025-03-08 03:14:33 +02:00
parent 9db5557cc1
commit 4839edb3d7
No known key found for this signature in database
3 changed files with 341 additions and 521 deletions

View File

@ -14,7 +14,7 @@ npm install
## Running ## Running
See output of `npx esrun dump.ts --help`: See output of `npx tsx dump.ts --help`:
``` ```
dump-db.ts <path_to_document> <target_directory> dump-db.ts <path_to_document> <target_directory>

File diff suppressed because it is too large Load Diff

View File

@ -18,9 +18,9 @@
"homepage": "https://github.com/TriliumNext/Notes/blob/master/dump-db/README.md", "homepage": "https://github.com/TriliumNext/Notes/blob/master/dump-db/README.md",
"dependencies": { "dependencies": {
"better-sqlite3": "^11.1.2", "better-sqlite3": "^11.1.2",
"esrun": "^3.2.26",
"mime-types": "^2.1.34", "mime-types": "^2.1.34",
"sanitize-filename": "^1.6.3", "sanitize-filename": "^1.6.3",
"tsx": "^4.19.3",
"yargs": "^17.3.1" "yargs": "^17.3.1"
}, },
"devDependencies": { "devDependencies": {