├── .aspect ├── bazelrc │ ├── .gitignore │ ├── BUILD.bazel │ ├── bazel7.bazelrc │ ├── convenience.bazelrc │ ├── correctness.bazelrc │ ├── debug.bazelrc │ ├── javascript.bazelrc │ └── performance.bazelrc ├── cli │ └── config.yaml └── workflows │ ├── bazelrc │ └── config.yaml ├── .bazelignore ├── .bazeliskrc ├── .bazelrc ├── .bazelversion ├── .editorconfig ├── .gitattributes ├── .github └── workflows │ ├── build.yaml │ ├── install_snippet.sh │ ├── release.yml │ ├── tidy_up_repository.sh │ └── weekly_tag.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── .prettierignore ├── .prettierrc.cjs ├── ASPECT_COMMUNITY_LICENSE ├── BUILD.bazel ├── CONTRIBUTING.md ├── LICENSE ├── MODULE.bazel ├── README.md ├── WORKSPACE ├── bazel ├── BUILD.bazel ├── README.md ├── action_cache │ ├── BUILD.bazel │ ├── action_cache.pb.go │ ├── action_cache.proto │ └── action_cache_pb.d.ts ├── analysis │ ├── BUILD.bazel │ ├── analysis_v2.pb.go │ ├── analysis_v2.proto │ └── analysis_v2_pb.d.ts ├── buildeventstream │ ├── BUILD.bazel │ ├── build_event_stream.pb.go │ ├── build_event_stream.proto │ └── build_event_stream_pb.d.ts ├── command_line │ ├── BUILD.bazel │ ├── command_line.pb.go │ ├── command_line.proto │ └── command_line_pb.d.ts ├── failure_details │ ├── BUILD.bazel │ ├── failure_details.pb.go │ ├── failure_details.proto │ └── failure_details_pb.d.ts ├── flags │ ├── BUILD.bazel │ ├── flags.pb.go │ ├── flags.proto │ └── flags_pb.d.ts ├── go │ ├── BUILD.bazel │ └── write_go_generated_source_files.bzl ├── include │ ├── BUILD.bazel │ ├── go.MODULE.bazel │ ├── llvm.MODULE.bazel │ ├── proto.MODULE.bazel │ └── python.MODULE.bazel ├── invocation_policy │ ├── BUILD.bazel │ ├── invocation_policy.pb.go │ ├── invocation_policy.proto │ └── invocation_policy_pb.d.ts ├── options │ ├── BUILD.bazel │ ├── option_filters.pb.go │ ├── option_filters.proto │ └── option_filters_pb.d.ts ├── packages_metrics │ ├── BUILD.bazel │ ├── package_load_metrics.pb.go │ ├── package_load_metrics.proto │ └── package_load_metrics_pb.d.ts ├── query │ ├── BUILD.bazel │ ├── build.pb.go │ ├── build.proto │ └── build_pb.d.ts └── ts │ ├── BUILD.bazel │ └── defs.bzl ├── buildinfo ├── BUILD.bazel ├── build_info.go ├── build_info_test.go └── stamp.go ├── cmd ├── aspect │ ├── BUILD.bazel │ ├── analyzeprofile │ │ ├── BUILD.bazel │ │ └── analyzeprofile.go │ ├── aquery │ │ ├── BUILD.bazel │ │ └── aquery.go │ ├── build │ │ ├── BUILD.bazel │ │ └── build.go │ ├── canonicalizeflags │ │ ├── BUILD.bazel │ │ └── canonicalizeflags.go │ ├── clean │ │ ├── BUILD.bazel │ │ └── clean.go │ ├── config │ │ ├── BUILD.bazel │ │ └── config.go │ ├── configure │ │ ├── BUILD.bazel │ │ └── configure.go │ ├── coverage │ │ ├── BUILD.bazel │ │ └── coverage.go │ ├── cquery │ │ ├── BUILD.bazel │ │ └── cquery.go │ ├── docs │ │ ├── BUILD.bazel │ │ └── docs.go │ ├── dump │ │ ├── BUILD.bazel │ │ └── dump.go │ ├── fetch │ │ ├── BUILD.bazel │ │ └── fetch.go │ ├── help │ │ ├── BUILD.bazel │ │ ├── flags_as_proto.go │ │ └── help.go │ ├── info │ │ ├── BUILD.bazel │ │ └── info.go │ ├── init │ │ ├── BUILD.bazel │ │ └── init.go │ ├── license │ │ ├── BUILD.bazel │ │ └── license.go │ ├── lint │ │ ├── BUILD.bazel │ │ └── lint.go │ ├── main.go │ ├── mobileinstall │ │ ├── BUILD.bazel │ │ └── mobileinstall.go │ ├── mod │ │ ├── BUILD.bazel │ │ └── mod.go │ ├── outputs │ │ ├── BUILD.bazel │ │ └── outputs.go │ ├── print │ │ ├── BUILD.bazel │ │ └── print.go │ ├── printaction │ │ ├── BUILD.bazel │ │ └── printaction.go │ ├── query │ │ ├── BUILD.bazel │ │ └── query.go │ ├── root │ │ ├── BUILD.bazel │ │ └── root.go │ ├── run │ │ ├── BUILD.bazel │ │ └── run.go │ ├── shutdown │ │ ├── BUILD.bazel │ │ └── shutdown.go │ ├── sync │ │ ├── BUILD.bazel │ │ └── sync.go │ ├── test │ │ ├── BUILD.bazel │ │ └── test.go │ └── version │ │ ├── BUILD.bazel │ │ └── version.go └── docgen │ ├── BUILD.bazel │ └── main.go ├── docs ├── BUILD.bazel ├── _config.yml ├── aspect.md ├── aspect_analyze-profile.md ├── aspect_aquery.md ├── aspect_build.md ├── aspect_canonicalize-flags.md ├── aspect_clean.md ├── aspect_config.md ├── aspect_configure.md ├── aspect_coverage.md ├── aspect_cquery.md ├── aspect_docs.md ├── aspect_dump.md ├── aspect_fetch.md ├── aspect_info.md ├── aspect_init.md ├── aspect_license.md ├── aspect_lint.md ├── aspect_mod.md ├── aspect_outputs.md ├── aspect_print.md ├── aspect_print_action.md ├── aspect_query.md ├── aspect_run.md ├── aspect_shutdown.md ├── aspect_test.md ├── aspect_version.md ├── bazelrc │ ├── .gitignore │ ├── BUILD.bazel │ ├── bazel5.bazelrc │ ├── bazel6.bazelrc │ ├── bazel7.bazelrc │ ├── ci.bazelrc │ ├── convenience.bazelrc │ ├── correctness.bazelrc │ ├── debug.bazelrc │ ├── doc.go │ ├── embed.go │ ├── java.bazelrc │ ├── javascript.bazelrc │ └── performance.bazelrc ├── command_list.bzl └── plugins │ ├── BUILD.bazel │ ├── README.md │ ├── package.json │ ├── plugins.d.ts │ ├── plugins.json │ └── plugins.schema.json ├── examples └── predefined-queries │ ├── .aspect │ └── cli │ │ └── config.yaml │ ├── .bazeliskrc │ ├── .bazelversion │ ├── .gitignore │ ├── README.md │ ├── WORKSPACE │ └── foo │ └── BUILD.bazel ├── gazelle ├── BUILD.bazel ├── bzl │ ├── BUILD.bazel │ ├── gazelle.go │ └── tests │ │ ├── bazel_tools │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ └── foo.bzl │ │ ├── defaultvisibility │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── foo.bzl │ │ └── nested │ │ │ └── dir │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ └── bar.bzl │ │ ├── empty │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ └── foo.bzl │ │ ├── external │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ └── foo.bzl │ │ ├── import │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── bar.bzl │ │ └── foo.bzl │ │ ├── multidir │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── foo.bzl │ │ └── nested │ │ │ └── dir │ │ │ ├── BUILD.out │ │ │ └── bar.bzl │ │ ├── nobuildfiles │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ └── foo.bzl │ │ ├── private │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── foo.bzl │ │ ├── nested │ │ │ └── private │ │ │ │ ├── BUILD.out │ │ │ │ ├── bar.bzl │ │ │ │ └── inside │ │ │ │ └── internal │ │ │ │ ├── BUILD.out │ │ │ │ └── bar.bzl │ │ └── private │ │ │ ├── BUILD.out │ │ │ └── bar.bzl │ │ ├── relative_import │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── bar.bzl │ │ ├── foo.bzl │ │ └── nested │ │ │ └── dir │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── bar.bzl │ │ │ └── foo.bzl │ │ ├── simple │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ └── foo.bzl │ │ ├── tests │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── foo.bzl │ │ └── foo_tests.bzl │ │ └── workspace_name │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── bar.bzl │ │ └── foo.bzl ├── common │ ├── BUILD.bazel │ ├── bazel.go │ ├── cache │ │ ├── BUILD.bazel │ │ ├── cache.go │ │ ├── configurer.go │ │ ├── disk.go │ │ └── noop.go │ ├── directives.go │ ├── git │ │ ├── BUILD.bazel │ │ ├── gitignore.go │ │ └── gitignore_test.go │ ├── jq.go │ ├── progress │ │ ├── BUILD.bazel │ │ └── progress.go │ ├── regex.go │ ├── rules.go │ ├── set.go │ ├── starlark │ │ ├── BUILD.bazel │ │ ├── eval.go │ │ ├── eval_test.go │ │ ├── glob.go │ │ ├── rule.go │ │ ├── stdlib │ │ │ ├── BUILD.bazel │ │ │ └── path.go │ │ └── utils │ │ │ ├── BUILD.bazel │ │ │ ├── err.go │ │ │ ├── lib.go │ │ │ ├── util.go │ │ │ └── util_test.go │ ├── treesitter │ │ ├── BUILD.bazel │ │ ├── filters.go │ │ ├── grammars │ │ │ ├── BUILD.bazel │ │ │ ├── golang │ │ │ │ ├── BUILD.bazel │ │ │ │ └── binding.go │ │ │ ├── grammars.bzl │ │ │ ├── java │ │ │ │ ├── BUILD.bazel │ │ │ │ └── binding.go │ │ │ ├── json │ │ │ │ ├── BUILD.bazel │ │ │ │ └── binding.go │ │ │ ├── kotlin │ │ │ │ ├── BUILD.bazel │ │ │ │ └── binding.go │ │ │ ├── starlark │ │ │ │ ├── BUILD.bazel │ │ │ │ └── binding.go │ │ │ ├── tsx │ │ │ │ ├── BUILD.bazel │ │ │ │ └── binding.go │ │ │ └── typescript │ │ │ │ ├── BUILD.bazel │ │ │ │ └── binding.go │ │ ├── parser.go │ │ ├── queries.go │ │ ├── query.go │ │ └── traversal.go │ └── walk.go ├── deps.bzl ├── gazelle.bzl ├── js │ ├── .bazelrc │ ├── BUILD.bazel │ ├── README.md │ ├── config.go │ ├── configure.go │ ├── fix.go │ ├── generate.go │ ├── generate_test.go │ ├── kinds.go │ ├── language.go │ ├── node │ │ ├── BUILD.bazel │ │ ├── package.go │ │ ├── paths.go │ │ ├── paths_test.go │ │ ├── std_modules.go │ │ ├── std_modules.js │ │ └── std_modules_list.go │ ├── parser │ │ ├── BUILD.bazel │ │ ├── parser.go │ │ └── parser_test.go │ ├── pnpm │ │ ├── BUILD.bazel │ │ ├── parser.go │ │ ├── parser_test.go │ │ ├── parser_v5.go │ │ ├── parser_v6.go │ │ ├── parser_v9.go │ │ └── workspace.go │ ├── proto │ │ ├── BUILD.bazel │ │ └── proto.go │ ├── resolve.go │ ├── target.go │ ├── tests │ │ ├── README.md │ │ ├── declare_module │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── import │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── lib.d.ts │ │ │ │ └── other.ts │ │ │ ├── lib │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── lib.d.ts │ │ │ ├── main.ts │ │ │ ├── self-import │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── lib.d.ts │ │ │ │ └── self-importer.ts │ │ │ └── types │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── lib-a.d.ts │ │ ├── declare_module_types │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── addon │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── more-a.d.ts │ │ │ │ ├── jest-dom │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── more-jeset-dom.d.ts │ │ │ │ └── jquery │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── more-jquery.d.ts │ │ │ ├── lib │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lib-a.d.ts │ │ │ │ └── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lib-b.d.ts │ │ │ ├── main.ts │ │ │ └── pnpm-lock.yaml │ │ ├── dynamic_import │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── lib.ts │ │ │ └── main.ts │ │ ├── gazelle_disable │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ └── sub │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── disable-inherited │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── ignored2.ts │ │ │ │ ├── disable-overriden │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── not-ignored.ts │ │ │ │ └── ignored1.ts │ │ ├── gazelle_disable_conflict │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ └── ignored.ts │ │ ├── gazelle_exclude_directive │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── foo.ig.ts │ │ │ ├── main.ts │ │ │ ├── subdir-included │ │ │ │ ├── included-lib.ts │ │ │ │ └── sub-ignored.ts │ │ │ ├── subdir │ │ │ │ ├── file1.ig.ts │ │ │ │ ├── ignored.ts │ │ │ │ ├── sub-ignored.ts │ │ │ │ └── sub-not-ignored.ts │ │ │ ├── subproject-included │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ └── sub-ignored.ts │ │ │ └── subproject │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── file2.ig.ts │ │ │ │ └── sub-ignored.ts │ │ ├── gazelle_generate_build │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── default │ │ │ │ └── src │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lib1.ts │ │ │ ├── directory │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── a1 │ │ │ │ │ │ ├── BUILD.out │ │ │ │ │ │ └── lib-a1.ts │ │ │ │ │ ├── a2 │ │ │ │ │ │ ├── BUILD.out │ │ │ │ │ │ └── lib-a2.ts │ │ │ │ │ └── lib-a.ts │ │ │ │ ├── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── b1 │ │ │ │ │ │ └── lib-b1.ts │ │ │ │ │ └── lib-b.ts │ │ │ │ ├── lib.ts │ │ │ │ ├── now-empty-sub │ │ │ │ │ ├── BUILD.in │ │ │ │ │ └── src │ │ │ │ │ │ ├── BUILD.out │ │ │ │ │ │ └── a.ts │ │ │ │ └── now-empty │ │ │ │ │ ├── BUILD.in │ │ │ │ │ └── BUILD.out │ │ │ ├── main.ts │ │ │ └── none │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a │ │ │ │ ├── a1 │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lib-a1.ts │ │ │ │ ├── a2 │ │ │ │ │ └── lib-a2.ts │ │ │ │ └── lib-a.ts │ │ │ │ ├── b │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── b1 │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lib-b1.ts │ │ │ │ └── lib-b.ts │ │ │ │ └── lib1.ts │ │ ├── gazelle_generation_mode │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── default │ │ │ │ └── src │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lib1.ts │ │ │ ├── directory │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── a1 │ │ │ │ │ │ ├── BUILD.out │ │ │ │ │ │ └── lib-a1.ts │ │ │ │ │ ├── a2 │ │ │ │ │ │ ├── BUILD.out │ │ │ │ │ │ └── lib-a2.ts │ │ │ │ │ └── lib-a.ts │ │ │ │ ├── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── b1 │ │ │ │ │ │ └── lib-b1.ts │ │ │ │ │ └── lib-b.ts │ │ │ │ ├── lib.ts │ │ │ │ ├── now-empty-sub │ │ │ │ │ ├── BUILD.in │ │ │ │ │ └── src │ │ │ │ │ │ ├── BUILD.out │ │ │ │ │ │ └── a.ts │ │ │ │ └── now-empty │ │ │ │ │ ├── BUILD.in │ │ │ │ │ └── BUILD.out │ │ │ ├── main.ts │ │ │ └── none │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a │ │ │ │ ├── a1 │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lib-a1.ts │ │ │ │ ├── a2 │ │ │ │ │ └── lib-a2.ts │ │ │ │ └── lib-a.ts │ │ │ │ ├── b │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── b1 │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lib-b1.ts │ │ │ │ └── lib-b.ts │ │ │ │ └── lib1.ts │ │ ├── gazelle_generation_mode_legacy │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── expectedExitCode.txt │ │ │ ├── expectedStderr.txt │ │ │ └── main.ts │ │ ├── gazelle_ignore_directive │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ └── sub │ │ │ │ └── ignoreme.ts │ │ ├── gazelle_keep │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── lib.ts │ │ │ ├── main.ts │ │ │ └── tsconfig.json │ │ ├── gazelle_map_kind_directive │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── empty │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a.spec.ts │ │ │ │ └── a.ts │ │ │ ├── exists │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── e.spec.ts │ │ │ │ └── e.ts │ │ │ ├── kind_override │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── m.spec.ts │ │ │ │ └── m.ts │ │ │ ├── mix │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── m.spec.ts │ │ │ │ └── m.ts │ │ │ └── now_empty │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ ├── groups_add_remove_rules │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.po.ts │ │ │ └── main.ts │ │ ├── groups_configs │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── a │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a-alib.ts │ │ │ │ ├── a-root.ts │ │ │ │ ├── a.ts │ │ │ │ └── other.ts │ │ │ ├── b │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── b-alib.ts │ │ │ │ ├── b-blib.ts │ │ │ │ ├── b-other.ts │ │ │ │ ├── b-root.ts │ │ │ │ ├── b.spec.ts │ │ │ │ └── b.ts │ │ │ ├── c │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── c-other.ts │ │ │ │ ├── c-root.ts │ │ │ │ └── c.ts │ │ │ ├── main-root.ts │ │ │ ├── main.e2e.ts │ │ │ └── main.ts │ │ ├── groups_deps │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── component-a │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a.po.ts │ │ │ │ ├── a.spec.ts │ │ │ │ └── a.ts │ │ │ ├── component-b │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── b.e2e.ts │ │ │ │ ├── b.po.ts │ │ │ │ └── b.ts │ │ │ ├── main.e2e.ts │ │ │ ├── main.ts │ │ │ └── utils │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── u.spec.ts │ │ │ │ └── u.ts │ │ ├── groups_simple_files │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.po.ts │ │ │ ├── main.spec.ts │ │ │ └── main.ts │ │ ├── ignore_config_files │ │ │ ├── .test-bazelignore │ │ │ ├── .test-gitignore │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ ├── modules.ts │ │ │ │ └── a.ts │ │ │ ├── r1.ts │ │ │ ├── r2.ts │ │ │ ├── root.starstar-ig.ts │ │ │ ├── subdir │ │ │ │ ├── a-wild.ts │ │ │ │ ├── direct-ig.ts │ │ │ │ ├── generated.ts │ │ │ │ ├── index.ts │ │ │ │ ├── modules.ts │ │ │ │ │ └── a.ts │ │ │ │ ├── nested │ │ │ │ │ ├── .test-gitignore │ │ │ │ │ ├── generated.ts │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── modules.ts │ │ │ │ │ │ └── a.ts │ │ │ │ │ ├── x.nested-ig.ts │ │ │ │ │ └── y.starstar-ig.ts │ │ │ │ ├── not.nested-ig.ts │ │ │ │ ├── star-ig.ts │ │ │ │ └── y.starstar-ig.ts │ │ │ ├── subdir2 │ │ │ │ ├── b-wild.ts │ │ │ │ ├── direct-ig.ts │ │ │ │ ├── modules.ts │ │ │ │ ├── not.nested-ig.ts │ │ │ │ ├── star-ig.ts │ │ │ │ └── y.starstar-ig.ts │ │ │ ├── subtarget-disabled │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── nested │ │ │ │ │ ├── star-ig.ts │ │ │ │ │ └── y.starstar-ig.ts │ │ │ │ ├── star-ig.ts │ │ │ │ └── y.starstar-ig.ts │ │ │ └── subtarget │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── c-wild.ts │ │ │ │ ├── generated.ts │ │ │ │ ├── index.ts │ │ │ │ ├── nested │ │ │ │ ├── star-ig.ts │ │ │ │ └── y.starstar-ig.ts │ │ │ │ ├── r1.ts │ │ │ │ ├── r2.ts │ │ │ │ ├── s1.ts │ │ │ │ ├── star-ig.ts │ │ │ │ └── y.starstar-ig.ts │ │ ├── ignore_import_directive │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ ├── subdir │ │ │ │ ├── other.ts │ │ │ │ └── sub.scss │ │ │ └── subproject │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── a.ts │ │ ├── incremental_lazy │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── arguments.txt │ │ │ ├── libs │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ ├── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ ├── never-run │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ └── to-update │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── package.json │ │ │ │ │ └── sub │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── index.ts │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ ├── pnpm-workspace.yaml │ │ │ └── tsconfig.json │ │ ├── isolated_typecheck │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── disabled │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── d.ts │ │ │ │ └── tsconfig.json │ │ │ ├── inherited │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── i.ts │ │ │ │ └── tsconfig.json │ │ │ ├── main.ts │ │ │ ├── sub │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── s.ts │ │ │ ├── tsconfig.json │ │ │ └── unspecified │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── tsconfig.json │ │ │ │ └── w.ts │ │ ├── node_native │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main-es6.ts │ │ │ ├── main.ts │ │ │ └── pnpm-lock.yaml │ │ ├── npm_changed_deps │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── lib.ts │ │ │ ├── main.ts │ │ │ └── pnpm-lock.yaml │ │ ├── npm_link_all_packages │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ └── pnpm-lock.yaml │ │ ├── npm_package_deps │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── exports-gen │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── package.json │ │ │ ├── exports-ignore │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── lib1.js │ │ │ │ └── package.json │ │ │ ├── exports-js │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── bin │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── main.js │ │ │ │ ├── lib │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lib.js │ │ │ │ ├── lib2 │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lib2.js │ │ │ │ └── package.json │ │ │ ├── exports-single │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── bin │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── main.js │ │ │ │ └── package.json │ │ │ ├── exports-ts │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── src │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── main.ts │ │ │ ├── main-custom_ts │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── start.ts │ │ │ ├── main-js-gen │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── package.json │ │ │ ├── main-js │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── start.js │ │ │ ├── main-ts │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── start.ts │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ ├── pnpm-workspace.yaml │ │ │ ├── types-js-gen │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── package.json │ │ │ ├── types-js │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ ├── start.js │ │ │ │ └── types.d.ts │ │ │ ├── types-non-rootDir │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ │ └── start.ts │ │ │ │ ├── tsconfig.json │ │ │ │ └── types.d.ts │ │ │ ├── typings-js-gen │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── package.json │ │ │ └── typings-js │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ ├── start.js │ │ │ │ └── types.d.ts │ │ ├── npm_package_deps_lib │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── exports-gen │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── package.json │ │ │ ├── exports-ignore │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── lib1.js │ │ │ │ └── package.json │ │ │ ├── exports-js │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── bin │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── main.js │ │ │ │ ├── lib │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lib.js │ │ │ │ ├── lib2 │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lib2.js │ │ │ │ └── package.json │ │ │ ├── exports-single │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── bin │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── main.js │ │ │ │ └── package.json │ │ │ ├── exports-ts │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── src │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── main.ts │ │ │ ├── main-custom_ts │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── start.ts │ │ │ ├── main-js-gen │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── package.json │ │ │ ├── main-js │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── start.js │ │ │ ├── main-ts │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── start.ts │ │ │ ├── not-found │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── src │ │ │ │ │ └── main.ts │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ ├── pnpm-workspace.yaml │ │ │ ├── types-js-gen │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── package.json │ │ │ ├── types-js │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ ├── start.js │ │ │ │ └── types.d.ts │ │ │ ├── typings-js-gen │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── package.json │ │ │ └── typings-js │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ ├── start.js │ │ │ │ └── types.d.ts │ │ ├── npm_package_deps_tsconfig │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── exports │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ │ └── main.ts │ │ │ │ └── tsconfig.json │ │ │ ├── main-custom_ts │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ ├── start.ts │ │ │ │ └── tsconfig.json │ │ │ ├── main-inherit-tsconfig │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── start.ts │ │ │ ├── main │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ ├── start.ts │ │ │ │ └── tsconfig.json │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ ├── pnpm-workspace.yaml │ │ │ ├── scenario1 │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ │ ├── index.ts │ │ │ │ │ └── types │ │ │ │ │ │ └── index.ts │ │ │ │ └── tsconfig.json │ │ │ └── tsconfig.json │ │ ├── npm_package_lib_target_name │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── lib │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ ├── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ └── c │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ └── pnpm-workspace.yaml │ │ ├── npm_package_target_enabled │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── lib │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ ├── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ └── c │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ └── pnpm-workspace.yaml │ │ ├── npm_package_target_name │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── lib │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ ├── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ └── c │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ └── pnpm-workspace.yaml │ │ ├── npm_package_target_referenced │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── lib │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ ├── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ └── c │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ └── pnpm-workspace.yaml │ │ ├── npm_simple_deps │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── deep-import.ts │ │ │ ├── dynamic_import │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── d.ts │ │ │ ├── dynamic_import_tsx │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── d.tsx │ │ │ ├── dynamic_type_import │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── type-imports.ts │ │ │ ├── dynamic_type_import_tsx │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── type-imports.tsx │ │ │ ├── main.ts │ │ │ ├── pnpm-lock.yaml │ │ │ ├── subdir │ │ │ │ └── subdir.ts │ │ │ └── subproject │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── subproject.ts │ │ ├── npm_simple_deps_cjs │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── deep-import.ts │ │ │ ├── main.ts │ │ │ ├── pnpm-lock.yaml │ │ │ ├── subdir │ │ │ │ └── subdir.ts │ │ │ └── subproject │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── subproject.ts │ │ ├── npm_types_package │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.test.ts │ │ │ ├── main.ts │ │ │ ├── only_types │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── types.d.ts │ │ │ ├── pnpm-lock.yaml │ │ │ ├── transpiled │ │ │ │ ├── BUILD.out │ │ │ │ └── types.ts │ │ │ ├── triple_slash │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── defs.d.ts │ │ │ │ └── ref.ts │ │ │ └── triple_slash_syntaxes │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── ref.ts │ │ ├── parse_errors │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── bad.ts │ │ │ ├── expectedStdout.txt │ │ │ ├── globals.d.ts │ │ │ ├── good.ts │ │ │ ├── subbuild │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── good.ts │ │ │ │ └── subbuild-bad.ts │ │ │ └── subdir │ │ │ │ ├── BUILD.out │ │ │ │ ├── good.ts │ │ │ │ └── subdir-bad.ts │ │ ├── pnpm_project_refs_lock5 │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── app │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ └── package.json │ │ │ ├── lib-non-wksp │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── index.ts │ │ │ │ └── package.json │ │ │ ├── lib │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── data.json │ │ │ │ ├── index.ts │ │ │ │ ├── package.json │ │ │ │ └── types.ts │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ └── pnpm-workspace.yaml │ │ ├── pnpm_project_refs_lock6 │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── app │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ └── package.json │ │ │ ├── lib-non-wksp │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── index.ts │ │ │ │ └── package.json │ │ │ ├── lib │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── data.json │ │ │ │ ├── index.ts │ │ │ │ ├── package.json │ │ │ │ └── types.ts │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ └── pnpm-workspace.yaml │ │ ├── pnpm_project_refs_lock9 │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── app │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ └── package.json │ │ │ ├── lib-non-wksp │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── index.ts │ │ │ │ └── package.json │ │ │ ├── lib │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── data.json │ │ │ │ ├── index.ts │ │ │ │ ├── package.json │ │ │ │ └── types.ts │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ └── pnpm-workspace.yaml │ │ ├── pnpm_workspace │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── app │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── main.ts │ │ │ │ │ └── package.json │ │ │ │ ├── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── main.ts │ │ │ │ │ └── package.json │ │ │ │ └── c │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── main.ts │ │ │ │ │ └── package.json │ │ │ ├── lib │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ ├── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ ├── c │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ └── no-direct │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ ├── pnpm-workspace.yaml │ │ │ └── tsconfig.json │ │ ├── pnpm_workspace_rerooted │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── app │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── main.ts │ │ │ │ │ └── package.json │ │ │ │ ├── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── main.ts │ │ │ │ │ └── package.json │ │ │ │ └── c │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── main.ts │ │ │ │ │ └── package.json │ │ │ ├── lib │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ ├── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ ├── c │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ └── no-direct │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── root │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ ├── pnpm-lock.yaml │ │ │ │ └── pnpm-workspace.yaml │ │ ├── resolve_directive │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ └── subdir │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── lib.ts │ │ ├── resolve_order │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── base │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── test.ts │ │ │ ├── js_resolve │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── test.ts │ │ │ ├── node-overridden │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── test.ts │ │ │ ├── package │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── test.ts │ │ │ ├── pnpm-lock.yaml │ │ │ ├── relative-genrule │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── test.ts │ │ │ ├── relative-js_resolve │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── test.ts │ │ │ ├── relative-resolve │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── test.ts │ │ │ └── resolve │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── test.ts │ │ ├── rules_conflicting_name │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── a.spec.ts │ │ │ ├── a.ts │ │ │ ├── expectedExitCode.txt │ │ │ └── expectedStderr.txt │ │ ├── rules_conflicting_name_mapped_kind │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── b.ts │ │ │ ├── expectedExitCode.txt │ │ │ └── expectedStderr.txt │ │ ├── rules_conflicting_name_nojs │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ └── subdir │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ ├── rules_ordering │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── existing-reordered │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── c.spec.ts │ │ │ │ └── c.ts │ │ │ ├── existing │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── b.spec.ts │ │ │ │ └── b.ts │ │ │ ├── gone │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ │ ├── main.ts │ │ │ ├── new │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a.spec.ts │ │ │ │ └── a.ts │ │ │ └── standalone │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── s.spec.ts │ │ │ │ └── s.ts │ │ ├── simple_dts_only │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── lib.d.ts │ │ │ ├── mix │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a.ts │ │ │ │ └── lib.d.ts │ │ │ ├── now_dts_only │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── lib.d.ts │ │ │ │ └── lib.js │ │ │ ├── was_dts_only │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── lib.ts │ │ │ └── with_tsconfig │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── lib.d.ts │ │ │ │ ├── lib.js │ │ │ │ ├── now_dts_only │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── lib.d.ts │ │ │ │ └── lib.js │ │ │ │ └── tsconfig.json │ │ ├── simple_dts_only_dep │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── dts-js │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a.d.ts │ │ │ │ ├── a.js │ │ │ │ └── b.js │ │ │ ├── dts-ts-js │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── c.d.ts │ │ │ │ ├── c.js │ │ │ │ └── d.ts │ │ │ ├── js │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── e.js │ │ │ │ └── f.js │ │ │ ├── main.ts │ │ │ └── ts │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── g.ts │ │ │ │ ├── h.d.ts │ │ │ │ └── h.js │ │ ├── simple_empty │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── mapped_kind │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ │ ├── other_rule │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ │ ├── subdir_withfile │ │ │ │ └── test.txt │ │ │ ├── subpkg │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ │ ├── subpkg_withfile │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── test.txt │ │ │ ├── was_nonempty │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ │ ├── with-generated │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ │ ├── with_keep_file │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ │ └── with_keep_rule │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ ├── simple_extra_files │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── extra.json │ │ │ ├── main.ts │ │ │ ├── styles.css │ │ │ └── subdir │ │ │ │ ├── index.ts │ │ │ │ ├── subextra.json │ │ │ │ └── substyles.css │ │ ├── simple_file │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ └── main.ts │ │ ├── simple_file_exts │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── non-typed.cjs │ │ │ ├── non-typed.js │ │ │ ├── non-typed.mjs │ │ │ ├── non-typed.spec.js │ │ │ ├── non-typed.spec.mjs │ │ │ ├── non-typed.ts.js │ │ │ ├── non-x-typed.jsx │ │ │ ├── non-x-typed.spec.jsx │ │ │ ├── only-typed.d.cts │ │ │ ├── only-typed.d.mts │ │ │ ├── only-typed.d.ts │ │ │ ├── opt-ins │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── non-typed.cjs │ │ │ │ ├── non-typed.js │ │ │ │ ├── non-typed.mjs │ │ │ │ ├── non-typed.spec.cjs │ │ │ │ ├── non-typed.spec.js │ │ │ │ ├── non-typed.spec.mjs │ │ │ │ ├── non-typed.ts.js │ │ │ │ ├── non-x-typed.jsx │ │ │ │ └── non-x-typed.spec.jsx │ │ │ ├── suffix.a.spec.ts │ │ │ ├── suffix.a.ts │ │ │ ├── suffix.ad.ts │ │ │ ├── suffix.spec.not.ts │ │ │ ├── suffix.spec.ts.spec.ts │ │ │ ├── suffix.spec.ts.ts │ │ │ ├── suffix.ts.spec.ts │ │ │ ├── suffix.ts.ts │ │ │ ├── typed.cts │ │ │ ├── typed.mts │ │ │ ├── typed.spec.cts │ │ │ ├── typed.spec.mts │ │ │ ├── typed.spec.ts │ │ │ ├── typed.ts │ │ │ ├── x-typed.spec.tsx │ │ │ └── x-typed.tsx │ │ ├── simple_globs │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── e2e │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a.ts │ │ │ │ └── r.ts │ │ │ ├── mix │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a.foo.ts │ │ │ │ ├── a.mock.ts │ │ │ │ ├── a.spec.ts │ │ │ │ ├── a.ts │ │ │ │ ├── test-lib │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── faker.ts │ │ │ │ │ ├── normally.mock.ts │ │ │ │ │ ├── normally.spec.ts │ │ │ │ │ └── normally.test.ts │ │ │ │ └── tests_override │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── b.spec.ts │ │ │ │ │ ├── b.test.ts │ │ │ │ │ ├── b.ts │ │ │ │ │ ├── no.mock.ts │ │ │ │ │ ├── no.test.ts │ │ │ │ │ └── sub │ │ │ │ │ └── c.test.ts │ │ │ ├── other.ts │ │ │ ├── srcs │ │ │ │ └── main.ts │ │ │ └── tests │ │ │ │ └── main.ts │ │ ├── simple_globs_keep │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── mix │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a.foo.ts │ │ │ │ ├── a.mock.ts │ │ │ │ ├── a.spec.ts │ │ │ │ └── a.ts │ │ │ ├── other.ts │ │ │ ├── partial_keep │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a.foo.ts │ │ │ │ ├── a.spec.ts │ │ │ │ ├── a.ts │ │ │ │ └── b.spec.ts │ │ │ ├── srcs │ │ │ │ └── main.ts │ │ │ └── tests │ │ │ │ └── main.ts │ │ ├── simple_import_disabled │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── disabled │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── a.ts │ │ │ │ ├── data │ │ │ │ │ ├── a.yaml │ │ │ │ │ ├── b.yaml │ │ │ │ │ └── c.json │ │ │ │ └── sub1 │ │ │ │ │ └── b.ts │ │ │ └── main.ts │ │ ├── simple_import_generated │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ ├── subbuild-disabled │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ │ └── subbuild │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ ├── simple_imports │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── exts │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── both-dts.d.cts │ │ │ │ ├── both-dts.d.mts │ │ │ │ ├── both-dts.d.ts │ │ │ │ ├── both-ts.cts │ │ │ │ ├── both-ts.mts │ │ │ │ ├── both-ts.ts │ │ │ │ ├── both-tsx.tsx │ │ │ │ ├── common-dts.d.cts │ │ │ │ ├── common-ts.cts │ │ │ │ ├── either-dts.d.ts │ │ │ │ ├── either-ts.ts │ │ │ │ ├── module-dts.d.mts │ │ │ │ └── module-ts.mts │ │ │ ├── lib.ts │ │ │ ├── main.ts │ │ │ ├── side-effects │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── index.ts │ │ │ ├── subdir │ │ │ │ ├── index.ts │ │ │ │ ├── lib.ts │ │ │ │ ├── parent-ref.ts │ │ │ │ ├── sd.d.ts │ │ │ │ └── self-ref.ts │ │ │ ├── subproject-backref │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── index.ts │ │ │ │ └── lib.ts │ │ │ ├── subproject-index │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── index.ts │ │ │ ├── subproject │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── index.ts │ │ │ │ ├── lib.ts │ │ │ │ └── sp.d.ts │ │ │ ├── syntaxes │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── index.ts │ │ │ ├── t.d.ts │ │ │ └── types │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── index.ts │ │ ├── simple_imports_cjs │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── exts │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── both-ts.cts │ │ │ │ ├── both-ts.mts │ │ │ │ ├── both-ts.ts │ │ │ │ ├── common-ts.cts │ │ │ │ ├── either-ts.ts │ │ │ │ └── module-ts.mts │ │ │ ├── lib.ts │ │ │ ├── main.ts │ │ │ ├── side-effects │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── index.ts │ │ │ ├── subdir │ │ │ │ ├── index.ts │ │ │ │ ├── lib.ts │ │ │ │ ├── parent-ref.ts │ │ │ │ └── sd.d.ts │ │ │ ├── subproject-backref │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── lib.ts │ │ │ ├── subproject-index │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── index.ts │ │ │ ├── subproject │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── index.ts │ │ │ │ ├── lib.ts │ │ │ │ └── sp.d.ts │ │ │ ├── syntaxes │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── index.ts │ │ │ ├── t.d.ts │ │ │ └── types │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── index.ts │ │ ├── simple_imports_dynamic │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── exts │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── both-dts.d.cts │ │ │ │ ├── both-dts.d.mts │ │ │ │ ├── both-dts.d.ts │ │ │ │ ├── both-ts.cts │ │ │ │ ├── both-ts.mts │ │ │ │ ├── both-ts.ts │ │ │ │ ├── common-dts.d.cts │ │ │ │ ├── common-ts.cts │ │ │ │ ├── either-dts.d.ts │ │ │ │ ├── either-ts.ts │ │ │ │ ├── module-dts.d.mts │ │ │ │ └── module-ts.mts │ │ │ ├── lib.ts │ │ │ ├── main.ts │ │ │ ├── subdir │ │ │ │ ├── index.ts │ │ │ │ ├── lib.ts │ │ │ │ └── parent-ref.ts │ │ │ ├── subproject-backref │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── lib.ts │ │ │ ├── subproject │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── index.ts │ │ │ │ └── lib.ts │ │ │ └── syntaxes │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── index.ts │ │ ├── simple_json_import │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── data.json │ │ │ ├── main.ts │ │ │ ├── subdir │ │ │ │ ├── data.json │ │ │ │ ├── data2.json │ │ │ │ ├── oddpaths.ts │ │ │ │ └── sub.ts │ │ │ └── subproject │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── data.json │ │ │ │ ├── lib.spec.ts │ │ │ │ ├── lib.ts │ │ │ │ └── lib2.ts │ │ ├── simple_module │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── MODULE.bazel │ │ │ ├── WORKSPACE │ │ │ └── main.ts │ │ ├── simple_module_repo_name │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── MODULE.bazel │ │ │ ├── WORKSPACE │ │ │ └── main.ts │ │ ├── simple_new_file │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ └── new.ts │ │ ├── simple_rule_naming_directives │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── inherited │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── inh.spec.ts │ │ │ │ └── inh.ts │ │ │ ├── main.spec.ts │ │ │ └── main.ts │ │ ├── tests_initial │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.spec.ts │ │ │ └── main.ts │ │ ├── tests_new │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.spec.ts │ │ │ ├── main.ts │ │ │ └── new.spec.ts │ │ ├── tests_nolib │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ └── main.spec.ts │ │ ├── tests_simple │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.spec.ts │ │ │ ├── main.test.ts │ │ │ ├── main.ts │ │ │ └── subproject-index │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── index.ts │ │ │ │ └── subdir.spec.ts │ │ ├── tests_subdir │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ └── tests │ │ │ │ └── main.spec.ts │ │ ├── tests_subproject │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ └── tests │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── main.spec.ts │ │ ├── ts_proto_library │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ ├── pnpm-workspace.yaml │ │ │ ├── proto │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── eliza.proto │ │ │ ├── proto_dep │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── eliza2.proto │ │ │ ├── proto_disabled_proto │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── foo.proto │ │ │ ├── proto_disabled_ts │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── foo.proto │ │ │ ├── proto_exists_both │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── eliza.proto │ │ │ ├── proto_exists_other │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── eliza.proto │ │ │ ├── proto_exists_proto │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── eliza.proto │ │ │ ├── proto_multiple │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── bar.proto │ │ │ │ └── foo.proto │ │ │ ├── proto_now_empty │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ │ ├── proto_renamed_both │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── bar.proto │ │ │ ├── proto_renamed_proto │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── bar.proto │ │ │ └── src │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── index.ts │ │ ├── ts_proto_library_deps │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── a │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── lib.proto │ │ │ └── b │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── lib.proto │ │ ├── ts_proto_library_ignore │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ └── lib.proto │ │ ├── ts_proto_library_imported │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── lib.proto │ │ │ ├── main.ts │ │ │ └── sub │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── index.ts │ │ ├── tsconfig_attrs_inherited │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── extends │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ └── tsconfig.json │ │ │ ├── main.ts │ │ │ ├── overrides │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ ├── removed │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── main.ts │ │ │ │ │ └── tsconfig.json │ │ │ │ └── tsconfig.json │ │ │ └── tsconfig.json │ │ ├── tsconfig_baseurl │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ ├── inheriter │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── lib │ │ │ │ │ │ └── d │ │ │ │ │ │ │ ├── BUILD.in │ │ │ │ │ │ │ ├── BUILD.out │ │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── main.ts │ │ │ │ │ └── tsconfig.json │ │ │ │ ├── lib │ │ │ │ │ ├── a │ │ │ │ │ │ ├── BUILD.in │ │ │ │ │ │ ├── BUILD.out │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── b │ │ │ │ │ │ ├── BUILD.in │ │ │ │ │ │ ├── BUILD.out │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── c │ │ │ │ │ │ ├── BUILD.in │ │ │ │ │ │ ├── BUILD.out │ │ │ │ │ │ ├── first │ │ │ │ │ │ └── c1.ts │ │ │ │ │ │ └── second │ │ │ │ │ │ └── c2.ts │ │ │ │ └── projects │ │ │ │ │ └── p1 │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── nested_lib │ │ │ │ │ └── a │ │ │ │ │ │ ├── BUILD.in │ │ │ │ │ │ ├── BUILD.out │ │ │ │ │ │ └── a.ts │ │ │ │ │ └── tsconfig.json │ │ │ └── tsconfig.json │ │ ├── tsconfig_composite │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ └── tsconfig.json │ │ ├── tsconfig_custom_file_name │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── custom_file │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── bazel.tsconfig.json │ │ │ │ └── index.ts │ │ │ ├── default_file │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── index.ts │ │ │ │ └── tsconfig.json │ │ │ └── pnpm-lock.yaml │ │ ├── tsconfig_declaration_dir │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ ├── root │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ └── tsconfig.json │ │ │ └── tsconfig.json │ │ ├── tsconfig_deps │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── extends │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── tsconfig.json │ │ │ ├── extends_ignored │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── tsconfig.json │ │ │ ├── extends_npm │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── tsconfig.json │ │ │ ├── pnpm-lock.yaml │ │ │ ├── refs │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── tsconfig.json │ │ │ │ ├── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── tsconfig.json │ │ │ │ └── c │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── index.ts │ │ │ │ │ └── tsconfig.json │ │ │ ├── tsconfig.json │ │ │ └── types │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── tsconfig.json │ │ ├── tsconfig_disabled_manual │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ └── main.ts │ │ ├── tsconfig_emit_declaration_only │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ └── tsconfig.json │ │ ├── tsconfig_incremental │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ └── tsconfig.json │ │ ├── tsconfig_invalid │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── expectedStdout.txt │ │ │ ├── main.ts │ │ │ └── tsconfig.json │ │ ├── tsconfig_jsx │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── no-jsx │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── lib.tsx │ │ │ │ └── tsconfig.json │ │ │ ├── no-tsconfig │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── lib.tsx │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ ├── preserve │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── lib.tsx │ │ │ │ └── tsconfig.json │ │ │ ├── react-jsx │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── rjsx.tsx │ │ │ │ └── tsconfig.json │ │ │ └── react │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── no-jsx │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── s.ts │ │ │ │ ├── r.tsx │ │ │ │ ├── sub │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── s.tsx │ │ │ │ └── tsconfig.json │ │ ├── tsconfig_lax_json │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── not-src │ │ │ │ └── unused.ts │ │ │ ├── src │ │ │ │ └── main.ts │ │ │ └── tsconfig.json │ │ ├── tsconfig_manual │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── a │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── tsconfig.json │ │ │ ├── b │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── tsconfig.json │ │ │ ├── tsconfig.node.json │ │ │ └── tsconfig.web.json │ │ ├── tsconfig_noEmit │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── extender │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ └── tsconfig.json │ │ │ ├── main.ts │ │ │ └── tsconfig.json │ │ ├── tsconfig_nomore_configs │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ └── main.ts │ │ ├── tsconfig_optout │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── expectedStdout.txt │ │ │ ├── ignore_dirs │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── main.ts │ │ │ ├── ignore_tsconfig │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── main.ts │ │ │ ├── main.ts │ │ │ ├── subdir │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ ├── removed │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── main.ts │ │ │ │ │ └── tsconfig.json │ │ │ │ └── tsconfig.json │ │ │ └── tsconfig.json │ │ ├── tsconfig_outdir │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── extender │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ └── tsconfig.json │ │ │ ├── main.ts │ │ │ └── tsconfig.json │ │ ├── tsconfig_outdir_genfiles │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ └── tsconfig.json │ │ ├── tsconfig_paths │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── custom │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ ├── nested │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── test.ts │ │ │ │ └── tsconfig.json │ │ │ ├── fallback │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── f1.ts │ │ │ │ └── f2 │ │ │ │ │ └── a.ts │ │ │ ├── inheriter │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ └── tsconfig.json │ │ │ ├── lib │ │ │ │ ├── a │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── index.ts │ │ │ │ ├── b │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── index.ts │ │ │ │ └── c │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ ├── first │ │ │ │ │ └── c1.ts │ │ │ │ │ └── second │ │ │ │ │ └── c2.ts │ │ │ ├── overwriter │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ └── tsconfig.json │ │ │ ├── overwriter2 │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── src │ │ │ │ │ ├── main.ts │ │ │ │ │ └── overlib │ │ │ │ │ │ └── o.ts │ │ │ │ └── tsconfig.json │ │ │ ├── src │ │ │ │ └── main.ts │ │ │ └── tsconfig.json │ │ ├── tsconfig_pnpm_ref │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── extends │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.json │ │ │ ├── package.json │ │ │ ├── pnpm-lock.yaml │ │ │ ├── pnpm-workspace.yaml │ │ │ └── tools │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.json │ │ ├── tsconfig_pnpm_ref_rerooted │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── extends │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.json │ │ │ ├── locks │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ ├── pnpm-lock.yaml │ │ │ │ └── pnpm-workspace.yaml │ │ │ └── tools │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.json │ │ ├── tsconfig_rootdir │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── ignored.ts │ │ │ ├── src-prefix │ │ │ │ └── pre-src.ts │ │ │ ├── src │ │ │ │ └── main.ts │ │ │ ├── subconfig │ │ │ │ ├── not-me.ts │ │ │ │ └── tsconfig.json │ │ │ ├── subdir │ │ │ │ └── src │ │ │ │ │ └── sub-src.ts │ │ │ └── tsconfig.json │ │ ├── tsconfig_rootdirs │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── roots │ │ │ │ ├── en │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lang │ │ │ │ │ │ └── strings.ts │ │ │ │ └── fr │ │ │ │ │ ├── BUILD.in │ │ │ │ │ ├── BUILD.out │ │ │ │ │ └── lang │ │ │ │ │ └── strings.ts │ │ │ ├── src │ │ │ │ └── main.ts │ │ │ ├── src2 │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── main.ts │ │ │ │ └── tsconfig.json │ │ │ └── tsconfig.json │ │ ├── tsconfig_tsbuildinfo │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── main.ts │ │ │ └── tsconfig.json │ │ ├── tsconfig_tslib │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── index.ts │ │ │ ├── pnpm-lock.yaml │ │ │ └── tsconfig.json │ │ ├── validate_import_statements │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── expectedExitCode.txt │ │ │ ├── expectedStderr.txt │ │ │ ├── expectedStdout.txt │ │ │ └── main.ts │ │ ├── validate_import_statements_off │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ └── main.ts │ │ ├── validate_import_statements_warn │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── expectedStderr.txt │ │ │ └── main.ts │ │ └── visibility │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── WORKSPACE │ │ │ ├── a │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── a.po.ts │ │ │ ├── a.spec.ts │ │ │ └── alib.ts │ │ │ ├── b │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── b.po.ts │ │ │ ├── b.spec.ts │ │ │ └── blib.ts │ │ │ ├── main.po.ts │ │ │ ├── main.spec.ts │ │ │ └── main.ts │ └── typescript │ │ ├── BUILD.bazel │ │ ├── config.go │ │ ├── tests │ │ ├── base.tsconfig.json │ │ ├── extends-404.json │ │ ├── extends-base.json │ │ ├── extends-empty.json │ │ ├── extends-foo.json │ │ ├── extends-recursive.json │ │ ├── sourcegraph-svelt.json │ │ └── subdir │ │ │ ├── extends-base-paths.json │ │ │ └── extends-base.json │ │ ├── tsconfig.go │ │ └── tsconfig_test.go ├── kotlin │ ├── BUILD.bazel │ ├── README.md │ ├── configure.go │ ├── generate.go │ ├── imports.go │ ├── kotlin.go │ ├── kotlin_test.go │ ├── kotlinconfig │ │ ├── BUILD.bazel │ │ └── config.go │ ├── language.go │ ├── parser │ │ ├── BUILD.bazel │ │ ├── parser.go │ │ └── parser_test.go │ ├── resolver.go │ └── tests │ │ ├── bin │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── Hello.kt │ │ ├── PkgHello.kt │ │ ├── WORKSPACE │ │ └── lib.kt │ │ ├── deep_import │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── README.md │ │ ├── WORKSPACE │ │ ├── maven_install.json │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── deepimport │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ └── DeepImport.kt │ │ ├── gazelle_disable │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── main.kt │ │ └── sub │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── disable-inherited │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ └── ignored2.kt │ │ │ ├── disable-overriden │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ └── not-ignored.kt │ │ │ └── ignored1.kt │ │ ├── gazelle_disable_conflict │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ └── ignored.kt │ │ ├── gazelle_exclude_directive │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── foo.ig.kt │ │ ├── main.kt │ │ ├── subdir-included │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── included-lib.kt │ │ │ └── sub-ignored.kt │ │ ├── subdir │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── file1.ig.kt │ │ │ ├── ignored.kt │ │ │ ├── sub-ignored.kt │ │ │ └── sub-not-ignored.kt │ │ ├── subproject-included │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── main.kt │ │ │ └── sub-ignored.kt │ │ └── subproject │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── file2.ig.kt │ │ │ └── sub-ignored.kt │ │ ├── gcsutil │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ └── gcsutil.kt │ │ ├── ignore_config_files │ │ ├── .test-bazelignore │ │ ├── .test-gitignore │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── main.kt │ │ ├── r1.kt │ │ ├── r2.kt │ │ ├── sub1 │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── direct-ig.kt │ │ │ ├── index.kt │ │ │ ├── nested │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ ├── star-ig.kt │ │ │ │ └── y.starstar-ig.kt │ │ │ ├── r1.kt │ │ │ ├── r2.kt │ │ │ ├── s1.kt │ │ │ ├── star-ig.kt │ │ │ └── y.starstar-ig.kt │ │ └── sub2 │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── direct-ig.kt │ │ │ ├── index.kt │ │ │ ├── nested │ │ │ ├── .test-gitignore │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ ├── index.kt │ │ │ ├── x.nested-ig.kt │ │ │ └── y.starstar-ig.kt │ │ │ ├── not.nested-ig.kt │ │ │ ├── star-ig.kt │ │ │ └── y.starstar-ig.kt │ │ ├── local_deps │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── impt-star │ │ │ ├── BUILD.in │ │ │ ├── BUILD.out │ │ │ └── S.kt │ │ ├── impt │ │ │ ├── B.kt │ │ │ ├── BUILD.in │ │ │ └── BUILD.out │ │ ├── root.kt │ │ └── sub1 │ │ │ ├── A.kt │ │ │ ├── BUILD.in │ │ │ └── BUILD.out │ │ ├── native_deps │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ └── lib.kt │ │ ├── rules_conflicting_name │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── a.kt │ │ ├── expectedExitCode.txt │ │ └── expectedStderr.txt │ │ ├── rules_conflicting_name_mapped_kind │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── b.kt │ │ ├── expectedExitCode.txt │ │ └── expectedStderr.txt │ │ ├── rules_jvm-maven │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── README.md │ │ ├── WORKSPACE │ │ ├── maven_install.json │ │ └── src │ │ │ ├── main │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── example │ │ │ │ ├── compare │ │ │ │ ├── BUILD.in │ │ │ │ ├── BUILD.out │ │ │ │ └── Compare.kt │ │ │ │ └── myproject │ │ │ │ ├── App.kt │ │ │ │ ├── BUILD.in │ │ │ │ └── BUILD.out │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── myproject │ │ │ ├── AppTest.kt │ │ │ ├── BUILD.in │ │ │ └── BUILD.out │ │ ├── simple_empty_maven │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── lib.kt │ │ ├── libs.kts │ │ └── maven_install.json │ │ ├── simple_file │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── lib.kt │ │ └── libs.kts │ │ ├── simple_file2 │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ └── lib.kt │ │ ├── simple_module │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── MODULE.bazel │ │ ├── WORKSPACE │ │ ├── lib.kt │ │ └── libs.kts │ │ ├── simple_module_repo_name │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── MODULE.bazel │ │ ├── WORKSPACE │ │ ├── lib.kt │ │ └── libs.kts │ │ └── unknown_imports │ │ ├── BUILD.in │ │ ├── BUILD.out │ │ ├── WORKSPACE │ │ ├── expectedStdout.txt │ │ ├── lib.kt │ │ └── main.kt └── python │ ├── BUILD.bazel │ ├── unix.go │ └── windows.go ├── go.mod ├── go.sum ├── hooks ├── go-fmt.sh └── license_header ├── integration_tests ├── BUILD.bazel ├── aspect │ ├── BUILD.bazel │ ├── common.bats │ ├── configure_test.bats │ ├── flags_test.bats │ ├── help_test.bats │ ├── hints_test.bats │ ├── info_test.bats │ ├── init_test.bats │ ├── lint_test.bats │ ├── query_test.bats │ ├── reenter_test.bats │ └── version_test.bats ├── bats.bzl ├── bats_deps.bzl ├── bazel_binary.bzl └── runner.sh ├── nogo_config.json ├── package.json ├── patches ├── BUILD.bazel ├── bazelbuild_bazel-gazelle_aspect-cli.patch ├── bazelbuild_bazel-gazelle_aspect-fs-direntry.patch ├── bazelbuild_bazel-gazelle_aspect-gitignore.patch ├── bazelbuild_bazel-gazelle_aspect-walk-subdir.patch ├── bazelisk-two_segment_forks.patch ├── com_github_cloudflare_circl │ ├── fp25519.patch │ ├── fp448.patch │ ├── x25519.patch │ └── x448.patch ├── go-tree-sitter-cc_library.patch ├── rules_python-unfork-tree-sitter.patch └── toolchains_llvm.patch ├── pkg ├── aspect │ ├── analyzeprofile │ │ ├── BUILD.bazel │ │ └── analyzeprofile.go │ ├── aquery │ │ ├── BUILD.bazel │ │ ├── aquery.go │ │ └── aquery_test.go │ ├── build │ │ ├── BUILD.bazel │ │ ├── build.go │ │ └── build_test.go │ ├── canonicalizeflags │ │ ├── BUILD.bazel │ │ └── canonicalizeflags.go │ ├── clean │ │ ├── BUILD.bazel │ │ ├── clean.go │ │ └── clean_test.go │ ├── config │ │ ├── BUILD.bazel │ │ └── config.go │ ├── configure │ │ ├── BUILD.bazel │ │ ├── configure.go │ │ ├── diff.go │ │ ├── fix-update.go │ │ ├── fix.go │ │ ├── gazelle.go │ │ ├── go_deps.go │ │ ├── internal │ │ │ └── wspace │ │ │ │ ├── BUILD.bazel │ │ │ │ └── finder.go │ │ ├── metaresolver.go │ │ ├── print.go │ │ └── profiler.go │ ├── coverage │ │ ├── BUILD.bazel │ │ └── coverage.go │ ├── cquery │ │ ├── BUILD.bazel │ │ ├── cquery.go │ │ └── cquery_test.go │ ├── docs │ │ ├── BUILD.bazel │ │ └── docs.go │ ├── dump │ │ ├── BUILD.bazel │ │ └── dump.go │ ├── fetch │ │ ├── BUILD.bazel │ │ └── fetch.go │ ├── info │ │ ├── BUILD.bazel │ │ └── info.go │ ├── init │ │ ├── BUILD.bazel │ │ └── init.go │ ├── license │ │ ├── BUILD.bazel │ │ ├── LICENSE │ │ └── license.go │ ├── lint │ │ ├── BUILD.bazel │ │ ├── bep.go │ │ ├── lint.go │ │ └── lint_test.go │ ├── mobileinstall │ │ ├── BUILD.bazel │ │ └── mobileinstall.go │ ├── mod │ │ ├── BUILD.bazel │ │ └── mod.go │ ├── outputs │ │ ├── BUILD.bazel │ │ ├── hash.go │ │ ├── hash_test.go │ │ ├── outputs.go │ │ ├── outputs_test.go │ │ ├── paths.go │ │ └── paths_test.go │ ├── print │ │ ├── BUILD.bazel │ │ └── print.go │ ├── printaction │ │ ├── BUILD.bazel │ │ └── printaction.go │ ├── query │ │ ├── BUILD.bazel │ │ ├── query.go │ │ ├── query_test.go │ │ └── shared │ │ │ ├── BUILD.bazel │ │ │ ├── mock │ │ │ ├── BUILD.bazel │ │ │ └── doc.go │ │ │ └── query.go │ ├── root │ │ ├── config │ │ │ ├── BUILD.bazel │ │ │ ├── aspect_base_url.go │ │ │ ├── config.go │ │ │ ├── config_test.go │ │ │ ├── root.go │ │ │ └── write.go │ │ └── flags │ │ │ ├── BUILD.bazel │ │ │ ├── aspect_flags.go │ │ │ ├── global.go │ │ │ ├── interceptor.go │ │ │ ├── multi_string.go │ │ │ ├── noable_bool.go │ │ │ ├── noable_bool_test.go │ │ │ └── utils.go │ ├── run │ │ ├── BUILD.bazel │ │ ├── run.go │ │ └── run_test.go │ ├── shutdown │ │ ├── BUILD.bazel │ │ └── shutdown.go │ ├── sync │ │ ├── BUILD.bazel │ │ └── sync.go │ ├── test │ │ ├── BUILD.bazel │ │ ├── test.go │ │ └── test_test.go │ └── version │ │ ├── BUILD.bazel │ │ ├── version.go │ │ └── version_test.go ├── aspecterrors │ ├── BUILD.bazel │ ├── errors.go │ └── handle_error.go ├── aspectgrpc │ ├── BUILD.bazel │ ├── grpc.go │ └── mock │ │ ├── BUILD.bazel │ │ └── doc.go ├── bazel │ ├── BUILD.bazel │ ├── bazel.go │ ├── bazel_flags.go │ ├── bazel_test.go │ ├── bazelisk-core.go │ ├── bazelisk.go │ ├── mock │ │ ├── BUILD.bazel │ │ └── doc.go │ └── workspace │ │ ├── BUILD.bazel │ │ ├── finder.go │ │ ├── finder_test.go │ │ ├── mock │ │ ├── BUILD.bazel │ │ └── doc.go │ │ ├── not_found_error.go │ │ └── not_found_error_test.go ├── hints │ ├── BUILD.bazel │ └── hints.go ├── interceptors │ ├── BUILD.bazel │ ├── run.go │ └── run_test.go ├── ioutils │ ├── BUILD.bazel │ ├── cache │ │ ├── BUILD.bazel │ │ └── cache.go │ ├── prompt │ │ ├── BUILD.bazel │ │ └── prompt.go │ └── streams.go ├── logger │ ├── BUILD.bazel │ └── logger.go ├── osutils │ └── filesystem │ │ ├── BUILD.bazel │ │ ├── darwin.go │ │ ├── darwin_test.go │ │ ├── filesystem.go │ │ ├── linux.go │ │ ├── linux_test.go │ │ ├── mock │ │ ├── BUILD.bazel │ │ └── doc.go │ │ ├── windows.go │ │ └── windows_test.go ├── plugin │ ├── client │ │ ├── BUILD.bazel │ │ ├── client.go │ │ ├── download.go │ │ └── mock │ │ │ ├── BUILD.bazel │ │ │ └── doc.go │ ├── sdk │ │ └── v1alpha4 │ │ │ ├── README.md │ │ │ ├── config │ │ │ ├── BUILD.bazel │ │ │ └── config.go │ │ │ ├── plugin │ │ │ ├── BUILD.bazel │ │ │ ├── grpc.go │ │ │ ├── interface.go │ │ │ └── mock │ │ │ │ ├── BUILD.bazel │ │ │ │ └── doc.go │ │ │ └── proto │ │ │ ├── BUILD.bazel │ │ │ ├── plugin.pb.go │ │ │ └── plugin.proto │ ├── system │ │ ├── BUILD.bazel │ │ ├── README.md │ │ ├── bep │ │ │ ├── BUILD.bazel │ │ │ ├── bes_backend.go │ │ │ ├── bes_backend_test.go │ │ │ └── mock │ │ │ │ ├── BUILD.bazel │ │ │ │ └── doc.go │ │ ├── besproxy │ │ │ ├── BUILD.bazel │ │ │ ├── bes_proxy.go │ │ │ ├── grpc_dial.go │ │ │ └── mock │ │ │ │ ├── BUILD.bazel │ │ │ │ └── doc.go │ │ ├── mock │ │ │ ├── BUILD.bazel │ │ │ └── doc.go │ │ ├── system.go │ │ └── system_test.go │ └── types │ │ ├── BUILD.bazel │ │ └── plugin.go └── stdlib │ ├── BUILD.bazel │ ├── mock │ ├── BUILD.bazel │ └── doc.go │ └── remap.go ├── platforms ├── BUILD.bazel ├── config │ ├── BUILD.bazel │ └── defs.bzl └── toolchains │ ├── BUILD.bazel │ └── defs.bzl ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── release ├── BUILD.bazel ├── bazelisk_artifacts.bzl ├── create_release.sh ├── delivery.sh ├── hashes.bzl ├── platforms.bzl ├── release.bzl └── sha256sum │ ├── BUILD.bazel │ └── main.go ├── setup_remote_cache.sh ├── third_party ├── BUILD.bazel └── github.com │ └── smacker │ └── go-tree-sitter │ └── cc_library.patch ├── tidy.sh ├── tools ├── BUILD.bazel ├── go │ ├── BUILD.bazel │ └── tools.go ├── platforms │ └── BUILD.bazel └── workspace_status.js └── yamlfmt.yaml /.aspect/bazelrc/.gitignore: -------------------------------------------------------------------------------- 1 | user.bazelrc 2 | remote-cache.bazelrc 3 | -------------------------------------------------------------------------------- /.aspect/cli/config.yaml: -------------------------------------------------------------------------------- 1 | configure: 2 | languages: 3 | javascript: false 4 | go: true 5 | kotlin: false 6 | protobuf: true 7 | -------------------------------------------------------------------------------- /.bazelignore: -------------------------------------------------------------------------------- 1 | examples/ 2 | docs/plugins/node_modules 3 | node_modules 4 | -------------------------------------------------------------------------------- /.bazeliskrc: -------------------------------------------------------------------------------- 1 | BAZELISK_BASE_URL=https://github.com/aspect-build/aspect-cli/releases/download 2 | USE_BAZEL_VERSION=aspect/2025.11.0 3 | -------------------------------------------------------------------------------- /.bazelversion: -------------------------------------------------------------------------------- 1 | 7.6.1 2 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | [[shell]] 2 | indent_style = space 3 | indent_size = 4 4 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | pnpm-lock.yaml linguist-generated 2 | **/*.dbm linguist-generated 3 | **/*.lock linguist-generated 4 | bazel/**/*.d.ts linguist-generated 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | /bazel-* 3 | /.idea 4 | /.cache 5 | /.ijwb 6 | /.vscode 7 | **/.terraform/* 8 | node_modules/ 9 | MODULE.bazel.lock 10 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # These are generated by cobra 2 | docs/*.md 3 | docs/plugins/*.d.ts 4 | 5 | # Test code with intentional syntax variations. 6 | gazelle/js/tests/**/* 7 | -------------------------------------------------------------------------------- /bazel/include/BUILD.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/bazel/include/BUILD.bazel -------------------------------------------------------------------------------- /bazel/ts/BUILD.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/bazel/ts/BUILD.bazel -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-slate 2 | title: Aspect Build Systems 3 | description: The end-to-end Bazel experience that developers actually want to use. 4 | -------------------------------------------------------------------------------- /docs/bazelrc/.gitignore: -------------------------------------------------------------------------------- 1 | user.bazelrc 2 | -------------------------------------------------------------------------------- /docs/plugins/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "ajv-cli": "*", 4 | "json-schema-to-typescript": "*" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /examples/predefined-queries/.bazeliskrc: -------------------------------------------------------------------------------- 1 | ../../.bazeliskrc -------------------------------------------------------------------------------- /examples/predefined-queries/.bazelversion: -------------------------------------------------------------------------------- 1 | ../../.bazelversion -------------------------------------------------------------------------------- /examples/predefined-queries/.gitignore: -------------------------------------------------------------------------------- 1 | bazel-* 2 | -------------------------------------------------------------------------------- /examples/predefined-queries/WORKSPACE: -------------------------------------------------------------------------------- 1 | workspace(name = "predefined_queries") 2 | -------------------------------------------------------------------------------- /examples/predefined-queries/foo/BUILD.bazel: -------------------------------------------------------------------------------- 1 | genrule( 2 | name = "foo", 3 | outs = ["foo.txt"], 4 | cmd = "echo 'Hello World' > '$@'", 5 | ) 6 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/bazel_tools/BUILD.in: -------------------------------------------------------------------------------- 1 | # Some comment to be preserved 2 | 3 | filegroup( 4 | name = "allfiles", 5 | srcs = glob(["**"]), 6 | ) 7 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/bazel_tools/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/bazel_tools/WORKSPACE -------------------------------------------------------------------------------- /gazelle/bzl/tests/defaultvisibility/foo.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Doc string 3 | """ 4 | 5 | load("//nested/dir:bar.bzl", "func") 6 | 7 | func() 8 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/defaultvisibility/nested/dir/BUILD.in: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//:__pkg__"]) 2 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/defaultvisibility/nested/dir/bar.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Doc string 3 | """ 4 | 5 | def asdf(): 6 | pass 7 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/empty/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/empty/WORKSPACE -------------------------------------------------------------------------------- /gazelle/bzl/tests/empty/foo.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/empty/foo.bzl -------------------------------------------------------------------------------- /gazelle/bzl/tests/external/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/external/WORKSPACE -------------------------------------------------------------------------------- /gazelle/bzl/tests/external/foo.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Test sample code. 3 | """ 4 | 5 | load("@external_repo//path/to:file.bzl", "func") 6 | 7 | func() 8 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/import/BUILD.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/import/BUILD.in -------------------------------------------------------------------------------- /gazelle/bzl/tests/import/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/import/WORKSPACE -------------------------------------------------------------------------------- /gazelle/bzl/tests/import/bar.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Doc string 3 | """ 4 | 5 | def func(): 6 | pass 7 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/import/foo.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Doc string 3 | """ 4 | 5 | load("//:bar.bzl", "func") 6 | 7 | func() 8 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/multidir/BUILD.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/multidir/BUILD.in -------------------------------------------------------------------------------- /gazelle/bzl/tests/multidir/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/multidir/WORKSPACE -------------------------------------------------------------------------------- /gazelle/bzl/tests/multidir/foo.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Doc string 3 | """ 4 | 5 | load("//nested/dir:bar.bzl", "func") 6 | 7 | func() 8 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/multidir/nested/dir/bar.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Doc string 3 | """ 4 | 5 | def func(): 6 | pass 7 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/nobuildfiles/foo.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/nobuildfiles/foo.bzl -------------------------------------------------------------------------------- /gazelle/bzl/tests/private/BUILD.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/private/BUILD.in -------------------------------------------------------------------------------- /gazelle/bzl/tests/private/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/private/WORKSPACE -------------------------------------------------------------------------------- /gazelle/bzl/tests/private/foo.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Test sample code. 3 | """ 4 | 5 | load("//private:bar.bzl", "func") 6 | 7 | func() 8 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/private/nested/private/bar.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Test sample code. 3 | """ 4 | 5 | def func(): 6 | pass 7 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/private/nested/private/inside/internal/bar.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Test sample code. 3 | """ 4 | 5 | def func(): 6 | pass 7 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/private/private/bar.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Test sample code. 3 | """ 4 | 5 | def func(): 6 | pass 7 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/relative_import/bar.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Doc string 3 | """ 4 | 5 | def func(): 6 | pass 7 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/relative_import/foo.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Doc string 3 | """ 4 | 5 | load(":bar.bzl", "func") 6 | 7 | func() 8 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/relative_import/nested/dir/bar.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Doc string 3 | """ 4 | 5 | def func(): 6 | pass 7 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/relative_import/nested/dir/foo.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Doc string 3 | """ 4 | 5 | load(":bar.bzl", "func") 6 | 7 | func() 8 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/simple/BUILD.in: -------------------------------------------------------------------------------- 1 | # Some comment to be preserved 2 | 3 | filegroup( 4 | name = "allfiles", 5 | srcs = glob(["**"]), 6 | ) 7 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/simple/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/simple/WORKSPACE -------------------------------------------------------------------------------- /gazelle/bzl/tests/simple/foo.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/simple/foo.bzl -------------------------------------------------------------------------------- /gazelle/bzl/tests/tests/BUILD.in: -------------------------------------------------------------------------------- 1 | # Some comment to be preserved 2 | 3 | filegroup( 4 | name = "allfiles", 5 | srcs = glob(["**"]), 6 | ) 7 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/tests/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/tests/WORKSPACE -------------------------------------------------------------------------------- /gazelle/bzl/tests/tests/foo.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/tests/foo.bzl -------------------------------------------------------------------------------- /gazelle/bzl/tests/tests/foo_tests.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/bzl/tests/tests/foo_tests.bzl -------------------------------------------------------------------------------- /gazelle/bzl/tests/workspace_name/WORKSPACE: -------------------------------------------------------------------------------- 1 | workspace(name = "com_example") 2 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/workspace_name/bar.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Doc string 3 | """ 4 | 5 | def func(): 6 | pass 7 | -------------------------------------------------------------------------------- /gazelle/bzl/tests/workspace_name/foo.bzl: -------------------------------------------------------------------------------- 1 | """ 2 | Doc string 3 | """ 4 | 5 | load("//:bar.bzl", "func") 6 | 7 | func() 8 | -------------------------------------------------------------------------------- /gazelle/common/treesitter/grammars/BUILD.bazel: -------------------------------------------------------------------------------- 1 | # gazelle:exclude *.bzl 2 | -------------------------------------------------------------------------------- /gazelle/js/.bazelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/js/.bazelrc -------------------------------------------------------------------------------- /gazelle/js/tests/declare_module/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "declare_module") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/declare_module/import/lib.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'lib-imports' { 2 | export * from 'lib-lib'; 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/declare_module/import/other.ts: -------------------------------------------------------------------------------- 1 | // Just to ensure generation until https://github.com/aspect-build/silo/pull/3438 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/declare_module/self-import/lib.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'lib-self' { 2 | export * from 'lib-lib'; 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/declare_module/self-import/self-importer.ts: -------------------------------------------------------------------------------- 1 | export * from 'lib-self'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/declare_module/types/lib-a.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'lib-a' { 2 | export function a(): void; 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/declare_module_types/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "declare_module_types") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/declare_module_types/addon/a/more-a.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'lib-a' { 2 | function a(): void; 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/declare_module_types/addon/jest-dom/more-jeset-dom.d.ts: -------------------------------------------------------------------------------- 1 | declare module "@testing-library/jest-dom" {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/declare_module_types/addon/jquery/more-jquery.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'jquery' {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/declare_module_types/lib/a/lib-a.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'lib-a' {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/declare_module_types/lib/b/lib-b.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'lib-b' { 2 | export * from 'lib-a'; 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/dynamic_import/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "dynamic_import") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/dynamic_import/lib.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/js/tests/dynamic_import/lib.ts -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_disable/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "gazelle_disable") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_disable/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_disable/sub/BUILD.in: -------------------------------------------------------------------------------- 1 | #gazelle:js disabled -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_disable/sub/BUILD.out: -------------------------------------------------------------------------------- 1 | #gazelle:js disabled 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_disable/sub/disable-overriden/BUILD.in: -------------------------------------------------------------------------------- 1 | #gazelle:js enabled -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_disable_conflict/BUILD.in: -------------------------------------------------------------------------------- 1 | #gazelle:js disabled 2 | 3 | filegroup( 4 | name = "gazelle_disable_conflict", 5 | srcs = [], 6 | ) -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_disable_conflict/BUILD.out: -------------------------------------------------------------------------------- 1 | #gazelle:js disabled 2 | 3 | filegroup( 4 | name = "gazelle_disable_conflict", 5 | srcs = [], 6 | ) -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_disable_conflict/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "gazelle_disable_conflict") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_exclude_directive/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "gazelle_exclude_directive") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_exclude_directive/foo.ig.ts: -------------------------------------------------------------------------------- 1 | import 'does-not-exist3'; 2 | 3 | // Ignored due to root *.ig.ts 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_exclude_directive/subdir-included/included-lib.ts: -------------------------------------------------------------------------------- 1 | // NOT ignored despite main.ts being ignored elsewhere 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_exclude_directive/subdir-included/sub-ignored.ts: -------------------------------------------------------------------------------- 1 | // NOT ignored despite sub-ignored.ts being ignored elsewhere 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_exclude_directive/subdir/file1.ig.ts: -------------------------------------------------------------------------------- 1 | import 'does-not-exist3'; 2 | 3 | // Ignored due to root *.ig.ts 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_exclude_directive/subdir/ignored.ts: -------------------------------------------------------------------------------- 1 | import 'does-not-exist3'; 2 | 3 | // ignored due to parent BUILD 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_exclude_directive/subproject-included/main.ts: -------------------------------------------------------------------------------- 1 | // NOT ignored despite main.ts being ignored elsewhere 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_exclude_directive/subproject-included/sub-ignored.ts: -------------------------------------------------------------------------------- 1 | // NOT ignored despite sub-ignored.ts being ignored elsewhere 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_exclude_directive/subproject/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:exclude sub-ignored.ts -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_exclude_directive/subproject/BUILD.out: -------------------------------------------------------------------------------- 1 | # gazelle:exclude sub-ignored.ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_exclude_directive/subproject/file2.ig.ts: -------------------------------------------------------------------------------- 1 | import 'does-not-exist2'; 2 | 3 | // Ignored due to root *.ig.ts 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_exclude_directive/subproject/sub-ignored.ts: -------------------------------------------------------------------------------- 1 | import 'does-not-exist2'; 2 | 3 | // ignored due to local BUILD 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "gazelle_generate_build") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/default/src/lib1.ts: -------------------------------------------------------------------------------- 1 | // Directory containing only .ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/directory/a/a1/lib-a1.ts: -------------------------------------------------------------------------------- 1 | export const a_a1_lib = '123'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/directory/a/a2/lib-a2.ts: -------------------------------------------------------------------------------- 1 | import { a_a1_lib } from '../a1/lib-a1'; 2 | 3 | export const a_a2_lib = a_a1_lib + 'v2'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/directory/a/lib-a.ts: -------------------------------------------------------------------------------- 1 | export * from './a1/lib-a1'; 2 | export * from './a2/lib-a2'; 3 | export const a_lib = '123'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/directory/b/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/directory/b/b1/lib-b1.ts: -------------------------------------------------------------------------------- 1 | export const value = 'directory/b/b1/lib'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/directory/b/lib-b.ts: -------------------------------------------------------------------------------- 1 | export * from '../a/lib-a'; 2 | export * from './b1/lib-b1'; 3 | export const b_lib = '456'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/directory/lib.ts: -------------------------------------------------------------------------------- 1 | export * from './a/lib-a'; 2 | export * from './a/a1/lib-a1'; 3 | export * from './b/lib-b'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/directory/now-empty-sub/src/a.ts: -------------------------------------------------------------------------------- 1 | export * from '../../a/lib-a'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/directory/now-empty/BUILD.out: -------------------------------------------------------------------------------- 1 | # TEST 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/none/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/none/a/a1/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode create_and_update 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/none/a/a1/lib-a1.ts: -------------------------------------------------------------------------------- 1 | export const a_a1_lib = '123'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/none/a/a2/lib-a2.ts: -------------------------------------------------------------------------------- 1 | import { a_a1_lib } from '../a1/lib-a1'; 2 | 3 | export const a_a2_lib = a_a1_lib + 'v2'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/none/a/lib-a.ts: -------------------------------------------------------------------------------- 1 | export * from './a1/lib-a1'; 2 | export * from './a2/lib-a2'; 3 | export const a_lib = '123'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/none/b/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode create_and_update 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/none/b/b1/lib-b1.ts: -------------------------------------------------------------------------------- 1 | export const value = 'directory/b/b1/lib'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/none/b/lib-b.ts: -------------------------------------------------------------------------------- 1 | export * from '../a/lib-a'; 2 | export * from './b1/lib-b1'; 3 | export const b_lib = '456'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generate_build/none/lib1.ts: -------------------------------------------------------------------------------- 1 | // Directory containing only .ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "gazelle_generation_mode") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/default/src/lib1.ts: -------------------------------------------------------------------------------- 1 | // Directory containing only .ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/directory/a/a1/lib-a1.ts: -------------------------------------------------------------------------------- 1 | export const a_a1_lib = '123'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/directory/a/a2/lib-a2.ts: -------------------------------------------------------------------------------- 1 | import { a_a1_lib } from '../a1/lib-a1'; 2 | 3 | export const a_a2_lib = a_a1_lib + 'v2'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/directory/a/lib-a.ts: -------------------------------------------------------------------------------- 1 | export * from './a1/lib-a1'; 2 | export * from './a2/lib-a2'; 3 | export const a_lib = '123'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/directory/b/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/directory/b/b1/lib-b1.ts: -------------------------------------------------------------------------------- 1 | export const value = 'directory/b/b1/lib'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/directory/b/lib-b.ts: -------------------------------------------------------------------------------- 1 | export * from '../a/lib-a'; 2 | export * from './b1/lib-b1'; 3 | export const b_lib = '456'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/directory/lib.ts: -------------------------------------------------------------------------------- 1 | export * from './a/lib-a'; 2 | export * from './a/a1/lib-a1'; 3 | export * from './b/lib-b'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/directory/now-empty-sub/src/a.ts: -------------------------------------------------------------------------------- 1 | export * from '../../a/lib-a'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/directory/now-empty/BUILD.out: -------------------------------------------------------------------------------- 1 | # TEST 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/none/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/none/a/a1/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode create_and_update 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/none/a/a1/lib-a1.ts: -------------------------------------------------------------------------------- 1 | export const a_a1_lib = '123'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/none/a/a2/lib-a2.ts: -------------------------------------------------------------------------------- 1 | import { a_a1_lib } from '../a1/lib-a1'; 2 | 3 | export const a_a2_lib = a_a1_lib + 'v2'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/none/a/lib-a.ts: -------------------------------------------------------------------------------- 1 | export * from './a1/lib-a1'; 2 | export * from './a2/lib-a2'; 3 | export const a_lib = '123'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/none/b/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode create_and_update 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/none/b/b1/lib-b1.ts: -------------------------------------------------------------------------------- 1 | export const value = 'directory/b/b1/lib'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/none/b/lib-b.ts: -------------------------------------------------------------------------------- 1 | export * from '../a/lib-a'; 2 | export * from './b1/lib-b1'; 3 | export const b_lib = '456'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode/none/lib1.ts: -------------------------------------------------------------------------------- 1 | // Directory containing only .ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode_legacy/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_generation_mode directory 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode_legacy/BUILD.out: -------------------------------------------------------------------------------- 1 | # gazelle:js_generation_mode directory 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode_legacy/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "gazelle_generation_mode") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_generation_mode_legacy/expectedExitCode.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_ignore_directive/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:ignore -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_ignore_directive/BUILD.out: -------------------------------------------------------------------------------- 1 | # gazelle:ignore -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_ignore_directive/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "gazelle_ignore_directive") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_ignore_directive/main.ts: -------------------------------------------------------------------------------- 1 | import { STR1 } from 'external-lib'; 2 | 3 | console.log(STR); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_keep/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "gazelle_keep") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_keep/lib.ts: -------------------------------------------------------------------------------- 1 | export const STR = 'import me'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_keep/main.ts: -------------------------------------------------------------------------------- 1 | import { STR } from './lib'; 2 | 3 | console.log(STR); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_keep/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "dist" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_map_kind_directive/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:map_kind ts_project ts_my_project //:defs.bzl 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_map_kind_directive/BUILD.out: -------------------------------------------------------------------------------- 1 | # gazelle:map_kind ts_project ts_my_project //:defs.bzl 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_map_kind_directive/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "gazelle_map_kind_directive") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_map_kind_directive/empty/a.spec.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_map_kind_directive/empty/a.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_map_kind_directive/exists/e.spec.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_map_kind_directive/exists/e.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_map_kind_directive/kind_override/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:map_kind ts_project ts_override //:defs-override.bzl 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_map_kind_directive/kind_override/m.spec.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_map_kind_directive/kind_override/m.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_map_kind_directive/mix/BUILD.in: -------------------------------------------------------------------------------- 1 | load("//:defs.bzl", "ts_my_project") 2 | 3 | ts_my_project( 4 | name = "mix", 5 | srcs = ["m.ts"], 6 | ) -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_map_kind_directive/mix/m.spec.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/gazelle_map_kind_directive/mix/m.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_add_remove_rules/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "groups_add_remove_rules") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_add_remove_rules/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_files {dirname}_root *-root.ts 2 | # gazelle:js_test_files e2e *.e2e.ts 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "groups_configs") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/a/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_files alib *-alib.ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/a/a-alib.ts: -------------------------------------------------------------------------------- 1 | import * as foo from './a'; 2 | 3 | console.log(foo); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/a/a-root.ts: -------------------------------------------------------------------------------- 1 | import * as foo from './a'; 2 | 3 | console.log(foo); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/a/a.ts: -------------------------------------------------------------------------------- 1 | export * from '../b/b'; 2 | export const C = 123; 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/b/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_files blib *-blib.ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/b/b-alib.ts: -------------------------------------------------------------------------------- 1 | import * as foo from './b-other'; 2 | 3 | console.log(foo); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/b/b-blib.ts: -------------------------------------------------------------------------------- 1 | import * as foo from '../a/a'; 2 | 3 | console.log(foo); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/b/b-other.ts: -------------------------------------------------------------------------------- 1 | export const B = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/b/b-root.ts: -------------------------------------------------------------------------------- 1 | import * as foo from '../a/a'; 2 | 3 | console.log(foo); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/b/b.spec.ts: -------------------------------------------------------------------------------- 1 | import * as B2 from './b'; 2 | import { B } from './b-other'; 3 | 4 | console.log(B, B2); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/b/b.ts: -------------------------------------------------------------------------------- 1 | export function inc(x: number) { 2 | return x + 1; 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/c/BUILD.in: -------------------------------------------------------------------------------- 1 | # Override *-root.ts and put it into different library 2 | 3 | # gazelle:js_files croot *-root.ts 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/c/c-other.ts: -------------------------------------------------------------------------------- 1 | export const B = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/c/c-root.ts: -------------------------------------------------------------------------------- 1 | export * from '../b/b'; 2 | export * from './c'; 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/c/c.ts: -------------------------------------------------------------------------------- 1 | export * from './c-other'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/main-root.ts: -------------------------------------------------------------------------------- 1 | export const A = 'b'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/main.e2e.ts: -------------------------------------------------------------------------------- 1 | import * as foo from './a/a-root'; 2 | import * as bar from './b/b-root'; 3 | 4 | console.log('e2e', foo, bar); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_configs/main.ts: -------------------------------------------------------------------------------- 1 | import * as R from './main-root'; 2 | 3 | console.log(R); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_files e2e *.e2e.ts 2 | # gazelle:js_files pos *.po.ts 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "groups_deps") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/component-a/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_files pos *.po.ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/component-a/a.po.ts: -------------------------------------------------------------------------------- 1 | import * as foo from './a'; 2 | 3 | console.log(foo); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/component-a/a.spec.ts: -------------------------------------------------------------------------------- 1 | import { C } from './a'; 2 | 3 | console.log(typeof C === 'number'); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/component-a/a.ts: -------------------------------------------------------------------------------- 1 | export * from '../utils/u'; 2 | export const C = 123; 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/component-b/b.e2e.ts: -------------------------------------------------------------------------------- 1 | import * as foo from './b'; 2 | import * as bar from './b.po'; 3 | 4 | console.log(foo, bar); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/component-b/b.po.ts: -------------------------------------------------------------------------------- 1 | import * as bar from '../component-a/a.po'; 2 | import * as foo from './b'; 3 | 4 | console.log(foo, bar); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/component-b/b.ts: -------------------------------------------------------------------------------- 1 | export * from '../component-a/a'; 2 | 3 | export const B = 123; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/main.e2e.ts: -------------------------------------------------------------------------------- 1 | import * as foo from './component-a/a.po'; 2 | 3 | console.log('e2e', foo); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/utils/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_files other *-other.ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/utils/u.spec.ts: -------------------------------------------------------------------------------- 1 | import * as U from './u'; 2 | 3 | console.log(U); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_deps/utils/u.ts: -------------------------------------------------------------------------------- 1 | export function inc(x: number) { 2 | return x + 1; 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_simple_files/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_files pos *.po.ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_simple_files/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "groups_simple_files") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/groups_simple_files/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/.test-bazelignore: -------------------------------------------------------------------------------- 1 | subtarget/s1.ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "ignore_config_files") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/modules.ts/a.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-dir-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/root.starstar-ig.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir/direct-ig.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir/generated.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | 3 | export const a = 1; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir/index.ts: -------------------------------------------------------------------------------- 1 | export * from './generated'; 2 | export * from './not.nested-ig'; 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir/modules.ts/a.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-dir-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir/nested/generated.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | 3 | export const a = 123; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir/nested/index.ts: -------------------------------------------------------------------------------- 1 | export * from './generated'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir/nested/modules.ts/a.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-dir-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir/nested/x.nested-ig.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir/nested/y.starstar-ig.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir/not.nested-ig.ts: -------------------------------------------------------------------------------- 1 | export const b = 2; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir/star-ig.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir/y.starstar-ig.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir2/direct-ig.ts: -------------------------------------------------------------------------------- 1 | // ... but only for subdir, not subdir2 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir2/star-ig.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subdir2/y.starstar-ig.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subtarget-disabled/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:gitignore disabled 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subtarget-disabled/nested/star-ig.ts: -------------------------------------------------------------------------------- 1 | // within a /nested and should be included 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subtarget/generated.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | 3 | export const c = 1; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subtarget/index.ts: -------------------------------------------------------------------------------- 1 | export * from '../subdir'; 2 | export * from '../subdir/generated'; 3 | export * from './generated'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subtarget/nested/star-ig.ts: -------------------------------------------------------------------------------- 1 | // within a /nested and should be included 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subtarget/nested/y.starstar-ig.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subtarget/s1.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subtarget/star-ig.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_config_files/subtarget/y.starstar-ig.ts: -------------------------------------------------------------------------------- 1 | import 'bad-import-but-this-file-is-ignored'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_import_directive/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "ignore_import_directive") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_import_directive/main.ts: -------------------------------------------------------------------------------- 1 | import $ from 'jquery'; 2 | import './local.scss'; 3 | import './subdir/sub.scss'; 4 | 5 | $('body').remove(); 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/ignore_import_directive/subproject/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_ignore_imports extra-ignore -------------------------------------------------------------------------------- /gazelle/js/tests/incremental_lazy/WORKSPACE: -------------------------------------------------------------------------------- 1 | workspace(name = "incremental_lazy") 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/incremental_lazy/arguments.txt: -------------------------------------------------------------------------------- 1 | -index=lazy 2 | -r=false 3 | libs/to-update 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/incremental_lazy/libs/b/index.ts: -------------------------------------------------------------------------------- 1 | export const NAME = "b" 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/incremental_lazy/libs/b/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@lib/b", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/incremental_lazy/libs/never-run/BUILD.in: -------------------------------------------------------------------------------- 1 | # Empty because we never ran gazelle here 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/incremental_lazy/libs/never-run/BUILD.out: -------------------------------------------------------------------------------- 1 | # Empty because we never ran gazelle here 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/incremental_lazy/libs/never-run/index.ts: -------------------------------------------------------------------------------- 1 | export const lib404 = require('this-would-not-be-found'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/incremental_lazy/libs/to-update/sub/index.ts: -------------------------------------------------------------------------------- 1 | export const a = "b" 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/incremental_lazy/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "dependencies": { 4 | "@aspect-test/a": "1.0.0" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /gazelle/js/tests/incremental_lazy/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - 'libs/*' 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/isolated_typecheck/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "isolated_typecheck") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/isolated_typecheck/disabled/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/isolated_typecheck/inherited/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/isolated_typecheck/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/isolated_typecheck/unspecified/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/node_native/BUILD.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/js/tests/node_native/BUILD.in -------------------------------------------------------------------------------- /gazelle/js/tests/node_native/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "node_native") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/node_native/main-es6.ts: -------------------------------------------------------------------------------- 1 | import * as fs from 'fs'; 2 | import { exists } from 'node:fs'; 3 | 4 | console.log(fs.exists('foo'), exists('bar')); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/node_native/main.ts: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | const { exists } = require('node:fs'); 3 | 4 | console.log(fs.exists('foo'), exists('bar')); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/node_native/pnpm-lock.yaml: -------------------------------------------------------------------------------- 1 | lockfileVersion: 5.4 2 | 3 | specifiers: 4 | '@types/node': ^18.11.11 5 | 6 | dependencies: 7 | '@types/node': 18.11.11 8 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_changed_deps/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "npm_changed_deps") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_changed_deps/lib.ts: -------------------------------------------------------------------------------- 1 | // A new file (not in BUILD.in) with npm imports 2 | 3 | import _ from 'lodash'; 4 | 5 | console.log(_); 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_link_all_packages/BUILD.out: -------------------------------------------------------------------------------- 1 | load("@npm//:defs.bzl", "npm_link_all_packages") 2 | 3 | npm_link_all_packages(name = "node_modules") 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_link_all_packages/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "npm_link_all_packages") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/WORKSPACE: -------------------------------------------------------------------------------- 1 | workspace(name = "npm_package_deps") 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/exports-ignore/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_ignore_imports **/does-not-exist.js 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/exports-single/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pkg-with-exports-string", 3 | "private": true, 4 | "exports": "./bin/main.js" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/main-custom_ts/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_files m start.ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/main-custom_ts/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pkg-with-main", 3 | "private": true, 4 | "main": "start.js" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/main-js-gen/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pkg-with-gen-main", 3 | "private": true, 4 | "main": "start.js" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/main-js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pkg-with-main", 3 | "private": true, 4 | "main": "start.js" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/main-ts/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pkg-with-main", 3 | "private": true, 4 | "main": "start.js" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - '*' 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/types-js-gen/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "types-js-gen", 3 | "private": true, 4 | "types": "types.d.ts" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/types-js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "types-js", 3 | "private": true, 4 | "main": "start.js", 5 | "types": "types.d.ts" 6 | } 7 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/types-non-rootDir/BUILD.in: -------------------------------------------------------------------------------- 1 | # aspect:js_files src/**/*.{ts,tsx,js} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps/typings-js-gen/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "typings-js-gen", 3 | "private": true, 4 | "typings": "types.d.ts" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_lib/WORKSPACE: -------------------------------------------------------------------------------- 1 | workspace(name = "npm_package_deps_lib") 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_lib/exports-ignore/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_ignore_imports **/does-not-exist.js 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_lib/main-custom_ts/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_files m start.ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_lib/main-custom_ts/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pkg-with-main", 3 | "private": true, 4 | "main": "start.js" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_lib/main-js-gen/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pkg-with-gen-main", 3 | "private": true, 4 | "main": "start.js" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_lib/main-js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pkg-with-main", 3 | "private": true, 4 | "main": "start.js" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_lib/main-ts/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pkg-with-main", 3 | "private": true, 4 | "main": "start.js" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_lib/not-found/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_lib/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_lib/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - '*' 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_lib/types-js-gen/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "types-js-gen", 3 | "private": true, 4 | "types": "types.d.ts" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_lib/typings-js-gen/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "typings-js-gen", 3 | "private": true, 4 | "typings": "types.d.ts" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_tsconfig/WORKSPACE: -------------------------------------------------------------------------------- 1 | workspace(name = "npm_package_deps_tsconfig") 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_tsconfig/main-custom_ts/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_files m start.ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_tsconfig/main-custom_ts/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pkg-with-main", 3 | "private": true, 4 | "main": "start.js" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_tsconfig/main-custom_ts/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_tsconfig/main/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pkg-with-main", 3 | "private": true, 4 | "main": "dist/start.js" 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_tsconfig/main/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "dist" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_tsconfig/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_tsconfig/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - '*' 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_tsconfig/scenario1/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_package_rule_kind npm_package 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_deps_tsconfig/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "dist", 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_lib_target_name/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_npm_package_target_name pkg 2 | # gazelle:js_project_naming_convention tsc 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_lib_target_name/lib/c/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@lib/c", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_lib_target_name/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_lib_target_name/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - 'lib/*' 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_target_enabled/lib/b/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_package_rule_kind js_library 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_target_enabled/lib/c/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@lib/c", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_target_enabled/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_target_enabled/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - 'lib/*' 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_target_name/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_package_rule_kind npm_package 2 | # gazelle:js_npm_package_target_name {dirname}_pkg 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_target_name/lib/b/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_package_rule_kind js_library 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_target_name/lib/c/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@lib/c", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_target_name/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_target_name/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - 'lib/*' 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_target_referenced/lib/b/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_package_rule_kind js_library 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_target_referenced/lib/c/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@lib/c", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_target_referenced/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_package_target_referenced/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - 'lib/*' 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_simple_deps/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_simple_deps/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "npm_simple_deps") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_simple_deps/deep-import.ts: -------------------------------------------------------------------------------- 1 | import { id } from '@aspect-test/a/index'; 2 | 3 | console.log(id()); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_simple_deps/main.ts: -------------------------------------------------------------------------------- 1 | import c from '@aspect-test/c'; 2 | 3 | console.log(c); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_simple_deps/subdir/subdir.ts: -------------------------------------------------------------------------------- 1 | import a from '@aspect-test/a'; 2 | import $ from 'jquery'; 3 | 4 | console.log($(a)); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_simple_deps/subproject/subproject.ts: -------------------------------------------------------------------------------- 1 | import c from '@aspect-test/c'; 2 | import $ from 'jquery'; 3 | 4 | console.log($(c)); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_simple_deps_cjs/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_simple_deps_cjs/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "npm_simple_deps_cjs") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_simple_deps_cjs/deep-import.ts: -------------------------------------------------------------------------------- 1 | const { id } = require('@aspect-test/a/index'); 2 | 3 | console.log(id()); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_simple_deps_cjs/main.ts: -------------------------------------------------------------------------------- 1 | const c = require('@aspect-test/c'); 2 | 3 | console.log(c); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_simple_deps_cjs/subdir/subdir.ts: -------------------------------------------------------------------------------- 1 | const a = require('@aspect-test/a'); 2 | const $ = require('jquery'); 3 | 4 | console.log($(a)); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_simple_deps_cjs/subproject/subproject.ts: -------------------------------------------------------------------------------- 1 | const c = require('@aspect-test/c'); 2 | const $ = require('jquery'); 3 | 4 | console.log($(c)); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_types_package/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "npm_types_package") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_types_package/main.test.ts: -------------------------------------------------------------------------------- 1 | import $ from 'jquery'; 2 | import * as lib from './main'; 3 | 4 | console.log('Test!', $('body'), lib); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_types_package/main.ts: -------------------------------------------------------------------------------- 1 | import $ from 'jquery'; 2 | 3 | console.log($('body')); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_types_package/only_types/types.d.ts: -------------------------------------------------------------------------------- 1 | export type foo = 42 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_types_package/transpiled/types.ts: -------------------------------------------------------------------------------- 1 | export type X = "y" 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/npm_types_package/triple_slash/defs.d.ts: -------------------------------------------------------------------------------- 1 | export type bar = 123 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/parse_errors/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_ignore_imports mystery-module 2 | # aspect:js_ignore_imports unknown-library 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/parse_errors/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "parse_errors") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/parse_errors/bad.ts: -------------------------------------------------------------------------------- 1 | export function main() { 2 | looks like some bad syntax here 3 | } -------------------------------------------------------------------------------- /gazelle/js/tests/parse_errors/good.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/parse_errors/subbuild/good.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/parse_errors/subbuild/subbuild-bad.ts: -------------------------------------------------------------------------------- 1 | // some 2 | // blank 3 | // lines 4 | bad 1 5 | 6 | // 7 | // 8 | bad 2 9 | 10 | 11 | // 12 | // 13 | bad 3 -------------------------------------------------------------------------------- /gazelle/js/tests/parse_errors/subdir/good.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/parse_errors/subdir/subdir-bad.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | // foo 3 | bad SyntaxError on line 3() 4 | } -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock5/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "pnpm_project_refs") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock5/lib-non-wksp/BUILD.in: -------------------------------------------------------------------------------- 1 | # this is intentionally NOT in pnpm-workspace.yaml -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock5/lib-non-wksp/index.ts: -------------------------------------------------------------------------------- 1 | export const value = 456; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock5/lib-non-wksp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lib-non-wksp", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock5/lib/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "value": 42 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock5/lib/index.ts: -------------------------------------------------------------------------------- 1 | export const value = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock5/lib/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lib-a", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock5/lib/types.ts: -------------------------------------------------------------------------------- 1 | export const foo = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock5/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "main-lib" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock5/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'app' 3 | - 'lib' -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock6/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "pnpm_project_refs") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock6/lib-non-wksp/BUILD.in: -------------------------------------------------------------------------------- 1 | # this is intentionally NOT in pnpm-workspace.yaml -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock6/lib-non-wksp/index.ts: -------------------------------------------------------------------------------- 1 | export const value = 456; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock6/lib-non-wksp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lib-non-wksp", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock6/lib/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "value": 42 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock6/lib/index.ts: -------------------------------------------------------------------------------- 1 | export const value = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock6/lib/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lib-a", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock6/lib/types.ts: -------------------------------------------------------------------------------- 1 | export const foo = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock6/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "main-lib" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock6/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'app' 3 | - 'lib' -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock9/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "pnpm_project_refs") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock9/lib-non-wksp/BUILD.in: -------------------------------------------------------------------------------- 1 | # this is intentionally NOT in pnpm-workspace.yaml -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock9/lib-non-wksp/index.ts: -------------------------------------------------------------------------------- 1 | export const value = 456; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock9/lib-non-wksp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lib-non-wksp", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock9/lib/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "value": 42 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock9/lib/index.ts: -------------------------------------------------------------------------------- 1 | export const value = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock9/lib/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lib-a", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock9/lib/types.ts: -------------------------------------------------------------------------------- 1 | export const foo = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock9/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "main-lib" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_project_refs_lock9/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'app' 3 | - 'lib' -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_workspace/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_package_rule_kind npm_package 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_workspace/lib/c/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_package_rule_kind js_library 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_workspace/lib/no-direct/index.ts: -------------------------------------------------------------------------------- 1 | export const hasTs = require('typescript') !== undefined; 2 | export const libB = require('@lib/b'); 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_workspace/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '.' 3 | - 'app/*' 4 | - 'lib/*' 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_workspace_rerooted/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_pnpm_lockfile root/pnpm-lock.yaml -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_workspace_rerooted/lib/no-direct/index.ts: -------------------------------------------------------------------------------- 1 | export const hasTs = require('typescript') !== undefined; 2 | export const libB = require('@lib/b'); 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_workspace_rerooted/root/BUILD.out: -------------------------------------------------------------------------------- 1 | load("@npm//:defs.bzl", "npm_link_all_packages") 2 | 3 | npm_link_all_packages(name = "node_modules") 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_workspace_rerooted/root/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/pnpm_workspace_rerooted/root/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '../' 3 | - '../app/*' 4 | - '../lib/*' 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/resolve_directive/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "resolve_directive") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/resolve_directive/subdir/lib.ts: -------------------------------------------------------------------------------- 1 | import 'sassy.scss'; 2 | import 'deep/path/sassy.scss'; 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/resolve_order/BUILD.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/js/tests/resolve_order/BUILD.in -------------------------------------------------------------------------------- /gazelle/js/tests/resolve_order/BUILD.out: -------------------------------------------------------------------------------- 1 | load("@npm//:defs.bzl", "npm_link_all_packages") 2 | 3 | npm_link_all_packages(name = "node_modules") 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/resolve_order/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "resolve_order") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/resolve_order/base/test.ts: -------------------------------------------------------------------------------- 1 | import 'the-import'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/resolve_order/js_resolve/test.ts: -------------------------------------------------------------------------------- 1 | import 'the-import'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/resolve_order/node-overridden/test.ts: -------------------------------------------------------------------------------- 1 | import 'fs'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/resolve_order/package/test.ts: -------------------------------------------------------------------------------- 1 | import 'the-import'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/resolve_order/relative-genrule/test.ts: -------------------------------------------------------------------------------- 1 | import './the-import'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/resolve_order/relative-js_resolve/test.ts: -------------------------------------------------------------------------------- 1 | import './the-import'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/resolve_order/relative-resolve/test.ts: -------------------------------------------------------------------------------- 1 | import './the-import'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/resolve_order/resolve/test.ts: -------------------------------------------------------------------------------- 1 | import 'the-import'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/rules_conflicting_name/BUILD.in: -------------------------------------------------------------------------------- 1 | filegroup( 2 | name = "rules_conflicting_name", 3 | ) -------------------------------------------------------------------------------- /gazelle/js/tests/rules_conflicting_name/BUILD.out: -------------------------------------------------------------------------------- 1 | filegroup( 2 | name = "rules_conflicting_name", 3 | ) -------------------------------------------------------------------------------- /gazelle/js/tests/rules_conflicting_name/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "rules_conflicting_name") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/rules_conflicting_name/expectedExitCode.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /gazelle/js/tests/rules_conflicting_name_mapped_kind/expectedExitCode.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /gazelle/js/tests/rules_conflicting_name_nojs/BUILD.in: -------------------------------------------------------------------------------- 1 | filegroup( 2 | name = "rules_conflicting_name_nojs", 3 | ) -------------------------------------------------------------------------------- /gazelle/js/tests/rules_conflicting_name_nojs/BUILD.out: -------------------------------------------------------------------------------- 1 | filegroup( 2 | name = "rules_conflicting_name_nojs", 3 | ) -------------------------------------------------------------------------------- /gazelle/js/tests/rules_conflicting_name_nojs/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "rules_conflicting_name_nojs") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/rules_conflicting_name_nojs/subdir/BUILD.in: -------------------------------------------------------------------------------- 1 | filegroup( 2 | name = "subdir", 3 | ) -------------------------------------------------------------------------------- /gazelle/js/tests/rules_conflicting_name_nojs/subdir/BUILD.out: -------------------------------------------------------------------------------- 1 | filegroup( 2 | name = "subdir", 3 | ) -------------------------------------------------------------------------------- /gazelle/js/tests/rules_ordering/BUILD.in: -------------------------------------------------------------------------------- 1 | filegroup( 2 | name = "first", 3 | ) -------------------------------------------------------------------------------- /gazelle/js/tests/rules_ordering/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "rules_ordering") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/rules_ordering/existing-reordered/c.spec.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from './c'; 2 | 3 | console.log('SPEC: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/rules_ordering/existing-reordered/c.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/rules_ordering/existing/b.spec.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from './b'; 2 | 3 | console.log('SPEC: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/rules_ordering/existing/b.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/rules_ordering/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/rules_ordering/new/a.spec.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from './a'; 2 | 3 | console.log('SPEC: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/rules_ordering/new/a.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/rules_ordering/standalone/BUILD.in: -------------------------------------------------------------------------------- 1 | # Empty to show standard ordering of new rules -------------------------------------------------------------------------------- /gazelle/js/tests/rules_ordering/standalone/s.spec.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from './s'; 2 | 3 | console.log('SPEC: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/rules_ordering/standalone/s.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only/BUILD.in: -------------------------------------------------------------------------------- 1 | # aspect:js_files **/*.{js,ts} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_dts_only") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only/mix/a.ts: -------------------------------------------------------------------------------- 1 | export const a = 1; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only/mix/lib.d.ts: -------------------------------------------------------------------------------- 1 | export const b = 2; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only/now_dts_only/lib.d.ts: -------------------------------------------------------------------------------- 1 | export const c: number; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only/now_dts_only/lib.js: -------------------------------------------------------------------------------- 1 | export const c = 1; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only/was_dts_only/lib.ts: -------------------------------------------------------------------------------- 1 | export const d = 1; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only/with_tsconfig/lib.d.ts: -------------------------------------------------------------------------------- 1 | export const c: number; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only/with_tsconfig/lib.js: -------------------------------------------------------------------------------- 1 | export const c = 1; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only/with_tsconfig/now_dts_only/lib.d.ts: -------------------------------------------------------------------------------- 1 | export const c: number; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only/with_tsconfig/now_dts_only/lib.js: -------------------------------------------------------------------------------- 1 | export const c = 1; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_dts_only_dep") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/dts-js/BUILD.in: -------------------------------------------------------------------------------- 1 | # aspect:js_files **/*.{ts,js} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/dts-js/a.d.ts: -------------------------------------------------------------------------------- 1 | export const A: number; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/dts-js/a.js: -------------------------------------------------------------------------------- 1 | export const A = 1; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/dts-js/b.js: -------------------------------------------------------------------------------- 1 | export const B = 2; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/dts-ts-js/BUILD.in: -------------------------------------------------------------------------------- 1 | # aspect:js_files **/*.{ts,js} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/dts-ts-js/c.d.ts: -------------------------------------------------------------------------------- 1 | export { A } from '../dts-js/a'; 2 | 3 | export const C: 3; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/dts-ts-js/c.js: -------------------------------------------------------------------------------- 1 | export const C = 3; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/dts-ts-js/d.ts: -------------------------------------------------------------------------------- 1 | export const D = 4; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/js/BUILD.in: -------------------------------------------------------------------------------- 1 | # aspect:js_files *.js 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/js/e.js: -------------------------------------------------------------------------------- 1 | export const E = 5; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/js/f.js: -------------------------------------------------------------------------------- 1 | export * from '../dts-js/a'; 2 | 3 | export const F = 6; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/ts/g.ts: -------------------------------------------------------------------------------- 1 | export * from '../dts-ts-js/c'; 2 | 3 | export const G = 7; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/ts/h.d.ts: -------------------------------------------------------------------------------- 1 | export { A } from '../dts-js/a'; 2 | 3 | export const H: 8; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_dts_only_dep/ts/h.js: -------------------------------------------------------------------------------- 1 | export const H = 8; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_empty/BUILD.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/js/tests/simple_empty/BUILD.in -------------------------------------------------------------------------------- /gazelle/js/tests/simple_empty/BUILD.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/js/tests/simple_empty/BUILD.out -------------------------------------------------------------------------------- /gazelle/js/tests/simple_empty/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_empty") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_empty/mapped_kind/BUILD.out: -------------------------------------------------------------------------------- 1 | # aspect:map_kind ts_project ts_my_project //:defs.bzl 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_extra_files/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_extra_files/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_extra_files") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_extra_files/extra.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_extra_files/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_extra_files/styles.css: -------------------------------------------------------------------------------- 1 | div { 2 | background: red; 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_extra_files/subdir/index.ts: -------------------------------------------------------------------------------- 1 | export const SUB = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_extra_files/subdir/subextra.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_extra_files/subdir/substyles.css: -------------------------------------------------------------------------------- 1 | body { 2 | color: pink; 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file/BUILD.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/js/tests/simple_file/BUILD.in -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_file") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_file_exts") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/non-typed.cjs: -------------------------------------------------------------------------------- 1 | console.log('non-typed-cjs'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/non-typed.js: -------------------------------------------------------------------------------- 1 | console.log('non-typed-js'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/non-typed.mjs: -------------------------------------------------------------------------------- 1 | console.log('non-typed-mjs'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/non-typed.spec.js: -------------------------------------------------------------------------------- 1 | console.log('non-typed-js'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/non-typed.spec.mjs: -------------------------------------------------------------------------------- 1 | console.log('non-typed-mjs'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/non-x-typed.jsx: -------------------------------------------------------------------------------- 1 | console.log('non-typed-xjs'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/non-x-typed.spec.jsx: -------------------------------------------------------------------------------- 1 | console.log('non-typed-xjs'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/only-typed.d.cts: -------------------------------------------------------------------------------- 1 | export const VAL = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/only-typed.d.mts: -------------------------------------------------------------------------------- 1 | export const VAL = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/only-typed.d.ts: -------------------------------------------------------------------------------- 1 | export const VAL = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/opt-ins/non-typed.cjs: -------------------------------------------------------------------------------- 1 | console.log('non-typed-cjs'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/opt-ins/non-typed.js: -------------------------------------------------------------------------------- 1 | console.log('non-typed-js'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/opt-ins/non-typed.mjs: -------------------------------------------------------------------------------- 1 | import './non-typed'; 2 | import './non-typed.js'; 3 | 4 | console.log('non-typed-mjs'); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/opt-ins/non-typed.spec.cjs: -------------------------------------------------------------------------------- 1 | import './non-typed.cjs'; 2 | 3 | console.log('non-typed-js'); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/opt-ins/non-typed.spec.js: -------------------------------------------------------------------------------- 1 | import './non-typed'; 2 | import './non-typed.js'; 3 | 4 | console.log('non-typed-js'); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/opt-ins/non-typed.spec.mjs: -------------------------------------------------------------------------------- 1 | import './non-typed.mjs'; 2 | 3 | console.log('non-typed-mjs'); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/opt-ins/non-x-typed.jsx: -------------------------------------------------------------------------------- 1 | console.log('non-typed-xjs'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/opt-ins/non-x-typed.spec.jsx: -------------------------------------------------------------------------------- 1 | import './non-x-typed'; 2 | import './non-x-typed.js'; 3 | 4 | console.log('non-typed-xjs'); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/suffix.a.spec.ts: -------------------------------------------------------------------------------- 1 | console.log('suffix.a.spec.ts'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/suffix.a.ts: -------------------------------------------------------------------------------- 1 | console.log('suffix.spec.a.ts'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/suffix.ad.ts: -------------------------------------------------------------------------------- 1 | console.log('suffix.ad.ts'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/suffix.spec.not.ts: -------------------------------------------------------------------------------- 1 | console.log('suffix.spec.not.ts'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/suffix.spec.ts.spec.ts: -------------------------------------------------------------------------------- 1 | console.log('suffix.spec.ts.spec'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/suffix.spec.ts.ts: -------------------------------------------------------------------------------- 1 | console.log('suffix.spec.ts.ts'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/suffix.ts.spec.ts: -------------------------------------------------------------------------------- 1 | console.log('suffix.ts.spec.ts'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/suffix.ts.ts: -------------------------------------------------------------------------------- 1 | console.log('suffix.ts.ts'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/typed.cts: -------------------------------------------------------------------------------- 1 | console.log('typed-cts'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/typed.mts: -------------------------------------------------------------------------------- 1 | console.log('typed-mts'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/typed.spec.cts: -------------------------------------------------------------------------------- 1 | console.log('typed-cts'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/typed.spec.mts: -------------------------------------------------------------------------------- 1 | console.log('typed-mts'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/typed.spec.ts: -------------------------------------------------------------------------------- 1 | console.log('typed-ts'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/typed.ts: -------------------------------------------------------------------------------- 1 | console.log('typed-ts'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/x-typed.spec.tsx: -------------------------------------------------------------------------------- 1 | console.log('typed-tsx'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_file_exts/x-typed.tsx: -------------------------------------------------------------------------------- 1 | console.log('typed-tsx'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | 3 | # gazelle:js_files srcs/**/*.ts 4 | # gazelle:js_test_files tests/**/*.ts 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_globs") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/e2e/a.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/js/tests/simple_globs/e2e/a.ts -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/e2e/r.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/js/tests/simple_globs/e2e/r.ts -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/mix/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_files **/*.ts 2 | # gazelle:js_test_files **/*.spec.ts 3 | # gazelle:js_test_files **/*.mock.ts 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/mix/a.mock.ts: -------------------------------------------------------------------------------- 1 | import * as a from './a'; 2 | 3 | console.log(a); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/mix/a.spec.ts: -------------------------------------------------------------------------------- 1 | import * as a from './a'; 2 | 3 | console.log(a); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/mix/a.ts: -------------------------------------------------------------------------------- 1 | export const a = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/mix/tests_override/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_test_files **/*.{mock,spec,test}.ts 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/mix/tests_override/b.test.ts: -------------------------------------------------------------------------------- 1 | import * as b from './b'; 2 | 3 | console.log(b); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/mix/tests_override/b.ts: -------------------------------------------------------------------------------- 1 | export const foo = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/other.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/js/tests/simple_globs/other.ts -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/srcs/main.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs/tests/main.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from '../srcs/main'; 2 | 3 | console.log('TEST: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs_keep/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_globs_keep") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs_keep/mix/a.mock.ts: -------------------------------------------------------------------------------- 1 | import * as a from './a'; 2 | 3 | console.log(a); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs_keep/mix/a.spec.ts: -------------------------------------------------------------------------------- 1 | import * as a from './a'; 2 | 3 | console.log(a); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs_keep/mix/a.ts: -------------------------------------------------------------------------------- 1 | export const a = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs_keep/partial_keep/a.spec.ts: -------------------------------------------------------------------------------- 1 | import * as a from './a'; 2 | 3 | console.log(a); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs_keep/partial_keep/a.ts: -------------------------------------------------------------------------------- 1 | export const a = 123; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs_keep/partial_keep/b.spec.ts: -------------------------------------------------------------------------------- 1 | import * as a from './a'; 2 | 3 | console.log(a); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs_keep/srcs/main.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_globs_keep/tests/main.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from '../srcs/main'; 2 | 3 | console.log('TEST: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_import_disabled/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_import_disabled/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_import_disabled") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_import_disabled/disabled/a.ts: -------------------------------------------------------------------------------- 1 | export const a = 1; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_import_disabled/disabled/sub1/b.ts: -------------------------------------------------------------------------------- 1 | export const b = 2; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_import_generated/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_import_generated") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_imports") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/exts/both-dts.d.cts: -------------------------------------------------------------------------------- 1 | export let bcdts: true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/exts/both-dts.d.mts: -------------------------------------------------------------------------------- 1 | export let bmdts: true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/exts/both-dts.d.ts: -------------------------------------------------------------------------------- 1 | export let bdts: true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/exts/both-ts.cts: -------------------------------------------------------------------------------- 1 | export const bcts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/exts/both-ts.mts: -------------------------------------------------------------------------------- 1 | export const bmts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/exts/both-ts.ts: -------------------------------------------------------------------------------- 1 | export const bts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/exts/both-tsx.tsx: -------------------------------------------------------------------------------- 1 | export const btsx = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/exts/common-dts.d.cts: -------------------------------------------------------------------------------- 1 | export let cdts: true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/exts/common-ts.cts: -------------------------------------------------------------------------------- 1 | exports.cts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/exts/either-dts.d.ts: -------------------------------------------------------------------------------- 1 | export let edts: true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/exts/either-ts.ts: -------------------------------------------------------------------------------- 1 | export const ets = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/exts/module-dts.d.mts: -------------------------------------------------------------------------------- 1 | export let mdts: true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/exts/module-ts.mts: -------------------------------------------------------------------------------- 1 | export const mts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/side-effects/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/side-effects/index.ts: -------------------------------------------------------------------------------- 1 | import { Foo } from '../types'; 2 | 3 | const x: Foo = 123; 4 | 5 | window.X = x; 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/subdir/index.ts: -------------------------------------------------------------------------------- 1 | export const subdir_index = 'import me the index'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/subdir/lib.ts: -------------------------------------------------------------------------------- 1 | export const subdir_lib = 'import me'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/subdir/sd.d.ts: -------------------------------------------------------------------------------- 1 | export let sd: number; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/subdir/self-ref.ts: -------------------------------------------------------------------------------- 1 | export * from '.'; 2 | export * from '../subdir/.'; 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/subproject-backref/index.ts: -------------------------------------------------------------------------------- 1 | export * from './lib'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/subproject-index/index.ts: -------------------------------------------------------------------------------- 1 | export const subproject_index = 'import me the index'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/subproject/lib.ts: -------------------------------------------------------------------------------- 1 | export const subproject_lib = 'import me'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/subproject/sp.d.ts: -------------------------------------------------------------------------------- 1 | export let sp: number; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/t.d.ts: -------------------------------------------------------------------------------- 1 | export let t: number; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports/types/index.ts: -------------------------------------------------------------------------------- 1 | export type Foo = string | number; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_imports_cjs") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/exts/both-ts.cts: -------------------------------------------------------------------------------- 1 | export const bcts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/exts/both-ts.mts: -------------------------------------------------------------------------------- 1 | export const bmts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/exts/both-ts.ts: -------------------------------------------------------------------------------- 1 | export const bts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/exts/common-ts.cts: -------------------------------------------------------------------------------- 1 | exports.cts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/exts/either-ts.ts: -------------------------------------------------------------------------------- 1 | export const ets = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/exts/module-ts.mts: -------------------------------------------------------------------------------- 1 | export const mts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/side-effects/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/side-effects/index.ts: -------------------------------------------------------------------------------- 1 | const { Foo } = require('../types'); 2 | 3 | const x: Foo = 123; 4 | 5 | window.X = x; 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/subdir/index.ts: -------------------------------------------------------------------------------- 1 | exports.subdir_index = 'import me the index'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/subdir/lib.ts: -------------------------------------------------------------------------------- 1 | exports.subdir_lib = 'import me'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/subdir/sd.d.ts: -------------------------------------------------------------------------------- 1 | export let sd: number; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/subproject-index/index.ts: -------------------------------------------------------------------------------- 1 | exports.subproject_index = 'import me the index'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/subproject/lib.ts: -------------------------------------------------------------------------------- 1 | exports.subproject_lib = 'import me'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/subproject/sp.d.ts: -------------------------------------------------------------------------------- 1 | export let sp: number; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/t.d.ts: -------------------------------------------------------------------------------- 1 | export let t: number; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_cjs/types/index.ts: -------------------------------------------------------------------------------- 1 | export type Foo = string | number; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_imports_dynamic") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/exts/both-dts.d.cts: -------------------------------------------------------------------------------- 1 | export let bcdts: true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/exts/both-dts.d.mts: -------------------------------------------------------------------------------- 1 | export let bmdts: true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/exts/both-dts.d.ts: -------------------------------------------------------------------------------- 1 | export let bdts: true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/exts/both-ts.cts: -------------------------------------------------------------------------------- 1 | export const bcts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/exts/both-ts.mts: -------------------------------------------------------------------------------- 1 | export const bmts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/exts/both-ts.ts: -------------------------------------------------------------------------------- 1 | export const bts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/exts/common-dts.d.cts: -------------------------------------------------------------------------------- 1 | export let cdts: true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/exts/common-ts.cts: -------------------------------------------------------------------------------- 1 | exports.cts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/exts/either-dts.d.ts: -------------------------------------------------------------------------------- 1 | export let edts: true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/exts/either-ts.ts: -------------------------------------------------------------------------------- 1 | export const ets = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/exts/module-dts.d.mts: -------------------------------------------------------------------------------- 1 | export let mdts: true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/exts/module-ts.mts: -------------------------------------------------------------------------------- 1 | export const mts = true; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/lib.ts: -------------------------------------------------------------------------------- 1 | export const lib = 'lib'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/subdir/index.ts: -------------------------------------------------------------------------------- 1 | export const subdir_index = 'import me the index'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/subdir/lib.ts: -------------------------------------------------------------------------------- 1 | export const subdir_lib = 'import me'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/subproject/index.ts: -------------------------------------------------------------------------------- 1 | import('./lib').then(console.log); 2 | export const subproject_index = 'import from index: '; 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_imports_dynamic/subproject/lib.ts: -------------------------------------------------------------------------------- 1 | export const subproject_lib = 'import me'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_json_import/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_json_import/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_json_import") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_json_import/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "value", 3 | "n": 42 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_json_import/subdir/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": "sub" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_json_import/subdir/data2.json: -------------------------------------------------------------------------------- 1 | { 2 | "key2": "sub2" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_json_import/subdir/sub.ts: -------------------------------------------------------------------------------- 1 | export { key } from './data.json'; 2 | export { key2 } from './data2.json'; 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_json_import/subproject/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "n": 42 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_json_import/subproject/lib.spec.ts: -------------------------------------------------------------------------------- 1 | import * as data from './data.json'; 2 | 3 | console.log(data); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_json_import/subproject/lib.ts: -------------------------------------------------------------------------------- 1 | import * as data from './data.json'; 2 | 3 | console.log(data); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_module/BUILD.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/js/tests/simple_module/BUILD.in -------------------------------------------------------------------------------- /gazelle/js/tests/simple_module/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_module_repo_name/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_new_file/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_new_file") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_new_file/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_new_file/new.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_rule_naming_directives/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_project_naming_convention _my_{dirname} 2 | # gazelle:js_tests_naming_convention _my_{dirname}_tests 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_rule_naming_directives/inherited/inh.spec.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from './inh'; 2 | 3 | console.log('SPEC: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_rule_naming_directives/inherited/inh.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_rule_naming_directives/main.spec.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from './main'; 2 | 3 | console.log('SPEC: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/simple_rule_naming_directives/main.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_initial/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tests_initial") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_initial/main.spec.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from './main'; 2 | 3 | console.log('SPEC: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_initial/main.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_new/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tests_new") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_new/main.spec.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from './main'; 2 | 3 | console.log('SPEC: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_new/main.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_new/new.spec.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from './main'; 2 | 3 | console.log('SPEC: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_nolib/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tests_nolib") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_nolib/main.spec.ts: -------------------------------------------------------------------------------- 1 | console.log('TEST!!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_simple/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tests_simple") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_simple/main.spec.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from './main'; 2 | 3 | console.log('SPEC: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_simple/main.test.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from './main'; 2 | 3 | console.log('TEST: ', ANSWER >= 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_simple/main.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_simple/subproject-index/index.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_subdir/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_subdir/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tests_subdir") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_subdir/main.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_subdir/tests/main.spec.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from '../main'; 2 | 3 | console.log('TEST: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_subproject/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tests_subproject") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_subproject/main.ts: -------------------------------------------------------------------------------- 1 | export const ANSWER = 42; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tests_subproject/tests/main.spec.ts: -------------------------------------------------------------------------------- 1 | import { ANSWER } from '../main'; 2 | 3 | console.log('TEST: ', ANSWER === 42); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/ts_proto_library/BUILD.out: -------------------------------------------------------------------------------- 1 | load("@npm//:defs.bzl", "npm_link_all_packages") 2 | 3 | npm_link_all_packages(name = "node_modules") 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/ts_proto_library/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "ts_proto_library") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/ts_proto_library/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/ts_proto_library/proto_disabled_ts/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_proto disabled 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ts_proto_library/proto_exists_other/eliza.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package connectrpc.eliza.v1; 4 | 5 | service ElizaService { 6 | } 7 | -------------------------------------------------------------------------------- /gazelle/js/tests/ts_proto_library/src/index.ts: -------------------------------------------------------------------------------- 1 | export { ElizaService } from '../proto/eliza_connect'; 2 | export { SayRequest } from '../proto/eliza_pb'; 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/ts_proto_library_deps/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "ts_proto_library_ignore") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/ts_proto_library_ignore/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_ignore_imports does-not-exist.proto 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ts_proto_library_ignore/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "ts_proto_library_ignore") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/ts_proto_library_ignore/lib.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | import "does-not-exist.proto"; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/ts_proto_library_imported/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "ts_proto_library_ignore") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/ts_proto_library_imported/main.ts: -------------------------------------------------------------------------------- 1 | import './lib_pb' 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/ts_proto_library_imported/sub/index.ts: -------------------------------------------------------------------------------- 1 | import '../lib_pb' 2 | import '../lib_connect' 3 | import '../lib-MyService_connectquery' 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_attrs_inherited/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_attrs_inherited") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_attrs_inherited/extends/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_attrs_inherited/extends/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_attrs_inherited/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_attrs_inherited/overrides/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_attrs_inherited/overrides/removed/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_attrs_inherited/overrides/removed/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_baseurl/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_baseurl/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_rootdir") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_baseurl/src/inheriter/lib/d/index.ts: -------------------------------------------------------------------------------- 1 | export const D = 'd'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_baseurl/src/inheriter/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "include": ["./**/*.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_baseurl/src/lib/a/index.ts: -------------------------------------------------------------------------------- 1 | export const A = 'a'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_baseurl/src/lib/b/index.ts: -------------------------------------------------------------------------------- 1 | export const B = 'b'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_baseurl/src/lib/c/first/c1.ts: -------------------------------------------------------------------------------- 1 | export const C1 = 'c1'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_baseurl/src/lib/c/second/c2.ts: -------------------------------------------------------------------------------- 1 | export const C2 = 'c2'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_baseurl/src/projects/p1/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_baseurl/src/projects/p1/index.ts: -------------------------------------------------------------------------------- 1 | import { NestedA } from 'a/a'; 2 | 3 | console.log(NestedA); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_baseurl/src/projects/p1/nested_lib/a/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_baseurl/src/projects/p1/nested_lib/a/a.ts: -------------------------------------------------------------------------------- 1 | export const NestedA = 'internal lib'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_baseurl/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": "./src" 4 | }, 5 | "include": ["./src/**/*.ts"] 6 | } 7 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_composite/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_composite") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_composite/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_composite/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_custom_file_name/BUILD.out: -------------------------------------------------------------------------------- 1 | load("@npm//:defs.bzl", "npm_link_all_packages") 2 | 3 | npm_link_all_packages(name = "node_modules") 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_custom_file_name/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_custom_file_name") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_custom_file_name/custom_file/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_tsconfig_file bazel.tsconfig.json 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_custom_file_name/custom_file/bazel.tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "importHelpers": true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_custom_file_name/custom_file/index.ts: -------------------------------------------------------------------------------- 1 | console.log(...[1, 2, 3]) 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_custom_file_name/default_file/index.ts: -------------------------------------------------------------------------------- 1 | console.log(...[1, 2, 3]) 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_custom_file_name/default_file/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "importHelpers": true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_declaration_dir/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_outdir") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_declaration_dir/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_declaration_dir/root/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_deps/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_deps/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_deps") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_deps/extends/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_deps/extends_ignored/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_ignore_imports bad 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_deps/extends_ignored/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "bad" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_deps/extends_npm/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "fastify-tsconfig" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_deps/refs/a/index.ts: -------------------------------------------------------------------------------- 1 | export const A = 'a'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_deps/refs/a/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_deps/refs/b/index.ts: -------------------------------------------------------------------------------- 1 | export const B = 'b'; 2 | export * from '../a'; 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_deps/refs/b/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.json", 3 | "references": [{ "path": "../a" }] 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_deps/refs/c/index.ts: -------------------------------------------------------------------------------- 1 | export const C = 'C'; 2 | export * from '../a' 3 | export * from '../b'; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_deps/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true 4 | }, 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_deps/types/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_ignore_imports ignored 2 | # gazelle:js_ignore_imports @test/ignored 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_disabled_manual/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_disabled_manual") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_disabled_manual/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_emit_declaration_only/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_incremental/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_incremental") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_incremental/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_incremental/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "incremental": true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_invalid/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_invalid") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_invalid/expectedStdout.txt: -------------------------------------------------------------------------------- 1 | Failed to parse tsconfig file tsconfig.json: ERR: position:0 invalid element: this is ba 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_invalid/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_invalid/tsconfig.json: -------------------------------------------------------------------------------- 1 | this is bad json -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_jsx/BUILD.out: -------------------------------------------------------------------------------- 1 | load("@npm//:defs.bzl", "npm_link_all_packages") 2 | 3 | npm_link_all_packages(name = "node_modules") 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_jsx/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_jsx") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_jsx/no-jsx/lib.tsx: -------------------------------------------------------------------------------- 1 | export default ; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_jsx/no-jsx/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": {} 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_jsx/no-tsconfig/lib.tsx: -------------------------------------------------------------------------------- 1 | export default ; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_jsx/package.json: -------------------------------------------------------------------------------- 1 | {"dependencies":{"react":"^18.3.1"}} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_jsx/preserve/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "jsx": "preserve" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_jsx/react-jsx/rjsx.tsx: -------------------------------------------------------------------------------- 1 | export default ; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_jsx/react-jsx/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "jsx": "react-jsx" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_jsx/react/no-jsx/s.ts: -------------------------------------------------------------------------------- 1 | export default ; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_jsx/react/r.tsx: -------------------------------------------------------------------------------- 1 | export default ; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_jsx/react/sub/s.tsx: -------------------------------------------------------------------------------- 1 | export default ; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_jsx/react/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "jsx": "react" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_lax_json/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_lax_json/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_lax_json") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_lax_json/src/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_manual/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_manual") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_manual/a/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_tsconfig enabled 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_manual/a/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.node.json" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_manual/b/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_tsconfig enabled 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_manual/b/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.web.json" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_manual/tsconfig.node.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_manual/tsconfig.web.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_noEmit/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_outdir") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_noEmit/extender/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_noEmit/extender/tsconfig.json: -------------------------------------------------------------------------------- 1 | {"extends": "../tsconfig.json"} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_noEmit/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_noEmit/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "noEmit": true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_nomore_configs/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_nomore_configs") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_nomore_configs/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_optout/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_tsconfig_ignore allow_js 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_optout/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_optout") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_optout/ignore_dirs/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_optout/ignore_tsconfig/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_tsconfig_ignore tsconfig 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_optout/ignore_tsconfig/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_optout/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_optout/subdir/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_optout/subdir/removed/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_optout/subdir/removed/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_outdir/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_outdir") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_outdir/extender/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_outdir/extender/tsconfig.json: -------------------------------------------------------------------------------- 1 | {"extends": "../tsconfig.json"} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_outdir/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_outdir/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "outDir": "dist" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_outdir_genfiles/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_outdir_genfiles") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_outdir_genfiles/main.ts: -------------------------------------------------------------------------------- 1 | import * as x from './x' 2 | import * as foo from './generated' 3 | 4 | console.log('Hello, world!', x, foo); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_rootdir") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/custom/nested/test.ts: -------------------------------------------------------------------------------- 1 | import { A as AliasA } from 'alias-a'; 2 | 3 | console.log(AliasA); 4 | 5 | export const Test = 'Test'; 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/fallback/f1.ts: -------------------------------------------------------------------------------- 1 | import { A } from 'lib/a'; 2 | 3 | export const F = 'f1' + A; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/fallback/f2/a.ts: -------------------------------------------------------------------------------- 1 | export const F2 = '2'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/inheriter/main.ts: -------------------------------------------------------------------------------- 1 | import { A } from 'alias-a'; 2 | import { C1 } from 'multi-c/c1'; 3 | 4 | console.log(A, C1); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/inheriter/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/lib/a/index.ts: -------------------------------------------------------------------------------- 1 | export const A = 'a'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/lib/b/index.ts: -------------------------------------------------------------------------------- 1 | export const B = 'b'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/lib/c/first/c1.ts: -------------------------------------------------------------------------------- 1 | export const C1 = 'c1'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/lib/c/second/c2.ts: -------------------------------------------------------------------------------- 1 | export const C2 = 'c2'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/overwriter/BUILD.in: -------------------------------------------------------------------------------- 1 | """ 2 | Extend and overwrite some of a parent tsconfig 3 | """ -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/overwriter/main.ts: -------------------------------------------------------------------------------- 1 | import { A } from 'overwritten/a'; 2 | import { C1 } from 'star/c1'; 3 | 4 | console.log(A, C1); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/overwriter2/BUILD.in: -------------------------------------------------------------------------------- 1 | """ 2 | Replace a parent tsconfig (without extending) 3 | """ -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_paths/overwriter2/src/overlib/o.ts: -------------------------------------------------------------------------------- 1 | export const C = 'c'; 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_pnpm_ref") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref/extends/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@tsconfig-test/tools/tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - extends 3 | - tools 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref/tools/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@tsconfig-test/tools", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref/tools/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref_rerooted/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | # gazelle:js_pnpm_lockfile locks/pnpm-lock.yaml 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref_rerooted/BUILD.out: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | # gazelle:js_pnpm_lockfile locks/pnpm-lock.yaml 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref_rerooted/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_pnpm_ref_rerooted") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref_rerooted/extends/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@tsconfig-test/tools/tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref_rerooted/locks/BUILD.out: -------------------------------------------------------------------------------- 1 | load("@npm//:defs.bzl", "npm_link_all_packages") 2 | 3 | npm_link_all_packages(name = "node_modules") 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref_rerooted/locks/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref_rerooted/locks/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - . 3 | - ../extends 4 | - ../extends2 5 | - ../tools 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref_rerooted/tools/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@tsconfig-test/tools", 3 | "private": true 4 | } 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_pnpm_ref_rerooted/tools/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_rootdir/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_rootdir") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_rootdir/src-prefix/pre-src.ts: -------------------------------------------------------------------------------- 1 | // A directory starting with the 'rootDir' name, also within a sub 'src' directory. 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_rootdir/src/main.ts: -------------------------------------------------------------------------------- 1 | import * as foo from './generated' 2 | 3 | console.log('Hello, world!', foo); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_rootdir/subconfig/not-me.ts: -------------------------------------------------------------------------------- 1 | // not me despite an extra tsconfig.json which would include it if a BUILD was here 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_rootdir/subconfig/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "rootDir": "." 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_rootdir/subdir/src/sub-src.ts: -------------------------------------------------------------------------------- 1 | // A file within a sub 'src' directory. 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_rootdir/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "rootDir": "src" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_rootdirs/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_rootdirs/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_rootdirs") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_rootdirs/roots/en/lang/strings.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | hello: 'hello!', 3 | }; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_rootdirs/roots/fr/lang/strings.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | hello: 'hello! | fr', 3 | }; 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_rootdirs/src2/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:generation_mode update_only 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_rootdirs/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "rootDirs": ["src", "roots/en"] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_tsbuildinfo/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_tsbuildinfo") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_tsbuildinfo/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_tslib/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "tsconfig_tslib") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_tslib/index.ts: -------------------------------------------------------------------------------- 1 | console.log(...[1, 2, 3]) 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/tsconfig_tslib/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "importHelpers": true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /gazelle/js/tests/validate_import_statements/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "validate_import_statements") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/validate_import_statements/expectedExitCode.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /gazelle/js/tests/validate_import_statements/main.ts: -------------------------------------------------------------------------------- 1 | import { STR } from 'bad-import'; 2 | import { STR2 } from 'bad-import2'; 3 | 4 | console.log(STR, STR2); 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/validate_import_statements_off/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_validate_import_statements off -------------------------------------------------------------------------------- /gazelle/js/tests/validate_import_statements_off/main.ts: -------------------------------------------------------------------------------- 1 | import { STR } from 'bad-import'; 2 | 3 | console.log(STR); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/validate_import_statements_warn/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:js_validate_import_statements warn -------------------------------------------------------------------------------- /gazelle/js/tests/validate_import_statements_warn/main.ts: -------------------------------------------------------------------------------- 1 | import { STR } from 'bad-import'; 2 | 3 | console.log(STR); 4 | -------------------------------------------------------------------------------- /gazelle/js/tests/visibility/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "visibility") 3 | -------------------------------------------------------------------------------- /gazelle/js/tests/visibility/a/BUILD.in: -------------------------------------------------------------------------------- 1 | # remove visibility completely 2 | # gazelle:js_visibility 3 | 4 | # other visibility is inherited 5 | -------------------------------------------------------------------------------- /gazelle/js/tests/visibility/a/alib.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/visibility/b/blib.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/tests/visibility/main.ts: -------------------------------------------------------------------------------- 1 | console.log('No Imports!'); 2 | -------------------------------------------------------------------------------- /gazelle/js/typescript/tests/extends-404.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./does-not-exist.json" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/typescript/tests/extends-base.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./base.tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/typescript/tests/extends-empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/typescript/tests/extends-foo.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "foo" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/typescript/tests/extends-recursive.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./extends-recursive.json" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/js/typescript/tests/subdir/extends-base.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../base.tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/bin/BUILD.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/gazelle/kotlin/tests/bin/BUILD.in -------------------------------------------------------------------------------- /gazelle/kotlin/tests/bin/Hello.kt: -------------------------------------------------------------------------------- 1 | fun funcBefore() {} 2 | 3 | fun main() { 4 | println("Hello world!") 5 | } -------------------------------------------------------------------------------- /gazelle/kotlin/tests/bin/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "bin") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/deep_import/BUILD.in: -------------------------------------------------------------------------------- 1 | # TODO(gazelle:)java_maven_repository_name vendor_java 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/deep_import/BUILD.out: -------------------------------------------------------------------------------- 1 | # TODO(gazelle:)java_maven_repository_name vendor_java 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_disable/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "gazelle_disable") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_disable/main.kt: -------------------------------------------------------------------------------- 1 | // no imports! 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_disable/sub/BUILD.in: -------------------------------------------------------------------------------- 1 | #gazelle:kotlin disabled -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_disable/sub/BUILD.out: -------------------------------------------------------------------------------- 1 | #gazelle:kotlin disabled 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_disable/sub/disable-overriden/BUILD.in: -------------------------------------------------------------------------------- 1 | #gazelle:kotlin enabled -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_disable_conflict/BUILD.in: -------------------------------------------------------------------------------- 1 | #gazelle:kotlin disabled 2 | 3 | filegroup( 4 | name = "gazelle_disable_conflict", 5 | srcs = [], 6 | ) -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_disable_conflict/BUILD.out: -------------------------------------------------------------------------------- 1 | #gazelle:kotlin disabled 2 | 3 | filegroup( 4 | name = "gazelle_disable_conflict", 5 | srcs = [], 6 | ) -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_disable_conflict/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "gazelle_disable_conflict") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_exclude_directive/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "gazelle_exclude_directive") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_exclude_directive/foo.ig.kt: -------------------------------------------------------------------------------- 1 | import 'does-not-exist3'; 2 | 3 | // Ignored due to root *.ig.kt 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_exclude_directive/subdir-included/included-lib.kt: -------------------------------------------------------------------------------- 1 | // NOT ignored despite main.kt being ignored elsewhere 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_exclude_directive/subdir-included/sub-ignored.kt: -------------------------------------------------------------------------------- 1 | // NOT ignored despite sub-ignored.kt being ignored elsewhere 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_exclude_directive/subdir/file1.ig.kt: -------------------------------------------------------------------------------- 1 | import 'does-not-exist3'; 2 | 3 | // Ignored due to root *.ig.kt 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_exclude_directive/subdir/ignored.kt: -------------------------------------------------------------------------------- 1 | import 'does-not-exist3'; 2 | 3 | // ignored due to parent BUILD 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_exclude_directive/subproject-included/main.kt: -------------------------------------------------------------------------------- 1 | // NOT ignored despite main.kt being ignored elsewhere 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_exclude_directive/subproject-included/sub-ignored.kt: -------------------------------------------------------------------------------- 1 | // NOT ignored despite sub-ignored.kt being ignored elsewhere 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_exclude_directive/subproject/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:exclude sub-ignored.kt -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_exclude_directive/subproject/BUILD.out: -------------------------------------------------------------------------------- 1 | # gazelle:exclude sub-ignored.kt 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_exclude_directive/subproject/file2.ig.kt: -------------------------------------------------------------------------------- 1 | import 'does-not-exist2'; 2 | 3 | // Ignored due to root *.ig.kt 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gazelle_exclude_directive/subproject/sub-ignored.kt: -------------------------------------------------------------------------------- 1 | import 'does-not-exist2'; 2 | 3 | // ignored due to local BUILD 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gcsutil/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:resolve kotlin com.google.cloud.storage.contrib.nio @maven//:com_google_cloud_google_cloud_nio 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/gcsutil/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_file") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/.test-bazelignore: -------------------------------------------------------------------------------- 1 | sub1/s1.kt 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:gitignore enabled 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "ignore_config_files") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub1/direct-ig.kt: -------------------------------------------------------------------------------- 1 | package test.bad 2 | 3 | bad syntax 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub1/index.kt: -------------------------------------------------------------------------------- 1 | package test.sub1.nested -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub1/nested/star-ig.kt: -------------------------------------------------------------------------------- 1 | // within a /nested and should be included -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub1/nested/y.starstar-ig.kt: -------------------------------------------------------------------------------- 1 | package test.bad 2 | 3 | bad syntax 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub1/s1.kt: -------------------------------------------------------------------------------- 1 | package test.bad 2 | 3 | bad syntax 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub1/star-ig.kt: -------------------------------------------------------------------------------- 1 | package test.bad 2 | 3 | bad syntax 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub1/y.starstar-ig.kt: -------------------------------------------------------------------------------- 1 | package test.bad 2 | 3 | bad syntax 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub2/direct-ig.kt: -------------------------------------------------------------------------------- 1 | package test.sub2 2 | 3 | // But only directly ignored in other folder -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub2/index.kt: -------------------------------------------------------------------------------- 1 | package test.sub2 -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub2/nested/index.kt: -------------------------------------------------------------------------------- 1 | package test.sub2.nested -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub2/nested/x.nested-ig.kt: -------------------------------------------------------------------------------- 1 | package test.bad 2 | 3 | bad syntax 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub2/nested/y.starstar-ig.kt: -------------------------------------------------------------------------------- 1 | package test.bad 2 | 3 | bad syntax 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub2/not.nested-ig.kt: -------------------------------------------------------------------------------- 1 | package test.sub2 -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub2/star-ig.kt: -------------------------------------------------------------------------------- 1 | package test.bad 2 | 3 | bad syntax 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/ignore_config_files/sub2/y.starstar-ig.kt: -------------------------------------------------------------------------------- 1 | package test.bad 2 | 3 | bad syntax 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/local_deps/BUILD.in: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//visibility:public"]) -------------------------------------------------------------------------------- /gazelle/kotlin/tests/local_deps/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "local_deps") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/local_deps/sub1/A.kt: -------------------------------------------------------------------------------- 1 | package test.a 2 | 3 | open class Shape 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/native_deps/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "native_deps") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/rules_conflicting_name/BUILD.in: -------------------------------------------------------------------------------- 1 | unknown( 2 | name = "rules_conflicting_name", 3 | ) 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/rules_conflicting_name/BUILD.out: -------------------------------------------------------------------------------- 1 | unknown( 2 | name = "rules_conflicting_name", 3 | ) 4 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/rules_conflicting_name/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "rules_conflicting_name") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/rules_conflicting_name/expectedExitCode.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /gazelle/kotlin/tests/rules_conflicting_name_mapped_kind/expectedExitCode.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /gazelle/kotlin/tests/rules_jvm-maven/BUILD.in: -------------------------------------------------------------------------------- 1 | # TODO(gazelle:)java_maven_repository_name vendor_java 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/rules_jvm-maven/BUILD.out: -------------------------------------------------------------------------------- 1 | # TODO(gazelle:)java_maven_repository_name vendor_java 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_empty_maven/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_empty_maven") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_empty_maven/lib.kt: -------------------------------------------------------------------------------- 1 | // Hello World Program 2 | 3 | fun hello() { 4 | println("Hello world!") 5 | } -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_empty_maven/libs.kts: -------------------------------------------------------------------------------- 1 | // Hello World Program 2 | 3 | fun hello() { 4 | println("Hello world!") 5 | } -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_empty_maven/maven_install.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_file/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_file") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_file/lib.kt: -------------------------------------------------------------------------------- 1 | // Hello World Program 2 | 3 | fun hello() { 4 | println("Hello world!") 5 | } -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_file/libs.kts: -------------------------------------------------------------------------------- 1 | // Hello World Program 2 | 3 | fun hello() { 4 | println("Hello world!") 5 | } -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_file2/BUILD.in: -------------------------------------------------------------------------------- 1 | # gazelle:resolve kotlin com.google.cloud.storage.contrib.nio @maven//:com_google_cloud_google_cloud_nio -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_file2/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_file") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_module/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_module_repo") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_module/lib.kt: -------------------------------------------------------------------------------- 1 | // Hello World Program 2 | 3 | fun hello() { 4 | println("Hello world!") 5 | } -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_module/libs.kts: -------------------------------------------------------------------------------- 1 | // Hello World Program 2 | 3 | fun hello() { 4 | println("Hello world!") 5 | } -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_module_repo_name/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_module_repo") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_module_repo_name/lib.kt: -------------------------------------------------------------------------------- 1 | // Hello World Program 2 | 3 | fun hello() { 4 | println("Hello world!") 5 | } -------------------------------------------------------------------------------- /gazelle/kotlin/tests/simple_module_repo_name/libs.kts: -------------------------------------------------------------------------------- 1 | // Hello World Program 2 | 3 | fun hello() { 4 | println("Hello world!") 5 | } -------------------------------------------------------------------------------- /gazelle/kotlin/tests/unknown_imports/BUILD.in: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//visibility:public"]) -------------------------------------------------------------------------------- /gazelle/kotlin/tests/unknown_imports/WORKSPACE: -------------------------------------------------------------------------------- 1 | # This is a Bazel workspace for the Gazelle test data. 2 | workspace(name = "simple_file") 3 | -------------------------------------------------------------------------------- /gazelle/kotlin/tests/unknown_imports/lib.kt: -------------------------------------------------------------------------------- 1 | import lib.not.found 2 | 3 | fun lib() { 4 | 5 | } -------------------------------------------------------------------------------- /gazelle/kotlin/tests/unknown_imports/main.kt: -------------------------------------------------------------------------------- 1 | import foo.bar 2 | 3 | fun main() { 4 | println("Hello world!") 5 | } -------------------------------------------------------------------------------- /patches/BUILD.bazel: -------------------------------------------------------------------------------- 1 | exports_files(glob(["**/*.patch"])) 2 | -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - docs/plugins 3 | -------------------------------------------------------------------------------- /release/delivery.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -o errexit -o nounset -o pipefail 4 | 5 | echo "Demostration delivery target" 6 | -------------------------------------------------------------------------------- /third_party/BUILD.bazel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspect-build/aspect-cli/d89f6e83dc94ccd926d718a0506fd944f5826802/third_party/BUILD.bazel -------------------------------------------------------------------------------- /yamlfmt.yaml: -------------------------------------------------------------------------------- 1 | gitignore_excludes: true 2 | doublestar: true 3 | exclude: 4 | - gazelle/js/tests/**/*.yaml 5 | --------------------------------------------------------------------------------