From 799651d37ffc65405b785791faca65ffc0f01c85 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Sun, 18 Oct 2020 01:12:40 +0200 Subject: [PATCH] Adding missing exports --- meta.json | 10 +++++++--- package-lock.json | 2 +- package.json | 2 +- pre.js | 2 +- src/index.ts | 8 +++++++- 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/meta.json b/meta.json index 02ef033..619191e 100644 --- a/meta.json +++ b/meta.json @@ -1,13 +1,17 @@ { "name": "utils", - "version": "2.2.11", + "version": "2.2.12", "description": "Some helpful utility classes and functions", "author": "Fabian Stamm ", "contributors": [], "root": "./esm/", - "files": ["**/*.ts", "**/*.js", "README.md"], + "files": [ + "**/*.ts", + "**/*.js", + "README.md" + ], "hooks": { "prepublish": "pre.js" }, "readme": "readme.md" -} +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 4edc3cf..eb909cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@hibas123/utils", - "version": "2.2.10", + "version": "2.2.11", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 4362850..170d08a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hibas123/utils", - "version": "2.2.11", + "version": "2.2.12", "description": "Different Utilities, that are not worth own packages", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/pre.js b/pre.js index e227355..bf789dd 100644 --- a/pre.js +++ b/pre.js @@ -8,7 +8,7 @@ const meta = await rjson("meta.json"); console.log("Changing meta.version from", meta.version, "to", pkg.version); meta.version = pkg.version || meta.version; -// await wjson("meta.json", meta); +await wjson("meta.json", meta); await Deno.copyFile("esm/index.js", "esm/mod.js"); await Deno.copyFile("esm/index.d.ts", "esm/mod.d.ts"); diff --git a/src/index.ts b/src/index.ts index 5f6e18e..325ea1e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,11 +1,17 @@ import Lock, { Release } from "./lock.js"; + import Observable, { ObserverCallback, ObserverCallbackCollect, ObservableInterface, } from "./observable.js"; + import AwaitStore from "./awaiter.js"; +import AsyncIteratorFromCB from "./asynciter.js"; + +import Signal from "./signal.js"; + export type { Release, ObserverCallback, @@ -13,4 +19,4 @@ export type { ObservableInterface, }; -export { Lock, Observable, AwaitStore }; +export { Lock, Observable, AwaitStore, AsyncIteratorFromCB, Signal };