Skip to content

Commit 63c4e5d

Browse files
committed
make mitthooks more accessible to import
1 parent f682e68 commit 63c4e5d

File tree

4 files changed

+18
-1
lines changed

4 files changed

+18
-1
lines changed

.changeset/red-chicken-strive.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@weissaufschwarz/mitthooks": patch
3+
---
4+
5+
made import parts of mitthooks more accessible to import

packages/mitthooks/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"type": "module",
66
"exports": {
77
"./*.js": "./dist/*.js",
8-
"./*": "./dist/*.js"
8+
"./*": "./dist/*.js",
9+
".": "./dist/index.js"
910
},
1011
"publishConfig": {
1112
"registry": "https://registry.npmjs.org"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export * from "./addedToContext.js";
2+
export * from "./chain.js";
3+
export * from "./combinedPersistence.js";
4+
export * from "./extensionId.js";
5+
export * from "./instanceRemoved.js";
6+
export * from "./instanceUpdated.js";
7+
export * from "./interface.js";
8+
export * from "./logging.js";
9+
export * from "./secretRotated.js";
10+
export * from "./verification.js";

packages/mitthooks/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export * from "./factory/combined.js";
22
export * from "./factory/separate.js";
33
export * from "./webhook.js";
4+
export * from "./handler/index.js";
45
export * from "./bootstrapping/http-wrapper.js";

0 commit comments

Comments
 (0)