From b0115a83d0637f5c57a5b1e4ea11a12427964828 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 31 Oct 2024 16:31:00 -0400 Subject: [PATCH] Fix relative imports in web app --- web/deno.json | 6 +++--- web/src/App.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/deno.json b/web/deno.json index e16770c8..fd59d067 100644 --- a/web/deno.json +++ b/web/deno.json @@ -1,8 +1,8 @@ { "tasks": { - "dev": "../bids-validator/build.ts && deno run -A --node-modules-dir npm:vite", - "build": "../bids-validator/build.ts && deno run -A --node-modules-dir npm:vite build", + "dev": "../build.ts && deno run -A --node-modules-dir npm:vite", + "build": "../build.ts && deno run -A --node-modules-dir npm:vite build", "preview": "deno run -A --node-modules-dir npm:vite preview", "serve": "deno run --allow-net --allow-read https://deno.land/std@0.157.0/http/file_server.ts dist/" } -} \ No newline at end of file +} diff --git a/web/src/App.tsx b/web/src/App.tsx index 657eaf04..1029363c 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -2,7 +2,7 @@ import React, { useState } from "react" import "./App.css" import { directoryOpen } from "https://esm.sh/browser-fs-access@0.35.0" import { fileListToTree, validate } from "../dist/validator/main.js" -import type { ValidationResult } from "../../bids-validator/src/types/validation-result.ts" +import type { ValidationResult } from "../../src/types/validation-result.ts" import { Collapse } from "./Collapse.tsx" import { Summary } from "./Summary.tsx"