From d170056595e8d86d00f8782ecec0bd9d0acf1655 Mon Sep 17 00:00:00 2001 From: Alexandre HEIM Date: Sat, 22 Mar 2025 19:28:12 +0100 Subject: [PATCH] WIP: correct package.json --- README.md | 1 + package.json | 2 +- heartbeat-subscribe.ts => sample/heartbeat-subscribe.ts | 0 sample/index.ts | 3 +++ 4 files changed, 5 insertions(+), 1 deletion(-) rename heartbeat-subscribe.ts => sample/heartbeat-subscribe.ts (100%) create mode 100644 sample/index.ts diff --git a/README.md b/README.md index 7ae1ee7..6d8eb24 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ plugis client for typescript / bun +## publish the package ## use plugis-client with bun diff --git a/package.json b/package.json index e81fffa..d0e8bac 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "plugis-client", "version": "0.1.0", - "main": "index.js", + "main": "PlugisClass.ts", "type": "module", "publishConfig": { "registry": "https://git.fibre.plugis.com" diff --git a/heartbeat-subscribe.ts b/sample/heartbeat-subscribe.ts similarity index 100% rename from heartbeat-subscribe.ts rename to sample/heartbeat-subscribe.ts diff --git a/sample/index.ts b/sample/index.ts new file mode 100644 index 0000000..fe5a246 --- /dev/null +++ b/sample/index.ts @@ -0,0 +1,3 @@ +import { PlugisClass } from "plugis-client"; + +console.log(PlugisClass) \ No newline at end of file