chore: rename project to ts-pykeepass-wrapper
This commit is contained in:
+1
-1
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
- Added failure-path, command-forwarding, and keyFile payload unit tests for the bridge.
|
- Added failure-path, command-forwarding, and keyFile payload unit tests for the bridge.
|
||||||
- Latest unit and full test runs passed.
|
- Latest unit and full test runs passed.
|
||||||
- Current focus remains the TypeScript wrapper + Python bridge for KeePass.
|
- Project renamed to ts-pykeepass-wrapper; current focus remains the TypeScript wrapper + Python bridge for KeePass.
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# kdbx-lib
|
# ts-pykeepass-wrapper
|
||||||
|
|
||||||
TypeScript wrapper around `pykeepass` for reading and modifying KeePass `.kdbx` files.
|
TypeScript wrapper around `pykeepass` for reading and modifying KeePass `.kdbx` files.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "kdbx-lib",
|
"name": "ts-pykeepass-wrapper",
|
||||||
"packageManager": "bun@1.0.0",
|
"packageManager": "bun@1.0.0",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ const FIXTURE_PATH = "tests/fixtures/data.kdbx";
|
|||||||
const FIXTURE_DATA_PATH = "tests/fixtures/data.kdbx.json";
|
const FIXTURE_DATA_PATH = "tests/fixtures/data.kdbx.json";
|
||||||
|
|
||||||
async function withTempCopy<T>(filePath: string, fn: (tempPath: string) => Promise<T>): Promise<T> {
|
async function withTempCopy<T>(filePath: string, fn: (tempPath: string) => Promise<T>): Promise<T> {
|
||||||
const tempPath = join(tmpdir(), `kdbx-lib-${randomUUID()}.kdbx`);
|
const tempPath = join(tmpdir(), `ts-pykeepass-wrapper-${randomUUID()}.kdbx`);
|
||||||
await copyFile(filePath, tempPath);
|
await copyFile(filePath, tempPath);
|
||||||
try {
|
try {
|
||||||
return await fn(tempPath);
|
return await fn(tempPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user