From a1e7cd647b98ff7e02b9a13c604c1f61805a1857 Mon Sep 17 00:00:00 2001 From: Alexandre HEIM Date: Sat, 22 Mar 2025 19:15:38 +0100 Subject: [PATCH] WIP: for bun only --- README.md | 6 ++++-- bunfig.toml | 3 +++ package.json | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4468b1e..7ae1ee7 100644 --- a/README.md +++ b/README.md @@ -2,5 +2,7 @@ plugis client for typescript / bun -npm config set @plugis:registry https://git.fibre.plugis.com/api/packages/telemac/npm/ -npm config set -- '//git.fibre.plugis.com/api/packages/telemac/npm/:_authToken' "{token}" + + +## use plugis-client with bun +bun add git+https://git.fibre.plugis.com/telemac/plugis-client.git \ No newline at end of file diff --git a/bunfig.toml b/bunfig.toml index 68ca1cc..4042472 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -1,3 +1,6 @@ +name = "plugis" +entrypoint = "PlugisClass.ts" + [install.scopes] # as an object with username/password # you can reference environment variables diff --git a/package.json b/package.json index 7514bdd..e81fffa 100644 --- a/package.json +++ b/package.json @@ -5,5 +5,8 @@ "type": "module", "publishConfig": { "registry": "https://git.fibre.plugis.com" + }, + "dependencies": { + "plugis-client": "git+https://git.fibre.plugis.com/telemac/plugis-client.git" } } \ No newline at end of file