From 57920a034dccf0d8502d6936b0c04b10adefce06 Mon Sep 17 00:00:00 2001 From: cswimr Date: Wed, 12 Feb 2025 00:56:56 -0600 Subject: [PATCH] fix(sync): add index file --- bun.lock | 2 +- packages/sync/package.json | 6 +++--- packages/sync/src/index.ts | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 packages/sync/src/index.ts diff --git a/bun.lock b/bun.lock index 6ff0da2..451fabc 100644 --- a/bun.lock +++ b/bun.lock @@ -33,7 +33,7 @@ "version": "1.0.0", "dependencies": { "@packwizjs/parser": "workspace:*", - "murmurhash2": "^0.1.0", + "murmurhash2": "0.1.0", }, "peerDependencies": { "typescript": "^5.0.0", diff --git a/packages/sync/package.json b/packages/sync/package.json index 26869ed..b4e304d 100644 --- a/packages/sync/package.json +++ b/packages/sync/package.json @@ -1,6 +1,6 @@ { "name": "@packwizjs/sync", - "module": "src/sync.ts", + "module": "src/index.ts", "version": "1.0.0", "type": "module", "description": "A directory syncing tool for Minecraft modpacks", @@ -28,11 +28,11 @@ }, "dependencies": { "@packwizjs/parser": "workspace:*", - "murmurhash2": "^0.1.0" + "murmurhash2": "0.1.0" }, "exports": { ".": { - "import": "./src/sync.ts" + "import": "./src/index.ts" } } } diff --git a/packages/sync/src/index.ts b/packages/sync/src/index.ts new file mode 100644 index 0000000..1fe46ab --- /dev/null +++ b/packages/sync/src/index.ts @@ -0,0 +1 @@ +export { iteratePackwizIndex } from "./sync";