Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove working directory directives #4

Merged
merged 4 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[codespell]
skip = deno.lock,data
ignore-words-list = particpants
3 changes: 0 additions & 3 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 2 additions & 4 deletions .github/workflows/deno_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -43,7 +42,6 @@ jobs:
fail-fast: false
defaults:
run:
working-directory: ./bids-validator
shell: bash

steps:
Expand Down
6 changes: 3 additions & 3 deletions web/deno.json
Original file line number Diff line number Diff line change
@@ -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/[email protected]/http/file_server.ts dist/"
}
}
}
2 changes: 1 addition & 1 deletion web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from "react"
import "./App.css"
import { directoryOpen } from "https://esm.sh/[email protected]"
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"

Expand Down
Loading