Files
scriptc/scripts/ts7-order-fixtures.mjs
Chris Tate 095b619330 Add native workers and shared memory
- Add native worker execution with isolated module state, structured messages, and lifecycle controls.
- Support shared buffers and integer atomics with coordinated runtime ownership and cancellation.
- Extend compiler, runtime-pack, differential, and compatibility coverage for native concurrency.
2026-10-07 19:07:02 -05:00

22 lines
702 B
JavaScript

import { globSync } from "node:fs";
import { join } from "node:path";
export function orderEntriesUnder(repoRoot, dir) {
return ["ts", "js", "mjs", "cjs"]
.flatMap((ext) => [
...globSync(join(repoRoot, dir, `*.${ext}`)),
...globSync(join(repoRoot, dir, `*/main.${ext}`)),
])
.sort();
}
export function allOrderEntries(repoRoot) {
return [
...orderEntriesUnder(repoRoot, "tests/corpus"),
...orderEntriesUnder(repoRoot, "tests/diagnostics"),
...orderEntriesUnder(repoRoot, "tests/fixtures/npm/cases"),
...globSync(join(repoRoot, "tests/fixtures/strictness/*/main.ts")).sort(),
...globSync(join(repoRoot, "tests/fixtures/node-types/*.ts")).sort(),
];
}