From fa37073fd9a4cc7dea2d783bac7055fb35a3d787 Mon Sep 17 00:00:00 2001 From: Gar Date: Wed, 7 Aug 2024 08:23:52 -0700 Subject: [PATCH] fix: proper workspace tap config for tap18 and up --- lib/content/package-json.hbs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/content/package-json.hbs b/lib/content/package-json.hbs index 98e7d591..d9523151 100644 --- a/lib/content/package-json.hbs +++ b/lib/content/package-json.hbs @@ -42,7 +42,10 @@ "standard": {{{ del }}}, "tap": { {{#if workspacePaths}} - "test-ignore": "^({{ join workspacePaths "|" }})/", + "exclude": {{#if tap18}}[ + "{{ join workspaceGlobs "," }}" + ]{{else }}{{{ del }}}{{/if}}, + "test-ignore": {{#if tap18}}{{{ del }}}{{else}}"^({{ join workspacePaths "|" }})/"{{/if}}, {{/if}} {{#if typescript}} {{#if tap16}}