From ded6afccf21f0f6804fa5ff8bd7e5be6275092d5 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 24 Apr 2024 14:52:05 -0400 Subject: fix(publish): --dry-publish should error for gitignored excluded files (#23540) Files that were gitignored only were not included in the diagnostic. --- tests/specs/jsr/excluded_export_module/publish.out | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/specs/jsr/excluded_export_module') diff --git a/tests/specs/jsr/excluded_export_module/publish.out b/tests/specs/jsr/excluded_export_module/publish.out index bcf94e521..bb17a3305 100644 --- a/tests/specs/jsr/excluded_export_module/publish.out +++ b/tests/specs/jsr/excluded_export_module/publish.out @@ -3,14 +3,14 @@ Checking for slow types in the public API... Check file:///[WILDLINE]/main.ts error[excluded-module]: module in package's module graph was excluded from publishing --> [WILDLINE]excluded_file1.ts - = hint: remove the module from 'exclude' and/or 'publish.exclude' in the config file + = hint: remove the module from 'exclude' and/or 'publish.exclude' in the config file or use 'publish.exclude' with a negative glob to unexclude from gitignore info: excluded modules referenced via a package export will error at runtime due to not existing in the package docs: https://jsr.io/go/excluded-module error[excluded-module]: module in package's module graph was excluded from publishing --> [WILDLINE]excluded_file2.ts - = hint: remove the module from 'exclude' and/or 'publish.exclude' in the config file + = hint: remove the module from 'exclude' and/or 'publish.exclude' in the config file or use 'publish.exclude' with a negative glob to unexclude from gitignore info: excluded modules referenced via a package export will error at runtime due to not existing in the package docs: https://jsr.io/go/excluded-module -- cgit v1.2.3