-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b1fdde1
commit 973f946
Showing
12 changed files
with
463 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
- name: Setup Deno | ||
uses: "denoland/setup-deno@v1" | ||
- name: Run Tests | ||
run: "deno run -Aq --import-map https://dev.cdn.unyt.org/importmap.json https://dev.cdn.unyt.org/unyt_tests/run.ts -s --reportfile testreport.xml" | ||
run: "deno run -Aq --import-map ./importmap.json https://cdn.unyt.org/unyt-tests/run.ts -s --reportfile testreport.xml" | ||
- name: Publish Test Report | ||
uses: "mikepenz/action-junit-report@v3" | ||
if: "success() || failure()" | ||
|
@@ -24,8 +24,10 @@ jobs: | |
steps: | ||
- name: Checkout Repo | ||
uses: "actions/checkout@v3" | ||
with: | ||
submodules: recursive | ||
- name: Setup Deno | ||
uses: "denoland/setup-deno@v1" | ||
- name: Deploy UIX App | ||
run: "deno run --importmap https://dev.cdn.unyt.org/uix1/importmap.json -Aqr https://dev.cdn.unyt.org/uix1/run.ts --stage prod --detach " | ||
run: "deno run --importmap ./importmap.json -Aqr https://cdn.unyt.org/[email protected]/run.ts --stage prod --detach" | ||
needs: test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
import { Overview } from "../common/Overview.tsx"; | ||
import { listStorage } from "backend/lists.eternal.ts"; | ||
import { renderBackend, renderHybrid, renderStatic } from "uix/base/render-methods.ts"; | ||
import { Entrypoint } from "uix/html/entrypoints.ts"; | ||
import { List } from "common/List.tsx"; | ||
import { lazy } from "uix/html/entrypoint-providers.tsx"; | ||
import { Lists } from "backend/lists.ts"; | ||
|
||
// The frontend routes definition | ||
export default { | ||
'/': renderHybrid(<Overview lists={listStorage}/>), // On '/'-route display the overview component | ||
// '/:id': lazy(async (_, {id}) => { | ||
// return renderBackend(<List list={await Lists.get(id)}/>) // render the list component | ||
// }), | ||
'*': null // Letting the frontend handle all other routes | ||
'/': <Overview lists={listStorage}/>, | ||
'*': null | ||
} satisfies Entrypoint; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
{ | ||
"importMap": "./importmap.json", | ||
"_publicImportMap": "./importmap.json", | ||
"importMap": "./.datex-cache/importmap.lock.json", | ||
"compilerOptions": { | ||
"jsx": "react-jsx", | ||
"jsxImportSource": "uix", | ||
"lib": [ | ||
"deno.window" | ||
"deno.window", | ||
"dom" | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.