diff --git a/.gitignore b/.gitignore index bd290403..b2274536 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ dist/*.js dist/*.gz dist/*.br ghp/sitemap.xml -jsr/deno.json \ No newline at end of file +jsr/deno.json +dist/deno.json \ No newline at end of file diff --git a/deno.json b/deno.json index a5254570..7d7a23bd 100644 --- a/deno.json +++ b/deno.json @@ -2,28 +2,16 @@ "name": "@ltgc/octavia", "version": "0.0.1", "exports": { - "./basic": "./basic.mjs", - "./bridge": "./bridge.mjs", - "./cambiare": "./cambiare.mjs", - "./disp": "./disp.mjs", - "./state": "./state.mjs", - "./xp_basic": "./xp_basic.mjs", - "./xp_state": "./xp_state.mjs" - }, - "imports": { - "@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" + "./basic": "./dist/basic.mjs", + "./bridge": "./dist/bridge.mjs", + "./cambiare": "./dist/cambiare.mjs", + "./state": "./dist/state.mjs", + "./xp_basic": "./dist/xp_basic.mjs", + "./xp_state": "./dist/xp_state.mjs" }, "publish": { "include": [ - "*.json", - "*.mjs" + "dist/**" ] }, "unstable": [ diff --git a/jsr/basic.mjs b/jsr/basic.mjs deleted file mode 100644 index e2a35051..00000000 --- a/jsr/basic.mjs +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -import * as mod from "../dist/basic.mjs"; - -export default mod; diff --git a/jsr/bridge.mjs b/jsr/bridge.mjs deleted file mode 100644 index c03ebe62..00000000 --- a/jsr/bridge.mjs +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -import * as mod from "../dist/bridge.mjs"; - -export default mod; diff --git a/jsr/cambiare.mjs b/jsr/cambiare.mjs deleted file mode 100644 index 849641d3..00000000 --- a/jsr/cambiare.mjs +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -import * as mod from "../dist/cambiare.mjs"; - -export default mod; diff --git a/jsr/disp.mjs b/jsr/disp.mjs deleted file mode 100644 index 3918c74e..00000000 --- a/jsr/disp.mjs +++ /dev/null @@ -1 +0,0 @@ -"use strict"; diff --git a/jsr/state.mjs b/jsr/state.mjs deleted file mode 100644 index 7f3c05ed..00000000 --- a/jsr/state.mjs +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -import * as mod from "../dist/state.mjs"; - -export default mod; diff --git a/jsr/xp_basic.mjs b/jsr/xp_basic.mjs deleted file mode 100644 index 76c75b0a..00000000 --- a/jsr/xp_basic.mjs +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -import * as mod from "../dist/xp_basic.mjs"; - -export default mod; diff --git a/jsr/xp_state.mjs b/jsr/xp_state.mjs deleted file mode 100644 index f081fe1d..00000000 --- a/jsr/xp_state.mjs +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -import * as mod from "../dist/xp_state.mjs"; - -export default mod; diff --git a/sh/publish.sh b/sh/publish.sh index e521164f..50f526b7 100644 --- a/sh/publish.sh +++ b/sh/publish.sh @@ -1,7 +1,7 @@ #!/bin/bash -cd jsr -rm deno.json -cp ../deno.json ./ +#cd dist +#cp ../deno.json ./ echo "Publishing to JSR..." -deno publish --allow-slow-types +deno publish --allow-slow-types --allow-dirty --config ./deno.json +#rm deno.json exit \ No newline at end of file