ava/lib
Philip Peterson 1cdd70679e Add AVA_IMPORT_FROM_PROJECT_NO_STUB env var for read-only node_modules
In CI environments where node_modules is mounted read-only,
importFromProject fails because it writes a stub file to
node_modules/.cache/ava. When AVA_IMPORT_FROM_PROJECT_NO_STUB=1 is set,
use createRequire scoped to the project directory instead, avoiding any
file writes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-03 02:56:25 -07:00
..
plugin-support Update dependencies & other general maintenance 2024-08-20 15:40:08 +02:00
reporters Replace strip-ansi with node:util.stripVTControlCharacters 2025-11-05 16:20:52 +01:00
worker Add AVA_IMPORT_FROM_PROJECT_NO_STUB env var for read-only node_modules 2026-05-03 02:56:25 -07:00
api-event-iterator.js Experimentally expose internal events for custom reporters 2023-11-26 21:26:34 +01:00
api.js add logs 2026-05-03 02:56:25 -07:00
assert.js Update XO & other dependencies 2025-06-06 22:45:31 +02:00
chalk.js Update XO & other dependencies 2025-06-06 22:45:31 +02:00
cli.js add logs 2026-05-03 02:56:25 -07:00
code-excerpt.js Modernize some syntax 2023-07-02 17:26:14 +02:00
concordance-options.js Replace strip-ansi with node:util.stripVTControlCharacters 2025-11-05 16:20:52 +01:00
context-ref.js Replace Lodash with built-in syntax, libraries, and some code 2021-10-04 20:46:31 +02:00
create-chain.js Upgrade xo to v0.57.0 2024-02-27 22:24:21 +01:00
environment-variables.js Switch to ESM for internals 2021-06-06 15:39:52 +02:00
eslint-plugin-helper-worker.js Update dependencies & other general maintenance 2024-08-20 15:40:08 +02:00
extensions.js Update all the things 2021-09-12 22:00:38 +02:00
fork.js Keep test worker alive until explicitly freed 2025-07-12 14:35:51 +02:00
glob-helpers.cjs Remove ability to select AVA 5 watcher 2023-11-07 11:52:59 +01:00
globs.js Remove ability to select AVA 5 watcher 2023-11-07 11:52:59 +01:00
ipc-flow-control.cjs Switch to ESM for internals 2021-06-06 15:39:52 +02:00
is-ci.js Update all the things 2021-09-12 22:00:38 +02:00
like-selector.js Fix circular selector detection in t.like() 2023-06-16 18:23:54 +02:00
line-numbers.js Update XO & other dependencies 2025-06-06 22:45:31 +02:00
load-config.js Add filterNodeArgumentsForWorkerThreads option 2024-08-20 15:55:43 +02:00
module-types.js Update dependencies and such 2023-01-15 21:33:33 +01:00
node-arguments.js Update all the things 2021-09-12 22:00:38 +02:00
now-and-timers.cjs Update dependencies and such 2023-01-15 21:33:33 +01:00
parse-test-args.js Update dependencies, rely on Node.js 18, other small changes 2023-11-06 21:46:04 +01:00
pkg.cjs Switch to ESM for internals 2021-06-06 15:39:52 +02:00
provider-manager.js Remove ability to select AVA 5 watcher 2023-11-07 11:52:59 +01:00
run-status.js Ensure AVA exits with code 1 after an unexpected process.exit() in a test worker 2024-01-11 22:33:57 +00:00
runner.js Update XO & other dependencies 2025-06-06 22:45:31 +02:00
scheduler.js Minor changes to watch mode 2023-07-02 15:14:36 +02:00
serialize-error.js Refactor error processing 2023-09-10 15:26:35 +02:00
slash.cjs Update dependencies, rely on Node.js 18, other small changes 2023-11-06 21:46:04 +01:00
snapshot-manager.js Update XO & other dependencies 2025-06-06 22:45:31 +02:00
test.js Update XO & other dependencies 2025-06-06 22:45:31 +02:00
watcher.js Update XO & other dependencies 2025-06-06 22:45:31 +02:00