Files
qqq-cli/packages/conformance/package.json
T
james.maesandClaude Fable 5.1 5dd5e2d7f1 test: run the package tests without shell globs, for the Windows lane
The cli-windows-x64 lane failed in every package with "Could not find
...\dist\test\*.test.js": npm runs scripts with cmd.exe there, which
does not expand globs, and Node 20 does not glob its own arguments.
Plain "node --test" is no fix on Node 20 either, because its default
patterns run every file under a test directory, helpers such as
harness.js and stub.js included.

scripts/run-tests.mjs lists the *.test.js files directly in dist/test and
spawns node --test with them, so all four packages run the same files on
every platform. Counts on macOS are unchanged: 18, 167, 3 and 100.

Two cheap Windows fixes in the CLI test harness: the sandbox sets
USERPROFILE as well as HOME (os.homedir() reads USERPROFILE on Windows,
so defaults would have escaped into the real profile) and QQQ_STATE_DIR,
and the golden-file normaliser turns backslashes in sandbox paths into /
so export-download-dir.txt matches there too.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-01 04:39:55 -06:00

53 lines
1.2 KiB
JSON

{
"name": "@qrun-io/qqq-ui-api-conformance",
"version": "1.6.0",
"description": "Black-box conformance suite for QQQ UI API (/qqq/v1) servers, plus qqq-dev-idp, a local OIDC provider for testing native clients.",
"keywords": [
"qqq",
"qrun",
"ui-api",
"conformance",
"openapi",
"testing",
"oidc"
],
"license": "Apache-2.0",
"homepage": "https://github.com/QRun-IO/qqq-cli/tree/main/packages/conformance#readme",
"bugs": {
"url": "https://github.com/QRun-IO/qqq-cli/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/QRun-IO/qqq-cli.git",
"directory": "packages/conformance"
},
"type": "module",
"main": "dist/conformance.js",
"types": "dist/conformance.d.ts",
"bin": {
"qqq-ui-api-conformance": "dist/main.js",
"qqq-dev-idp": "dist/dev-idp.js"
},
"files": [
"dist",
"!dist/test",
"!dist/**/*.map",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=20"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "node ../../scripts/run-tests.mjs dist/test",
"prepack": "node ../../scripts/copy-license.mjs"
},
"dependencies": {
"ajv": "8.20.0"
}
}