diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-02-21 08:35:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-21 08:35:25 -0500 |
commit | 9166d8a4e9b0f611b1e06c9e339b44f7c450d72e (patch) | |
tree | 1c4efed34b9c5bebc1f42fdaa8ad28dcca30896a /cli/tools/registry/mod.rs | |
parent | 061ee9d38cdf8ff0ade2373c1e075f841c534c47 (diff) |
feat(publish): type check on publish (#22506)
Supersedes #22501 and also fixes that issue.
Diffstat (limited to 'cli/tools/registry/mod.rs')
-rw-r--r-- | cli/tools/registry/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tools/registry/mod.rs b/cli/tools/registry/mod.rs index 951ac4944..aea5dc634 100644 --- a/cli/tools/registry/mod.rs +++ b/cli/tools/registry/mod.rs @@ -28,6 +28,7 @@ use crate::args::jsr_url; use crate::args::CliOptions; use crate::args::Flags; use crate::args::PublishFlags; +use crate::args::TypeCheckMode; use crate::cache::LazyGraphSourceParser; use crate::cache::ParsedSourceCache; use crate::factory::CliFactory; @@ -768,6 +769,8 @@ async fn build_and_check_graph_for_publish( lib: cli_options.ts_type_lib_window(), log_ignored_options: false, reload: cli_options.reload_flag(), + // force type checking this + type_check_mode: TypeCheckMode::Local, }, ) .await?; |