Skip to content
Open
15 changes: 15 additions & 0 deletions .license-checker.allow
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# SPDX license ids allowed for production dependencies (one per line).
# Consumed by license-checker --onlyAllow in .github/workflows/license.yml.
# Blank lines and # comments are ignored. Add ids as new prod deps appear.
MIT
ISC
Apache-2.0
BSD-2-Clause
BSD-3-Clause
0BSD
Unlicense
CC0-1.0
CC-BY-4.0
BlueOak-1.0.0
MIT-0
Python-2.0
1 change: 1 addition & 0 deletions bin/pure-test.mjs
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env node
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* pure-test CLI - discovers and runs test files.
Expand Down
320 changes: 157 additions & 163 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"allowBuilds":
"sharp": true
"workerd": true
"overrides":
"ws": "^8.21.0"
"undici": "^7.28.0"
"brace-expansion": "^5.0.6"
"autoInstallPeers": false
"lockfileIncludeTarballUrl": true
"preferFrozenLockfile": true
Expand Down
2 changes: 2 additions & 0 deletions scripts/build.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* build.mjs - Clean build with comment stripping.
*
Expand Down
2 changes: 2 additions & 0 deletions scripts/coverage-all.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* coverage-all.mjs - Per-runtime coverage orchestrator.
*
Expand Down
2 changes: 2 additions & 0 deletions scripts/license-headers.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

// license-headers.mjs - Verify and optionally fix SPDX license headers.
//
// Usage:
Expand Down
2 changes: 2 additions & 0 deletions scripts/prepublish.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* prepublish.mjs - Pre-publish gate.
*
Expand Down
2 changes: 2 additions & 0 deletions scripts/test-ci.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* test-ci.mjs - Run the full CI test matrix locally.
*
Expand Down
2 changes: 2 additions & 0 deletions scripts/test-matrix.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* test-matrix.mjs - Run full test suite across all available runtimes.
* Used inside Docker containers and natively on macOS.
Expand Down
2 changes: 2 additions & 0 deletions tests/browser-test.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* Browser smoke test via Playwright.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/cli.test.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* CLI integration tests: spawn bin/pure-test.mjs and assert on exit codes / output.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/deno-adapter.test.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* Deno adapter smoke test.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/fixtures/example.test.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

import { describe, expect, it } from "../../dist/index.js";

describe("example", () => {
Expand Down
2 changes: 2 additions & 0 deletions tests/grep-test.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* Tests for setGrep / --grep filtering.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/only-test.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* Tests for it.only and describe.only.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/self-test.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* Self-test: the test runner testing itself.
*
Expand Down
2 changes: 2 additions & 0 deletions tests/ts-cli.test.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* TypeScript CLI integration tests (Node-only).
*
Expand Down
2 changes: 2 additions & 0 deletions tests/ts/sample.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

import { describe, expect, it } from "../../dist/index.js";

interface Point {
Expand Down
2 changes: 2 additions & 0 deletions tests/worker-test.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2026 igorjs. SPDX-License-Identifier: Apache-2.0

/**
* Cloudflare Workers smoke test via Miniflare API.
*
Expand Down
Loading