From 10c5ffcb5fc208796410c9a99a6e41ad1992bc46 Mon Sep 17 00:00:00 2001 From: Mohammad Honarvar Date: Fri, 11 Oct 2024 19:54:10 +0330 Subject: [PATCH] feat(nanolib): separate export from `dedupe` package --- packages/nanolib/package.json | 5 +++++ packages/nanolib/src/dedupe.ts | 1 + packages/nanolib/src/main.ts | 1 - 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 packages/nanolib/src/dedupe.ts diff --git a/packages/nanolib/package.json b/packages/nanolib/package.json index 566d0ec7..a4736e3b 100644 --- a/packages/nanolib/package.json +++ b/packages/nanolib/package.json @@ -47,6 +47,11 @@ "types": "./dist/node-fs.d.ts", "import": "./dist/node-fs.mjs", "require": "./dist/node-fs.cjs" + }, + "./dedupe": { + "types": "./dist/dedupe.d.ts", + "import": "./dist/dedupe.mjs", + "require": "./dist/dedupe.cjs" } }, "license": "AGPL-3.0-only", diff --git a/packages/nanolib/src/dedupe.ts b/packages/nanolib/src/dedupe.ts new file mode 100644 index 00000000..0100fea6 --- /dev/null +++ b/packages/nanolib/src/dedupe.ts @@ -0,0 +1 @@ +export * from '@alwatr/dedupe'; diff --git a/packages/nanolib/src/main.ts b/packages/nanolib/src/main.ts index 4c652257..515118fc 100644 --- a/packages/nanolib/src/main.ts +++ b/packages/nanolib/src/main.ts @@ -1,5 +1,4 @@ export * from '@alwatr/async-queue'; -export * from '@alwatr/dedupe'; export * from '@alwatr/deep-clone'; export * from '@alwatr/delay'; export * from '@alwatr/fetch';