Commit 58f7435
authored
feat(cli): print working dir in grey in stack traces, relative paths in check + compile output (#31194)
Before:
<img width="928" height="135" alt="Screenshot 2025-11-05 at 11 43 03 AM"
src="https://github.com/user-attachments/assets/f956a65c-d509-46ff-b8e4-58827dea3ca0"
/>
After:
<img width="927" height="130" alt="Screenshot 2025-11-05 at 11 44 39 AM"
src="https://github.com/user-attachments/assets/fb6aed36-8ca7-4744-81f1-425f7fbac5e5"
/>1 parent cf4379d commit 58f7435
File tree
298 files changed
+618
-499
lines changed- cli
- args
- lib
- rt
- tools
- lint
- test
- util
- runtime
- tests
- integration
- specs
- bench
- allow_all
- allow_none
- bench_formatting
- clear_timeout
- collect
- config_permissions/empty
- default_ts
- exit_sanitizer
- fail
- file_protocol
- filter
- finally_timeout
- ignore_permissions
- ignore
- interval
- iterations
- json_output
- load_unload
- meta
- multifile_summary
- no_run
- only
- overloads
- package_json
- pass
- unhandled_rejection
- unresolved_promise
- workspace
- cache/fetch_multiple
- check
- ambient_modules
- byonm_import_missing_types
- bytes_and_text_imports
- check_types_dts
- check_workspace
- cjs_default_export
- css_import
- dts_importing_non_existent
- erasable_syntax_only
- export_equals_declaration_file
- globbing
- import_non_existent_in_remote
- isolated_declarations
- jsdoc_import_decl
- jsx_automatic_no_explicit_import_source
- jsx_import_source_not_in_graph
- jsx_import_source_types_config
- jsx_import_source_types
- jsx_not_checked/jsx_not_checked
- module_not_found_npm_pkg_entrypoint
- module_not_found_npm_pkg_internal
- module_not_found
- no_implicit_override
- npm_pkg_empty_main_entry
- package_json_auto_install
- package_json
- reject_string_in_readable_stream_from
- remote_missing_override
- special_specifiers
- ts_in_npm_pkg
- typecheck_doc_duplicate_identifiers
- typecheck_doc_failure
- typecheck_doc_in_markdown
- typecheck_doc_success
- types_resolved_relative_config
- unstable_suggestion
- use_unknown_in_catch_variables
- wasm
- with_tsconfig_json
- workspace_compiler_option_types
- workspace
- compile
- bytes_and_text_imports
- allow_import_dynamic_branch
- basic
- case_insensitive_building
- default_v8_flags
- ffi
- global_npm_cache_implicit_read_permission
- include
- data_files
- symlink_twice
- package_json_type
- sloppy_imports
- two_times_compile_include_all
- coverage
- all_files_with_ignore_directives
- blob_url
- coverage_raw_data_only
- data_url
- default_reports
- filter_doc_testing_urls
- no_files_after_filter
- set_coverage_in_env_var
- init/lib
- jsr
- excluded_export_module
- no_unused_params
- subset_type_graph
- lint/sloppy_imports_dts
- lockfile
- no_lock
- run_overlapping_npm_constraints
- node
- cjs_dynamic_import_esm_with_exports
- dynamic_import_and_require_dual
- types_req_export
- types_versions
- npm
- check_all_local
- check_package_file_dts_dmts_dcts/file_dts_dmts_dcts
- check_pkg_json_import
- cjs_import_dual
- cjs_internal_types_default_export
- compare_globals
- dual_cjs_esm
- cjs_referrer
- ts_referrer_type_cjs
- esm_import_cjs_default
- file_specifier
- no_types_cjs
- no_types_in_conditional_exports
- node_modules_import_auto
- pkg_json_imports
- types_d_ext/d_ext
- types_entry_value_not_exists/types_entry_value_not_exists
- types_exports_import_types/types_exports_import_types
- types_general
- types_no_types_entry/types_no_types_entry
- publish
- allow_slow_types
- banned_triple_slash_directives
- bare_node_builtins
- byonm_dep
- config_file_jsonc
- config_flag
- dry_run_gitignored
- dry_run
- excluded_deno_jsonc
- has_slow_types
- invalid_path
- javascript_decl_file
- jsr_jsonc
- jsx_tsx
- missing_constraint_jsx_import_source
- missing_constraint
- missing_license
- node_specifier
- npm_file_specifier
- npm_workspace
- package_json
- raw_imports
- set_version/success
- sloppy_imports
- special_specifiers
- successful
- unanalyzable_dynamic_import
- workspace
- run
- config/config
- cts
- cjs_import_cts
- import_export_equals
- empty_typescript
- ext_flag_takes_precedence_over_extension
- import_attributes_type_check
- import_map_parent_dir
- jsx_import_source
- jsx_precompile
- lazy_dynamic_imports
- patch
- reference_types_error_vendor_dir
- reference_types_error
- run_coverage
- sloppy_imports
- ts_type_only_import
- ts_without_extension
- type_headers_deno_types
- unconfigured
- wasm_module
- cjs_importing
- import_file_not_found
- import_named_export_not_found
- table_global_memory
- workspaces/member_not_match_constraint
- test
- captured_output
- clear_timeout
- collect
- config_permissions/empty
- default_ts
- doc_duplicate_identifier
- doc_failure
- doc_only
- doc_permission_respected
- doc_success
- doc_ts_declare_global
- doc_ts_expect_error
- doc_ts_namespace_decl
- doc
- exit_sanitizer
- fail_fast
- fail_with_contain_unicode_filename
- fail
- file_protocol
- filter
- finally_timeout
- hide_empty_suites
- ignore_persmissions
- ignore
- interval
- junit_multiple_test_files
- junit_nested
- junit
- load_unload
- markdown_full_block_names
- markdown_ignore_html_comment
- markdown_ts_expect_error
- markdown_windows
- markdown
- meta
- no_color
- no_run
- only
- ops_sanitizer_closed_inside_started_before
- ops_sanitizer_multiple_timeout_tests_no_trace
- ops_sanitizer_multiple_timeout_tests
- ops_sanitizer_tcp
- ops_sanitizer_timeout_failure
- ops_sanitizer_unstable
- opt_out_top_level_exclude_via_test_unexclude
- overloads
- package_json_basic_auto_install
- package_json_basic
- parallel_flag_with_env_variables
- parallel_flag
- parallel_output
- pass
- resource_sanitizer
- sanitizer_trace_ops_catch_error
- shuffle_with_seed
- test_with_config2
- test_with_config
- test_with_glob_config
- type_check_with_doc
- unhandled_rejection
- workspace
- workspaces
- lockfile
- patch
- testdata
- compile/node_modules_symlink_outside
- publish
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
298 files changed
+618
-499
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
760 | 760 | | |
761 | 761 | | |
762 | 762 | | |
| 763 | + | |
763 | 764 | | |
764 | 765 | | |
765 | 766 | | |
| |||
1523 | 1524 | | |
1524 | 1525 | | |
1525 | 1526 | | |
1526 | | - | |
1527 | 1527 | | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
1528 | 1536 | | |
1529 | 1537 | | |
1530 | 1538 | | |
| |||
1551 | 1559 | | |
1552 | 1560 | | |
1553 | 1561 | | |
1554 | | - | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
1555 | 1566 | | |
1556 | 1567 | | |
1557 | 1568 | | |
| |||
1615 | 1626 | | |
1616 | 1627 | | |
1617 | 1628 | | |
| 1629 | + | |
1618 | 1630 | | |
1619 | 1631 | | |
1620 | 1632 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
658 | 664 | | |
659 | 665 | | |
660 | 666 | | |
| |||
1135 | 1141 | | |
1136 | 1142 | | |
1137 | 1143 | | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
1138 | 1147 | | |
1139 | 1148 | | |
1140 | 1149 | | |
| |||
1154 | 1163 | | |
1155 | 1164 | | |
1156 | 1165 | | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
1157 | 1169 | | |
1158 | 1170 | | |
1159 | 1171 | | |
1160 | 1172 | | |
1161 | 1173 | | |
| 1174 | + | |
1162 | 1175 | | |
1163 | 1176 | | |
1164 | 1177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
353 | 354 | | |
354 | 355 | | |
355 | 356 | | |
| |||
462 | 463 | | |
463 | 464 | | |
464 | 465 | | |
| 466 | + | |
465 | 467 | | |
466 | 468 | | |
467 | 469 | | |
| |||
503 | 505 | | |
504 | 506 | | |
505 | 507 | | |
506 | | - | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
507 | 511 | | |
508 | 512 | | |
509 | 513 | | |
| |||
657 | 661 | | |
658 | 662 | | |
659 | 663 | | |
| 664 | + | |
| 665 | + | |
660 | 666 | | |
661 | 667 | | |
662 | 668 | | |
| |||
694 | 700 | | |
695 | 701 | | |
696 | 702 | | |
697 | | - | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
698 | 706 | | |
699 | 707 | | |
700 | 708 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
| 561 | + | |
562 | 562 | | |
563 | | - | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
564 | 568 | | |
565 | 569 | | |
566 | 570 | | |
| |||
619 | 623 | | |
620 | 624 | | |
621 | 625 | | |
622 | | - | |
| 626 | + | |
623 | 627 | | |
624 | 628 | | |
625 | 629 | | |
626 | | - | |
627 | | - | |
| 630 | + | |
| 631 | + | |
628 | 632 | | |
629 | 633 | | |
630 | 634 | | |
631 | 635 | | |
632 | 636 | | |
633 | | - | |
| 637 | + | |
634 | 638 | | |
635 | 639 | | |
636 | 640 | | |
637 | | - | |
| 641 | + | |
| 642 | + | |
638 | 643 | | |
639 | 644 | | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
640 | 654 | | |
641 | 655 | | |
642 | 656 | | |
643 | 657 | | |
644 | | - | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
645 | 662 | | |
646 | 663 | | |
647 | 664 | | |
648 | 665 | | |
649 | 666 | | |
650 | | - | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
651 | 671 | | |
652 | 672 | | |
653 | | - | |
| 673 | + | |
| 674 | + | |
654 | 675 | | |
655 | 676 | | |
656 | 677 | | |
657 | 678 | | |
658 | 679 | | |
659 | 680 | | |
660 | | - | |
| 681 | + | |
661 | 682 | | |
662 | 683 | | |
663 | 684 | | |
664 | 685 | | |
665 | 686 | | |
| 687 | + | |
666 | 688 | | |
667 | 689 | | |
668 | 690 | | |
| |||
671 | 693 | | |
672 | 694 | | |
673 | 695 | | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
685 | 708 | | |
686 | 709 | | |
687 | 710 | | |
| |||
706 | 729 | | |
707 | 730 | | |
708 | 731 | | |
709 | | - | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
710 | 736 | | |
711 | 737 | | |
712 | 738 | | |
| |||
816 | 842 | | |
817 | 843 | | |
818 | 844 | | |
819 | | - | |
| 845 | + | |
820 | 846 | | |
821 | 847 | | |
822 | 848 | | |
| |||
935 | 961 | | |
936 | 962 | | |
937 | 963 | | |
938 | | - | |
| 964 | + | |
939 | 965 | | |
940 | 966 | | |
941 | 967 | | |
| |||
947 | 973 | | |
948 | 974 | | |
949 | 975 | | |
950 | | - | |
| 976 | + | |
951 | 977 | | |
952 | 978 | | |
953 | 979 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1030 | 1030 | | |
1031 | 1031 | | |
1032 | 1032 | | |
| 1033 | + | |
1033 | 1034 | | |
1034 | 1035 | | |
1035 | 1036 | | |
| |||
0 commit comments