From bc8590691de6b35a7f2532f06e6b6e4d3979ee06 Mon Sep 17 00:00:00 2001 From: Alexandre HEIM Date: Sun, 23 Mar 2025 14:32:05 +0100 Subject: [PATCH] add dependancies --- package.json | 8 ++++++-- sample/index.ts | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 702b3a3..4c1abe7 100644 --- a/package.json +++ b/package.json @@ -2,5 +2,9 @@ "name": "plugis-client", "version": "0.1.0", "main": "PlugisClass.ts", - "type": "module" -} \ No newline at end of file + "type": "module", + "dependencies": { + "@nats-io/transport-node": "^3.0.0", + "cloudevents": "^6.0.3" + } +} diff --git a/sample/index.ts b/sample/index.ts index 68d1a9f..2175049 100644 --- a/sample/index.ts +++ b/sample/index.ts @@ -1,3 +1,3 @@ -import { PlugisClass } from "plugis-client.git"; +import { PlugisClass } from "./node_modules/plugis-client.git/PlugisClass.ts"; console.log(PlugisClass) \ No newline at end of file