diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index 579c541..98115d8 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -15,7 +15,7 @@ jobs: with: node-version: 18.x cache: 'npm' - cache-dependency-path: viewer/package-lock.json + cache-dependency-path: web/package-lock.json - name: Install wasm-pack uses: jetli/wasm-pack-action@v0.4.0 @@ -28,7 +28,7 @@ jobs: - name: Build web app run: | - cd viewer + cd web npm ci npm run wasm npm run build --if-present @@ -37,4 +37,4 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./viewer/dist/ + publish_dir: ./web/dist/ diff --git a/README.md b/README.md index efc953d..51c029a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # od2net -![Logo](viewer/assets/logo.png) +![Logo](web/assets/logo.png) WARNING: This repo is not ready for general use. The API and input/output formats will keep changing. There are big limitations not yet documented. diff --git a/viewer/.prettierrc b/web/.prettierrc similarity index 100% rename from viewer/.prettierrc rename to web/.prettierrc diff --git a/viewer/README.md b/web/README.md similarity index 100% rename from viewer/README.md rename to web/README.md diff --git a/viewer/assets/README.md b/web/assets/README.md similarity index 100% rename from viewer/assets/README.md rename to web/assets/README.md diff --git a/viewer/assets/chevron.png b/web/assets/chevron.png similarity index 100% rename from viewer/assets/chevron.png rename to web/assets/chevron.png diff --git a/viewer/assets/logo.png b/web/assets/logo.png similarity index 100% rename from viewer/assets/logo.png rename to web/assets/logo.png diff --git a/viewer/assets/marker.svg b/web/assets/marker.svg similarity index 100% rename from viewer/assets/marker.svg rename to web/assets/marker.svg diff --git a/viewer/edge_cost.html b/web/edge_cost.html similarity index 100% rename from viewer/edge_cost.html rename to web/edge_cost.html diff --git a/viewer/index.html b/web/index.html similarity index 100% rename from viewer/index.html rename to web/index.html diff --git a/viewer/interactive.html b/web/interactive.html similarity index 100% rename from viewer/interactive.html rename to web/interactive.html diff --git a/viewer/package-lock.json b/web/package-lock.json similarity index 100% rename from viewer/package-lock.json rename to web/package-lock.json diff --git a/viewer/package.json b/web/package.json similarity index 100% rename from viewer/package.json rename to web/package.json diff --git a/viewer/src/App.svelte b/web/src/App.svelte similarity index 100% rename from viewer/src/App.svelte rename to web/src/App.svelte diff --git a/viewer/src/ClippedPBFs.svelte b/web/src/ClippedPBFs.svelte similarity index 100% rename from viewer/src/ClippedPBFs.svelte rename to web/src/ClippedPBFs.svelte diff --git a/viewer/src/CostFunction.svelte b/web/src/CostFunction.svelte similarity index 100% rename from viewer/src/CostFunction.svelte rename to web/src/CostFunction.svelte diff --git a/viewer/src/EdgeCostApp.svelte b/web/src/EdgeCostApp.svelte similarity index 100% rename from viewer/src/EdgeCostApp.svelte rename to web/src/EdgeCostApp.svelte diff --git a/viewer/src/Header.svelte b/web/src/Header.svelte similarity index 100% rename from viewer/src/Header.svelte rename to web/src/Header.svelte diff --git a/viewer/src/InteractiveApp.svelte b/web/src/InteractiveApp.svelte similarity index 100% rename from viewer/src/InteractiveApp.svelte rename to web/src/InteractiveApp.svelte diff --git a/viewer/src/Layers.svelte b/web/src/Layers.svelte similarity index 100% rename from viewer/src/Layers.svelte rename to web/src/Layers.svelte diff --git a/viewer/src/Layout.svelte b/web/src/Layout.svelte similarity index 100% rename from viewer/src/Layout.svelte rename to web/src/Layout.svelte diff --git a/viewer/src/Loader.svelte b/web/src/Loader.svelte similarity index 100% rename from viewer/src/Loader.svelte rename to web/src/Loader.svelte diff --git a/viewer/src/SidebarControls.svelte b/web/src/SidebarControls.svelte similarity index 100% rename from viewer/src/SidebarControls.svelte rename to web/src/SidebarControls.svelte diff --git a/viewer/src/StreetView.svelte b/web/src/StreetView.svelte similarity index 100% rename from viewer/src/StreetView.svelte rename to web/src/StreetView.svelte diff --git a/viewer/src/TradeoffRadar.svelte b/web/src/TradeoffRadar.svelte similarity index 100% rename from viewer/src/TradeoffRadar.svelte rename to web/src/TradeoffRadar.svelte diff --git a/viewer/src/common.ts b/web/src/common.ts similarity index 100% rename from viewer/src/common.ts rename to web/src/common.ts diff --git a/viewer/src/stores.ts b/web/src/stores.ts similarity index 100% rename from viewer/src/stores.ts rename to web/src/stores.ts diff --git a/viewer/svelte.config.js b/web/svelte.config.js similarity index 100% rename from viewer/svelte.config.js rename to web/svelte.config.js diff --git a/viewer/tsconfig.json b/web/tsconfig.json similarity index 100% rename from viewer/tsconfig.json rename to web/tsconfig.json diff --git a/viewer/vite.config.ts b/web/vite.config.ts similarity index 100% rename from viewer/vite.config.ts rename to web/vite.config.ts