Skip to content

Commit b9c052f

Browse files
thedannywahlCopilotgithub-advanced-security[bot]
authored
Shared configs scheduled release (#128)
* update aiinfo to use sharedconfigs * lint * move functionality to root config * exclude src from tests * add absolute path * add local test script * coverage * use pnpm filter for tests * add tests * newline before badge * add tests * expand test sources * handle sideeffects from direct invocation * mock data * add guards for length * btter breakdown of permissionLevels * update coverage * move types * lint * move dts plugin to local config * check for direct invocation * stricter type for pluck() * coerce fields to string * lint * update templates * aiinfo@1.3.0 * shared-configs@1.2.2 * Update packages/aiinfo/scripts/updateCache.mts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Potential fix for code scanning alert no. 14: Incomplete string escaping or encoding Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Update packages/aiinfo/utils/entryToPermissionLevels.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix workflow path --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 69aad90 commit b9c052f

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/release-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
pnpm install --frozen-lockfile
9494
9595
# Enable vite-node loader using the register() API
96-
export NODE_OPTIONS="--import=${{ github.workspace }}/scripts/loader.mjs"
96+
export NODE_OPTIONS="--import=${{ github.workspace }}/plugins/vite-node.plugin.loader.mjs"
9797
9898
# Build & test (skip for shared-configs)
9999
if [ "$PKG_NAME" != "shared-configs" ]; then

coverage/coverage.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
coverage:
22
totals:
33
statements: 2.15%
4-
branches: 0.85%
4+
branches: 0.84%
55
functions: 3.03%
6-
lines: 2.27%
6+
lines: 2.26%
77
total: 2.07%
88
plugins:
99
totals:
@@ -68,25 +68,25 @@ coverage:
6868
branches: 0%
6969
functions: 0%
7070
lines: 0%
71-
uncovered_line_numbers: "13-199"
71+
uncovered_line_numbers: "13-206"
7272
"preview.mts":
7373
statements: 0%
7474
branches: 0%
7575
functions: 0%
7676
lines: 0%
77-
uncovered_line_numbers: "14-61"
77+
uncovered_line_numbers: "14-62"
7878
"release.mts":
7979
statements: 0%
8080
branches: 0%
8181
functions: 0%
8282
lines: 0%
83-
uncovered_line_numbers: "14-199"
83+
uncovered_line_numbers: "14-200"
8484
"test.mts":
8585
statements: 0%
8686
branches: 0%
8787
functions: 0%
8888
lines: 0%
89-
uncovered_line_numbers: "14-109"
89+
uncovered_line_numbers: "14-110"
9090
"workspace.mts":
9191
statements: 0%
9292
branches: 0%
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// plugins/vite-node.plugin.loader.test.mjs
21
import { describe, it, expect, vi, beforeEach } from 'vitest';
32

43
// Mock node:fs/promises and vite before importing the loader

0 commit comments

Comments
 (0)