Commit graph

18 commits

Author SHA1 Message Date
Mark Wubben
b31b242831 Implement AVA 8 protocol
- Always import() when loading
- Don't include .cts in default extensions
2026-04-16 21:38:08 +02:00
Mark Wubben
46c795c1b5 Import package.json 2026-04-16 21:38:08 +02:00
Mark Wubben
2e82538b6e Update dependencies 2026-04-16 21:38:08 +02:00
Mark Wubben
b84e7b7168
Update dependencies, CI workflows and require Node.js 20 / 22 / 24
* Remove support for Node.js 18 and 21

* Upgrade XO

* Update dev dependencies

* Break out AVA and c8 config into their own files

* Upgrade execa

* Update CI workflow

* Pin node and npm versions using Volta

* Automate releases
2025-06-17 21:25:20 +02:00
Mark Wubben
56e3b15c02 Upgrade XO and apply fixes 2024-05-05 22:21:46 +02:00
Mark Wubben
1ae15b27c2 Restrict compatibility to AVA 6 2024-05-05 22:21:46 +02:00
Mark Wubben
2b6fb25e44 Support the new watch mode in AVA 6 2023-06-30 22:08:29 +02:00
Mark Wubben
75aad0aa2b Update dependencies 2023-03-12 18:08:19 +01:00
Mark Wubben
4ec638c4d0 Support .cts and .mts 2023-03-12 18:08:19 +01:00
Mark Wubben
5b4fac1ea2
Actually parse package.json files
Co-authored-by: Vitalij Ryndin <sys@crashmax.ru>
2021-11-16 18:13:41 +01:00
Mark Wubben
a675a677ef Support ESM files
Fixes #5.
2021-11-02 20:37:41 +01:00
Mark Wubben
a3b6326377 Upgrade to ESM 2021-11-02 20:37:41 +01:00
Mark Wubben
64abb5ac81 Upgrade XO and apply changes 2021-11-02 20:37:41 +01:00
Szymon Marczak
869760a149
Add compile option
Support compilation using `tsc` before AVA runs tests.

This is a breaking change. To retain the old behavior you must configure `compile: false`.

Co-authored-by: Mark Wubben <mark@novemberborn.net>
2021-04-12 10:32:03 +02:00
Mark Wubben
de9c6f76dc
Updates and breaking changes
* Update minimal Node.js versions

* Update dev dependencies

* Update dependencies

* Remove support for the ava-3 protocol
2021-04-11 15:30:27 +02:00
Victorien ELVINGER
e43f188a54
Remove is-plain-object dependency
Co-authored-by: Mark Wubben <mark@novemberborn.net>
2020-02-16 13:39:51 +01:00
Mark Wubben
586d820ad2 Improve integration with AVA
Have the watcher ignore changes to the original TypeScript source files.
This way, the watcher will only react to changes to the TypeScript build
output.

Allow the watcher to resolve the rewritten path of a test file, so it
can track it as a dependency of the original TypeScript source file.
This way, when the build output changes, the watcher knows to re-run the
original test file.

Update file patterns to ignore *.d.ts files, as well as any files in the
build output.

Updated the ignored-by-watcher patterns to ignore source map files from
the build output.

Fixes #10, #7, #9.
2020-02-02 17:33:59 +01:00
Mark Wubben
bfa70a3b39 Add rudimentary implementation 2020-01-26 15:38:38 +01:00