From 90952915e3aea5b089ccb0d70f0e16ea327ddb52 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 31 Oct 2024 16:19:28 -0400 Subject: [PATCH 1/4] Remove working directory directives --- .github/workflows/deno_tests.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/deno_tests.yml b/.github/workflows/deno_tests.yml index 1de5fe6f..fa6b4923 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 - 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: From e3638ba754259b557bf754605f73a00a5251ed34 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 31 Oct 2024 16:28:58 -0400 Subject: [PATCH 2/4] Configure codespell repo-wide --- .codespellrc | 3 +++ .github/workflows/codespell.yml | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 .codespellrc 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 From b0115a83d0637f5c57a5b1e4ea11a12427964828 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 31 Oct 2024 16:31:00 -0400 Subject: [PATCH 3/4] 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" From d703c26ce5038e1671b800d0ebed1968a0a355b2 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 31 Oct 2024 16:32:33 -0400 Subject: [PATCH 4/4] One more --- .github/workflows/deno_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deno_tests.yml b/.github/workflows/deno_tests.yml index fa6b4923..5444bede 100644 --- a/.github/workflows/deno_tests.yml +++ b/.github/workflows/deno_tests.yml @@ -26,7 +26,7 @@ jobs: with: deno-version: v2.x - run: deno --node-modules-dir=auto -A ./build.ts - - 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