build(scripts): replace prettier with dprint

also renaming the script from "dev:prettier" to a more "generic" term "dev:format"
This commit is contained in:
Panagiotis Papadopoulos 2025-03-27 21:29:18 +01:00
parent cdc6ce2118
commit e95172e2db

View File

@ -58,8 +58,8 @@
"test:integration-mem-db": "cross-env TRILIUM_INTEGRATION_TEST=memory TRILIUM_PORT=8082 TRILIUM_DATA_DIR=./integration-tests/db nodemon src/main.ts",
"test:integration-mem-db-dev": "cross-env TRILIUM_INTEGRATION_TEST=memory TRILIUM_PORT=8082 TRILIUM_ENV=dev TRILIUM_DATA_DIR=./integration-tests/db nodemon src/main.ts",
"dev:watch-dist": "tsx ./bin/watch-dist.ts",
"dev:prettier-check": "prettier . --check",
"dev:prettier-fix": "prettier . --write",
"dev:format-check": "dprint check",
"dev:format-fix": "dprint fmt",
"dev:linter-check": "eslint .",
"dev:linter-fix": "eslint . --fix",
"chore:update-build-info": "tsx bin/update-build-info.ts",