From 54c7b3c42e09b94bbb73395b07a7f539b672cde7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lumi=C3=A8re=20=C3=89lev=C3=A9?= <88174309+PoneyClairDeLune@users.noreply.github.com> Date: Sun, 26 May 2024 13:04:25 +0000 Subject: [PATCH] Use relative paths instead. --- deno.json | 19 +++++++++---------- sh/publish.sh | 2 ++ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/deno.json b/deno.json index 20f54e85..3a843976 100644 --- a/deno.json +++ b/deno.json @@ -11,19 +11,18 @@ "./xp_state": "./xp_state.mjs" }, "imports": { - "@octavia": "https://deno.land/x/octavia_deno@0.5.1.113", - "@octavia/basic": "https://deno.land/x/octavia_deno@0.5.1.113/basic.mjs", - "@octavia/bridge": "https://deno.land/x/octavia_deno@0.5.1.113/bridge.mjs", - "@octavia/cambiare": "https://deno.land/x/octavia_deno@0.5.1.113/cambiare.mjs", - "@octavia/disp": "https://deno.land/x/octavia_deno@0.5.1.113/disp.mjs", - "@octavia/state": "https://deno.land/x/octavia_deno@0.5.1.113/state.mjs", - "@octavia/xp_basic": "https://deno.land/x/octavia_deno@0.5.1.113/xp_basic.mjs", - "@octavia/xp_state": "https://deno.land/x/octavia_deno@0.5.1.113/xp_state.mjs" + "@octavia": "../dist", + "@octavia/basic": "../dist/basic.mjs", + "@octavia/bridge": "../dist/bridge.mjs", + "@octavia/cambiare": "../dist/cambiare.mjs", + "@octavia/disp": "../dist/disp.mjs", + "@octavia/state": "../dist/state.mjs", + "@octavia/xp_basic": "../dist/xp_basic.mjs", + "@octavia/xp_state": "../dist/xp_state.mjs" }, "publish": { "exclude": [ - "!./*.mjs", - "*.json" + "!./*.mjs" ] }, "unstable": [ diff --git a/sh/publish.sh b/sh/publish.sh index 30e66204..e521164f 100644 --- a/sh/publish.sh +++ b/sh/publish.sh @@ -1,5 +1,7 @@ #!/bin/bash cd jsr +rm deno.json +cp ../deno.json ./ echo "Publishing to JSR..." deno publish --allow-slow-types exit \ No newline at end of file