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>
61 lines
1.4 KiB
JSON
61 lines
1.4 KiB
JSON
{
|
|
"name": "@qrun-io/qqq-core",
|
|
"version": "1.0.0",
|
|
"description": "Client kernel for QQQ terminal clients: sessions, metadata, filter grammar, records, processes, jobs, render model and output formats. No terminal code.",
|
|
"keywords": [
|
|
"qqq",
|
|
"qrun",
|
|
"ui-api",
|
|
"client",
|
|
"typescript",
|
|
"low-code"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"homepage": "https://github.com/QRun-IO/qqq-cli/tree/main/packages/core#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/core"
|
|
},
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"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": {
|
|
"@qrun-io/qqq-ui-api-client": "1.8.0",
|
|
"jmespath": "0.16.0",
|
|
"yaml": "2.9.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jmespath": "0.15.2"
|
|
}
|
|
}
|