From 0bde2cc596147ece4c10c2d7e5a56de47edfa9cb Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Thu, 7 Dec 2023 23:36:52 +0000 Subject: [PATCH 1/2] fix types discovery for node10 projects --- package.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package.json b/package.json index 5af76e3..0eccbac 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,13 @@ "resolutions": { "type-fest": "^3.0.0" }, + "typesVersions": { + "*": { + "*": [ + "dist/*" + ] + } + }, "dependencies": { "fixturify-project": "^6.0.0", "fs-extra": "^9.1.0", From 6b83c5dd232a30144b18606099a2bf4aa8292a04 Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Thu, 4 Jan 2024 13:12:52 +0000 Subject: [PATCH 2/2] fix double type discovery in test file --- tests/test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.ts b/tests/test.ts index 525fca0..38b18cd 100644 --- a/tests/test.ts +++ b/tests/test.ts @@ -1,6 +1,6 @@ import { Project } from 'fixturify-project'; -import { Scenarios } from '../'; -import type { PreparedApp } from '../'; +import { Scenarios } from '../dist/'; +import type { PreparedApp } from '../dist/'; import Qunit from 'qunit'; import execa from 'execa';