Skip to content

Commit 19c19d1

Browse files
committed
Add recipe for listing pkgs without TypeScript declarations
1 parent ed4cb69 commit 19c19d1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tools/make/lib/ls/pkgs/types.mk

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,12 @@ list-pkgs-types: $(LIST_PACKAGE_TYPES) $(NODE_MODULES)
3535
$(QUIET) NODE_PATH="$(NODE_PATH)" $(NODE) $(LIST_PACKAGE_TYPES) $(LIST_PACKAGE_TYPES_FLAGS) $(SRC_DIR)
3636

3737
.PHONY: list-pkgs-types
38+
39+
# List all packages without TypeScript declarations.
40+
#
41+
# This target prints a newline-delimited list of all packages without TypeScript declarations.
42+
43+
list-pkgs-without-types:
44+
$(QUIET) comm -23 <($(MAKE) -f $(this_file) list-lib-pkgs | sort) <($(MAKE) -f $(this_file) list-pkgs-types | sort)
45+
46+
.PHONY: list-pkgs-without-types

0 commit comments

Comments
 (0)