Adding missing exports
This commit is contained in:
parent
ef423a947a
commit
799651d37f
@ -1,11 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "utils",
|
"name": "utils",
|
||||||
"version": "2.2.11",
|
"version": "2.2.12",
|
||||||
"description": "Some helpful utility classes and functions",
|
"description": "Some helpful utility classes and functions",
|
||||||
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
"author": "Fabian Stamm <dev@fabianstamm.de>",
|
||||||
"contributors": [],
|
"contributors": [],
|
||||||
"root": "./esm/",
|
"root": "./esm/",
|
||||||
"files": ["**/*.ts", "**/*.js", "README.md"],
|
"files": [
|
||||||
|
"**/*.ts",
|
||||||
|
"**/*.js",
|
||||||
|
"README.md"
|
||||||
|
],
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"prepublish": "pre.js"
|
"prepublish": "pre.js"
|
||||||
},
|
},
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hibas123/utils",
|
"name": "@hibas123/utils",
|
||||||
"version": "2.2.10",
|
"version": "2.2.11",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hibas123/utils",
|
"name": "@hibas123/utils",
|
||||||
"version": "2.2.11",
|
"version": "2.2.12",
|
||||||
"description": "Different Utilities, that are not worth own packages",
|
"description": "Different Utilities, that are not worth own packages",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
2
pre.js
2
pre.js
@ -8,7 +8,7 @@ const meta = await rjson("meta.json");
|
|||||||
console.log("Changing meta.version from", meta.version, "to", pkg.version);
|
console.log("Changing meta.version from", meta.version, "to", pkg.version);
|
||||||
meta.version = pkg.version || meta.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.js", "esm/mod.js");
|
||||||
await Deno.copyFile("esm/index.d.ts", "esm/mod.d.ts");
|
await Deno.copyFile("esm/index.d.ts", "esm/mod.d.ts");
|
||||||
|
@ -1,11 +1,17 @@
|
|||||||
import Lock, { Release } from "./lock.js";
|
import Lock, { Release } from "./lock.js";
|
||||||
|
|
||||||
import Observable, {
|
import Observable, {
|
||||||
ObserverCallback,
|
ObserverCallback,
|
||||||
ObserverCallbackCollect,
|
ObserverCallbackCollect,
|
||||||
ObservableInterface,
|
ObservableInterface,
|
||||||
} from "./observable.js";
|
} from "./observable.js";
|
||||||
|
|
||||||
import AwaitStore from "./awaiter.js";
|
import AwaitStore from "./awaiter.js";
|
||||||
|
|
||||||
|
import AsyncIteratorFromCB from "./asynciter.js";
|
||||||
|
|
||||||
|
import Signal from "./signal.js";
|
||||||
|
|
||||||
export type {
|
export type {
|
||||||
Release,
|
Release,
|
||||||
ObserverCallback,
|
ObserverCallback,
|
||||||
@ -13,4 +19,4 @@ export type {
|
|||||||
ObservableInterface,
|
ObservableInterface,
|
||||||
};
|
};
|
||||||
|
|
||||||
export { Lock, Observable, AwaitStore };
|
export { Lock, Observable, AwaitStore, AsyncIteratorFromCB, Signal };
|
||||||
|
Loading…
Reference in New Issue
Block a user