Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/comparison-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build (required for integration tests)
run: pnpm build

- name: Run integration tests
run: pnpm test:integration

- name: Run comparison tests
run: pnpm test:comparison

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ src/commands/python3/worker.js
src/commands/js-exec/worker.js
fuzz-*.log
.claude/settings.local.json
.swc
.workflow-vitest
.workflow-data
4 changes: 3 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@
"!.docs-test-tmp",
"!src/commands/python3/worker.js",
"!src/commands/js-exec/worker.js",
"!vendor"
"!vendor",
"!**/.workflow-vitest",
"!**/.workflow-data"
]
}
}
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"build:cli": "esbuild dist/cli/just-bash.js --bundle --splitting --platform=node --format=esm --minify --outdir=dist/bin --entry-names=[name] --chunk-names=chunks/[name]-[hash] --banner:js='#!/usr/bin/env node' --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:compressjs",
"build:shell": "esbuild dist/cli/shell.js --bundle --splitting --platform=node --format=esm --minify --outdir=dist/bin/shell --entry-names=[name] --chunk-names=chunks/[name]-[hash] --banner:js='#!/usr/bin/env node' --external:sql.js --external:quickjs-emscripten --external:@mongodb-js/zstd --external:node-liblzma --external:compressjs",
"prepublishOnly": "pnpm validate",
"validate": "pnpm lint && pnpm knip && pnpm typecheck && pnpm build && pnpm check:worker-sync && pnpm test:run && pnpm test:wasm && pnpm test:dist && pnpm test:examples",
"validate": "pnpm lint && pnpm knip && pnpm typecheck && pnpm build && pnpm check:worker-sync && pnpm test:run && pnpm test:integration && pnpm test:wasm && pnpm test:dist && pnpm test:examples",
"test:examples": "cd examples/cjs-consumer && pnpm install --no-frozen-lockfile && npx tsc --noEmit",
"typecheck": "tsc --noEmit",
"lint": "biome check . && pnpm lint:banned",
Expand All @@ -73,10 +73,11 @@
"lint:fix": "biome check --write .",
"knip": "knip",
"test": "vitest",
"test:run": "vitest run --exclude src/security/fuzzing/ --exclude src/commands/python3/ --exclude src/commands/sqlite3/ --exclude src/commands/js-exec/ --exclude src/agent-examples/python-scripting.test.ts",
"test:run": "vitest run --exclude src/security/fuzzing/ --exclude src/commands/python3/ --exclude src/commands/sqlite3/ --exclude src/commands/js-exec/ --exclude src/agent-examples/python-scripting.test.ts --exclude src/serde-integration/",
"test:dist": "vitest run src/cli/just-bash.bundle.test.ts",
"test:unit": "vitest run --config vitest.unit.config.ts",
"test:wasm": "vitest run --config vitest.wasm.config.ts",
"test:integration": "cd src/serde-integration && vitest run --config vitest.config.ts",
"test:comparison": "vitest run --config vitest.comparison.config.ts",
"test:comparison:record": "RECORD_FIXTURES=1 vitest run --config vitest.comparison.config.ts",
"test:coverage": "vitest run --coverage",
Expand All @@ -98,13 +99,17 @@
"@types/sql.js": "^1.4.9",
"@types/turndown": "^5.0.6",
"@vitest/coverage-v8": "^4.0.18",
"@workflow/rollup": "4.0.0-beta.30",
"@workflow/vitest": "4.0.1-beta.10",
"esbuild": "^0.27.2",
"fast-check": "^3.23.2",
"knip": "^5.41.1",
"typescript": "^5.9.3",
"vitest": "^4.0.16"
"vitest": "^4.0.16",
"workflow": "4.2.0-beta.73"
},
"dependencies": {
"@workflow/serde": "4.1.0-beta.2",
"compressjs": "^1.0.3",
"diff": "^8.0.2",
"fast-xml-parser": "^5.3.3",
Expand Down
Loading
Loading