summaryrefslogtreecommitdiff
path: root/tests/specs/jsr
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-04-24 14:52:05 -0400
committerGitHub <noreply@github.com>2024-04-24 18:52:05 +0000
commitded6afccf21f0f6804fa5ff8bd7e5be6275092d5 (patch)
treed4f8131e6dc8e702bf3841be8525adde7afdba75 /tests/specs/jsr
parentda70608700274392a8f134735ac3701eecd6cfa7 (diff)
fix(publish): --dry-publish should error for gitignored excluded files (#23540)
Files that were gitignored only were not included in the diagnostic.
Diffstat (limited to 'tests/specs/jsr')
-rw-r--r--tests/specs/jsr/excluded_export_module/publish.out4
1 files changed, 2 insertions, 2 deletions
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