From 66e935aa09a9bf07e5e7565808423fa5d4532a52 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Fri, 1 Nov 2024 09:26:55 -0400 Subject: [PATCH 1/4] chore: Update excludes in deno.json --- deno.json | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/deno.json b/deno.json index 6443e841..7d63a46a 100644 --- a/deno.json +++ b/deno.json @@ -11,20 +11,14 @@ }, "publish": { "exclude": [ - "bids_validator/", - "bin/", "tests/", - "docs/", - "utils/", - "validators/", - "bids-validator-deno", + "tools/", + "web/", + ".*", + "Dockerfile", "build.ts", - "cli.js", - "esbuild.mjs", - "index.js", - "package.json", - ".npmignore", - ".gitattributes" + "deno.lock", + "local-run" ] }, "imports": { From e6c62ff8ada3bdb5fd9e5b06f8635c74973d8015 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Fri, 1 Nov 2024 09:28:00 -0400 Subject: [PATCH 2/4] Move project meta-files into .github --- CODE_OF_CONDUCT.md => .github/CODE_OF_CONDUCT.md | 0 CONTRIBUTING.md => .github/CONTRIBUTING.md | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename CODE_OF_CONDUCT.md => .github/CODE_OF_CONDUCT.md (100%) rename CONTRIBUTING.md => .github/CONTRIBUTING.md (100%) diff --git a/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md similarity index 100% rename from CODE_OF_CONDUCT.md rename to .github/CODE_OF_CONDUCT.md diff --git a/CONTRIBUTING.md b/.github/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING.md rename to .github/CONTRIBUTING.md From d32ebda1ec4785893fe1e7b40ebe89f3b84a578e Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Fri, 1 Nov 2024 11:24:08 -0400 Subject: [PATCH 3/4] Add deno publish --dry-run job --- .github/workflows/deno_tests.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deno_tests.yml b/.github/workflows/deno_tests.yml index 5444bede..1aacd3d7 100644 --- a/.github/workflows/deno_tests.yml +++ b/.github/workflows/deno_tests.yml @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - uses: denoland/setup-deno@v1 + - uses: denoland/setup-deno@v2 with: deno-version: v2.x - name: Set permissions with network access @@ -69,6 +69,15 @@ jobs: with: files: coverage.lcov + publish-dry-run: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: denoland/setup-deno@v2 + with: + deno-version: v2.x + - run: deno publish --dry-run + deploy: needs: [build] runs-on: ubuntu-latest From 272319c12a377a4d93e46285bb0cd4f9188cb88a Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Fri, 1 Nov 2024 13:01:28 -0400 Subject: [PATCH 4/4] Exclude test files --- deno.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deno.json b/deno.json index 7d63a46a..15122582 100644 --- a/deno.json +++ b/deno.json @@ -11,10 +11,11 @@ }, "publish": { "exclude": [ - "tests/", + "**/tests/", "tools/", "web/", ".*", + "**/*.test.ts", "Dockerfile", "build.ts", "deno.lock",