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