From c719708871cae65e5d0cb85503661461fda77558 Mon Sep 17 00:00:00 2001 From: Jonas Strehle Date: Thu, 28 Mar 2024 11:24:47 +0100 Subject: [PATCH] Fix #1 --- .github/workflows/uix-deploy-prod.yml | 2 +- deno.json | 2 +- importmap.dev.json | 13 +++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 importmap.dev.json diff --git a/.github/workflows/uix-deploy-prod.yml b/.github/workflows/uix-deploy-prod.yml index 8672799..b9c1e62 100644 --- a/.github/workflows/uix-deploy-prod.yml +++ b/.github/workflows/uix-deploy-prod.yml @@ -15,4 +15,4 @@ jobs: - name: Setup Deno uses: "denoland/setup-deno@v1" - name: Deploy UIX App - run: "deno run --importmap ./importmap.json -Aqr https://cdn.unyt.org/uix@0.2.x/run.ts --stage prod --detach" + run: "deno run --importmap ./importmap.dev.json -Aqr https://dev.cdn.unyt.org/uix1/run.ts --stage prod --detach" diff --git a/deno.json b/deno.json index 810ddf7..e509330 100644 --- a/deno.json +++ b/deno.json @@ -1,5 +1,5 @@ { - "_publicImportMap": "./importmap.json", + "_publicImportMap": "./importmap.dev.json", "importMap": "./.datex-cache/importmap.lock.json", "compilerOptions": { "jsx": "react-jsx", diff --git a/importmap.dev.json b/importmap.dev.json new file mode 100644 index 0000000..7d714ef --- /dev/null +++ b/importmap.dev.json @@ -0,0 +1,13 @@ +{ + "imports": { + "components/": "https://cdn.unyt.org/uix-components-new/", + "datex-core-legacy": "https://dev.cdn.unyt.org/unyt_core/datex.ts", + "datex-core-legacy/": "https://dev.cdn.unyt.org/unyt_core/", + "unyt_core": "https://dev.cdn.unyt.org/unyt_core/datex.ts", + "unyt_core/": "https://dev.cdn.unyt.org/unyt_core/", + "uix": "https://dev.cdn.unyt.org/uix1/uix.ts", + "uix/": "https://dev.cdn.unyt.org/uix1/src/", + "uix/jsx-runtime": "https://dev.cdn.unyt.org/uix1/src/jsx-runtime/jsx.ts", + "unyt-tests/": "https://dev.cdn.unyt.org/unyt_tests/" + } +} \ No newline at end of file