diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 00000000..2cc7c258 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,3 @@ +[codespell] +skip = deno.lock,data +ignore-words-list = particpants diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 3c554337..f66bc600 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -19,6 +19,3 @@ jobs: steps: - uses: actions/checkout@v4 - uses: codespell-project/actions-codespell@master - with: - ignore_words_list: ro,anser,te,tage,afterall,nwe,nin,nd,falsy - skip: deno.lock diff --git a/.github/workflows/deno_tests.yml b/.github/workflows/deno_tests.yml index 1de5fe6f..5444bede 100644 --- a/.github/workflows/deno_tests.yml +++ b/.github/workflows/deno_tests.yml @@ -26,12 +26,11 @@ jobs: with: deno-version: v2.x - run: deno --node-modules-dir=auto -A ./build.ts - working-directory: ./bids-validator - - run: deno run -A ./bids-validator/dist/validator/bids-validator.js --version + - run: deno run -A ./dist/validator/bids-validator.js --version - uses: actions/upload-artifact@v4 with: name: main - path: bids-validator/dist/validator + path: dist/validator test: runs-on: ${{ matrix.os }} @@ -43,7 +42,6 @@ jobs: fail-fast: false defaults: run: - working-directory: ./bids-validator shell: bash steps: 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"