Skip to content

Commit fa37073

Browse files
committed
fix: proper workspace tap config for tap18 and up
1 parent 6a2200d commit fa37073

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: lib/content/package-json.hbs

+4-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@
4242
"standard": {{{ del }}},
4343
"tap": {
4444
{{#if workspacePaths}}
45-
"test-ignore": "^({{ join workspacePaths "|" }})/",
45+
"exclude": {{#if tap18}}[
46+
"{{ join workspaceGlobs "," }}"
47+
]{{else }}{{{ del }}}{{/if}},
48+
"test-ignore": {{#if tap18}}{{{ del }}}{{else}}"^({{ join workspacePaths "|" }})/"{{/if}},
4649
{{/if}}
4750
{{#if typescript}}
4851
{{#if tap16}}

0 commit comments

Comments
 (0)