Commit graph

63 commits

Author SHA1 Message Date
Mark Wubben
4abb780b5b
Update dependencies
* Update local node & npm versions through Volta

* Update non-TypeScript dev dependencies

* Update TypeScript dependencies & test matrix

* Update regular dependencies

* Rebuild lockfile
2025-04-14 21:55:05 +02:00
Mark Wubben
563fa5f13a
Pre-release updates
* Update dependencies
* Add Node.js >= 23 to test matrix
2024-10-27 14:30:25 +01:00
Mark Wubben
b15df53939
Update dependencies & other general maintenance
* Upgrade XO
* Update TypeScript-related dependencies — Don't upgrade @sindresorhus/tsconfig to v6 since it requires TS 5.5 and we test with 5.2.
* Update dev dependencies
* Update dependencies
* Rebuild lockfile
* Upgrade CodeCov action
* Update reporter log instructions and remove deprecation warnings
* Make Node.js 22.6 the recommended development version
* Remove Node.js 21 from the engines list: It's no longer maintained by Node.js itself, see also <https://github.com/avajs/ava/blob/main/docs/support-statement.md>.
2024-08-20 15:40:08 +02:00
Silas Rech
002b3a0e93
Include Node.js 22 in supported engines and test matrix
Co-authored-by: Mark Wubben <mark@novemberborn.net>
2024-05-05 22:32:41 +02:00
Mark Wubben
88e433376a
Update dependencies & other minor tweaks
* Update dependencies

* Ignore snapshot fixture due to churn

* Remove errant log

* Update GHA actions

* Test type definition with TS 5.3

* Select latest LTS in Volta

* Remove unnecessary npx invocation

* Rebuild lockfile

* Work around legacy tap-based tests choking on our tsconfig.json

No idea why it's even resolving the config when there are no TypeScript tests to run.
2023-12-04 21:56:22 +01:00
Sindre Sorhus
cf0fa4ce5a
Update dependencies, rely on Node.js 18, other small changes
* Update dependencies
* Rely on Node.js 18 language features
* Other small changes
* Upgrade to tap@18
* Develop and test with typescript@5.2
* Rebuild lockfile

---------

Co-authored-by: Mark Wubben <mark@novemberborn.net>
2023-11-06 21:46:04 +01:00
Mark Wubben
03a6723a11
Drop Node.js 16, upgrade minimal 18 and 20, test 21
* Drop support for Node.js 16
* Change expected Node.js 18 to 18.18
* Change expected Node.js 20 to 20.8
* Add Node.js 21 to the test matrix

* Change snapshot tests to compare decompressed bitstreams

The snapshots are compressed differently in Node.js 21. The compression has been stable for many versions but that is not a guarantee, see https://github.com/nodejs/node/issues/50138 for background.

Change tests to compare the decompressed data instead.
2023-10-23 13:56:52 +02:00
Mark Wubben
e24cdb6eb8 Expect TypeScript 5.1 (or newer)
XO isn't ready for this but it works, just some warnings locally during npm install.
2023-07-02 17:26:14 +02:00
Mark Wubben
6cc417bb42 Set up CI to test the new watcher
* Run tests on macOS
* Use Bash shell
* Run watch mode test separately and serially
2023-07-02 15:14:36 +02:00
Mark Wubben
8f1d308a29 Drop support for Node.js 14, update minimal requirements for 16, 18 and 20
Require the latest versions with new features.
2023-06-21 18:02:15 +02:00
Mark Wubben
784ca4c381
Dependency updates and so forth
* Test against typescript@5.0

* Default to Node.js 20

* Upgrade XO

* Add reporter logs for Node.js 20

* Update dev dependencies

* Reduce timeouts in reporter tests

This may cause CI failures especially on Windows, but we do waste a lot of time with these tests.

* Inline slash dependency

We need it available in CJS but the package is now ESM only. It's more bothersome to remember to not upgrade the dependency than to inline it.

* Update dependencies

* Rebuild lockfile

* Use latest Codecov action
2023-05-24 16:58:05 +02:00
Florian Vogt
5bf01a32db
Add Node.js 20 to test matrix
Run tests against newly released node v20
2023-04-19 10:59:27 +02:00
Mark Wubben
da3d2bcffb
Update dependencies and such
* Upgrade XO and reformat

* Update dev dependencies

* Test with TypeScript 4.9

* Update dependencies

* Pin latest node@18 for Volta

* Use npm@9

* Rebuild lockfile

* Select Node.js version from Volta pin in most CI jobs

* Only pin npm when testing for lockfile churn; ensure npm@8 for Node.js 14
2023-01-15 21:33:33 +01:00
Mark Wubben
48dcafa2b8
Update dependencies; more type tweaks
* Upgrade to TypeScript 4.8. Keep testing with 4.7 to ensure backwards compatibility.
* Update dev dependencies
* Update dependencies
* Tweak type definitions used in exports map for TS 4.8 compatibility. Duplicate and export shared types where appropriate, but don't export from the other export file since it seems to confuse things.
2022-09-25 17:06:16 +02:00
Mark Wubben
14061be6be
Merge branch 'v4-hotfix' 2022-08-26 14:49:12 +02:00
Mark Wubben
7c48c4d919
Update to node@18.8 and npm@8.18 and fix test suite 2022-08-25 16:15:10 +02:00
Mark Wubben
fd7f0ed776 Require Node.js 14.19, 16.15 or 18 2022-07-10 18:46:32 +02:00
Mark Wubben
02f4e27b53
Rely on TypeScript 4.7 and update integration + tests
* Only test against TypeScript 4.7

* Move type definitions to entrypoints/

Only TS 4.7 will resolve them now, but it's cleaner.

* Use @sindresorhus/tsconfig

* Fix test TypeScript files, make compilable and lintable

* Use tsc directly, instead of tsd

* Add *.cts versions of type tests

* Reorganize type tests

* Use tsc directly, avoid npx, print actual version

Somehow `npx tsc` was pointing at an older version. Possibly the binstubs are corrupted in CI… somehow.
2022-07-10 18:30:04 +02:00
Eric Cornelissen
3f17f8c7d6
Update checksum algorithm for lockfile churn detection 2022-06-06 14:05:44 +02:00
Mark Wubben
6240393375
Assorted updates
* Remove Node.js 17 support
* Add Node.js 18 support
* Use latest everything for CI tasks
* Configure Volta for managing development versions
* Update dependencies
2022-06-02 15:03:45 +02:00
Forresst
b208d143ad
Link to correct branch in ava-docs repository 2022-06-02 14:08:58 +02:00
Rebecca Stevens
c218a210a1
Fix TS 4.7 compatibility
Export type definitions for CJS imports, make the existing ESM definitions discoverable by TS 4.7.

Co-authored-by: Mark Wubben <mark@novemberborn.net>
2022-06-02 14:04:40 +02:00
Mark Wubben
419047b8ff
Update dependencies
* Update dev dependencies

* Update dependencies

* Remove concurrency limit for internal tests

* Test with TypeScript 4.6

* Update XO and fix formatting
2022-03-06 16:52:21 +01:00
Mark Wubben
0187779a0b
Dependency updates
* Fix reference to chalk's color level

* Upgrade XO and reformat

* Update dev dependencies

* Update production dependencies

* Rebuild lockfile

* CI: Continue when 'npm ls' errors in TypeScript compatibility job
2022-01-02 19:38:30 +01:00
Mark Wubben
29024af705 Test compatibility with TypeScript 4.5 2022-01-01 19:44:19 +01:00
Mark Wubben
42fc7cee81
Upgrade to npm 8 and remove backwards-compatible lockfile 2021-10-31 15:47:04 +01:00
Mark Wubben
9bc5e44025
Update issue template to link to our TypeScript project 2021-10-24 17:04:13 +02:00
Mark Wubben
d9706b09cb Test with Node.js 17 2021-10-20 13:19:47 +02:00
Mark Wubben
678f9caf22 Remove Babel support, and therefore enhanced assertions
This removes support for @ava/babel. Since enhanced assertions (power assert)
are provided through that package this also removes support for those. Same for
improper throws detection.

@ava/babel has seen no meaningful contributions since it was released at the
start of 2020. It's not clear how we'd make it work with ESM. It's clearer if we
can recommend tools like @babel/register and otherwise focus on plain Node.js &
TypeScript support.
2021-09-19 17:15:03 +02:00
Mark Wubben
e8a497696a
Update all the things
* Test lockfile using npm 7.23

* Workflow updates

* Update codecov action
* Cache npm dependencies
* Simplify checkout

* Bump minimal Node.js versions

These should allow us to add features over AVA 4's lifetime using newly
available Node.js APIs.

* Update dev dependencies

* Update to TypeScript 4.4 and latest tsd

* Upgrade XO and reformat

* Update dependencies

* Rebuild lockfile

* Run XO with Node.js 16

It fails on older Node.js versions.
2021-09-12 22:00:38 +02:00
Mark Wubben
9a9a5d466d
Update supported Node.js versions
* Drop Node.js 15 support

* Require at least Node.js 12.22

* Test package-lock modifications with npm@7.11

* Upgrade to tap@15 for Node.js 16 compatibility

* Add Node.js 16 support
2021-04-26 15:58:34 +02:00
Mark Wubben
9cedc9770d
Update dependencies and such
* Update dev dependencies

* Test with TypeScript 4.2

* Upgrade to XO 0.38

* Update dependencies

* Rebuild lockfile

* Assume npm 7.6.3
2021-03-16 15:58:48 +01:00
Mark Wubben
41e9473a01 Use main branch 2021-02-07 16:54:28 +01:00
Mark Wubben
6429581eb5 Test against TypeScript 4.1, not any older version 2021-02-07 16:54:28 +01:00
Mark Wubben
022d3a96c6 Use npm@7 2021-02-07 16:54:28 +01:00
Mark Wubben
5dd22c9632 Target Node.js 12.20, 14.15 and 15 2021-02-07 16:54:28 +01:00
Jesse Savary
378f605f26
Fix link to Discussions in issue template 2021-01-29 18:23:45 +01:00
Mark Wubben
0f69088c02
Update dependencies
* Update dev dependencies

* Update dependencies

* Validate lockfile using npm 6.14.10

* Rebuild lockfile

* Rebuild snapshots
2021-01-01 17:04:19 +01:00
Mark Wubben
711bcf268c
Housekeeping
* Advertise GitHub Discussions
* Update issue template
* Remove badges from readme
* Avoid linting for every run in the test matrix. Lint with Node.js 10 only. This reduces check noise in GitHub PRs.
* Update GitHub Actions
2020-12-31 15:48:55 +01:00
Mark Wubben
73015e57f6
Update dependencies & fix reporter tests
* Fix reporter tests under Node.js 15

Fixes #2616.

* Update dev dependencies

* Update XO

* Update TypeScript

* Update dependencies

* Rebuild package lock

* Churn reporter logs
2020-11-30 16:27:48 +01:00
Mark Wubben
c3e43bf636 Test with Node.js 15 2020-10-31 17:08:58 +01:00
Mark Wubben
2b41fb032b Test compatibility with TypeScript 4.0 2020-08-22 14:52:08 +02:00
Mark Wubben
f06c506d32
Update dependencies; supported Node.js versions
* Remove Node.js 13 support

* Denote Node.js 12.17 as the future minimal Node.js 12 version

* Update dev dependencies

* Upgrade XO

* Update dependencies

* Rebuild lockfile
2020-06-14 16:38:58 +02:00
Mark Wubben
34a134a314
Update dependencies
* Update dev dependencies

* Test with TypeScript 3.9

* Update dependencies

This includes a major update to Concordance, letting us print missing or extraneous objects in diffs with extra depth. See concordancejs/concordance#62.

* Rebuild package-lock
2020-05-24 17:36:43 +02:00
Mark Wubben
c8f31a39ca Test AVA using AVA 2020-05-05 15:07:07 +02:00
Mark Wubben
a9c165f6c9
Tweak codecov uploads 2020-04-27 12:04:38 +02:00
zackschuster
2e7c76b85c
Node.js 14 compatibility
* Fix circular dependency
* Add to CI matrix
* Update supported engines
* Add reporter logs
2020-04-25 13:27:55 +02:00
Mark Wubben
fc93098219 Test our type definitions with multiple TS versions
To avoid accidentally breaking compatibility with older TypeScript versions, test with each supported version.
2020-04-13 15:00:59 +02:00
Mark Wubben
f07eec80e9
Reorganize tests
* Rename test directory to test-tap

This makes way for new, self-hosted tests inside a test directory

* Rewrite TypeScript test to use tsd; move into test-d directory

* Simplify npm run scripts

* Invoke nyc ourselves

* Don't store tap and nyc configuration in package.json

* Remove stdout / stderr from reporter test fixtures

These've ended up being flaky on Windows all of a sudden.
2020-03-29 15:07:59 +02:00
Mark Wubben
3195eb8e73 Simplify Codecov setup 2020-03-21 17:38:03 +01:00