diff --git a/.gitignore b/.gitignore index e2572d0b..bd290403 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ dist/*.js dist/*.gz dist/*.br -ghp/sitemap.xml \ No newline at end of file +ghp/sitemap.xml +jsr/deno.json \ No newline at end of file diff --git a/deno.json b/deno.json index 20f54e85..a5254570 100644 --- a/deno.json +++ b/deno.json @@ -11,19 +11,19 @@ "./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" + "include": [ + "*.json", + "*.mjs" ] }, "unstable": [ diff --git a/jsr/deno.json b/jsr/deno.json deleted file mode 120000 index e735064a..00000000 --- a/jsr/deno.json +++ /dev/null @@ -1 +0,0 @@ -../deno.json \ No newline at end of file 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