summaryrefslogtreecommitdiff
path: root/tests/specs/jsr/excluded_export_module/publish.out
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-03-21 14:42:23 -0700
committerGitHub <noreply@github.com>2024-03-21 21:42:23 +0000
commitf96f167dc8cc733b43d67801f568b2d546bc2fb9 (patch)
tree5647b96beaa94da10bf73a29a55bdf7ed2018a62 /tests/specs/jsr/excluded_export_module/publish.out
parentffbcad3800ef086bad791c1c640b62fd72d60172 (diff)
feat(unstable/publish): error when a package's module is excluded from publishing (#22948)
Closes #22657
Diffstat (limited to 'tests/specs/jsr/excluded_export_module/publish.out')
-rw-r--r--tests/specs/jsr/excluded_export_module/publish.out18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/specs/jsr/excluded_export_module/publish.out b/tests/specs/jsr/excluded_export_module/publish.out
new file mode 100644
index 000000000..bcf94e521
--- /dev/null
+++ b/tests/specs/jsr/excluded_export_module/publish.out
@@ -0,0 +1,18 @@
+Check file:///[WILDLINE]/main.ts
+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
+
+ 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
+
+ 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: Found 2 problems