@@ -25,72 +25,80 @@ LIST_INSTALLED_PACKAGES ?= $(TOOLS_PKGS_DIR)/pkgs/installed/bin/cli
2525LIST_INSTALLED_PACKAGES_FLAGS ?=
2626
2727
28- # TARGETS #
28+ # RULES #
2929
30- # List installed package dependencies.
30+ # /
31+ # Prints a list of all installed package dependencies.
3132#
32- # This target prints a list of all installed package dependencies.
33-
33+ # @example
34+ # make list-pkgs-installed
35+ # /
3436list-pkgs-installed : $(NODE_MODULES ) $(LIST_INSTALLED_PACKAGES )
3537 $(QUIET ) NODE_PATH=" $( NODE_PATH) " $(NODE ) $(LIST_INSTALLED_PACKAGES ) $(LIST_INSTALLED_PACKAGES_FLAGS ) $(ROOT_DIR )
3638
3739.PHONY : list-pkgs-installed
3840
39-
40- # List installed package dependencies.
41+ # /
42+ # Prints the logical dependency tree for all installed package dependencies.
4143#
42- # This target prints the logical dependency tree for all installed package dependencies.
43-
44+ # @example
45+ # make list-pkgs-installed-logical-tree
46+ # /
4447list-pkgs-installed-logical-tree : $(NODE_MODULES )
4548 $(QUIET ) $(NPM ) ls
4649
4750.PHONY : list-pkgs-installed-logical-tree
4851
49-
50- # List installed production package dependencies.
52+ # /
53+ # Prints the logical dependency tree for installed package dependencies list in the `dependencies` tree of the root `package.json` .
5154#
52- # This target prints the logical dependency tree for installed package dependencies list in the `dependencies` tree of the root `package.json`.
53-
55+ # @example
56+ # make list-pkgs-installed-logical-tree-prod
57+ # /
5458list-pkgs-installed-logical-tree-prod : $(NODE_MODULES )
5559 $(QUIET ) $(NPM ) ls --prod
5660
5761.PHONY : list-pkgs-installed-logical-tree-prod
5862
59-
60- # List installed development package dependencies.
63+ # /
64+ # Prints the logical dependency tree for installed package dependencies list in the `devDependencies` tree of the root `package.json` .
6165#
62- # This target prints the logical dependency tree for installed package dependencies list in the `devDependencies` tree of the root `package.json`.
63-
66+ # @example
67+ # make list-pkgs-installed-logical-tree-dev
68+ # /
6469list-pkgs-installed-logical-tree-dev : $(NODE_MODULES )
6570 $(QUIET ) $(NPM ) ls --dev
6671
6772.PHONY : list-pkgs-installed-logical-tree-dev
6873
69-
70- # List installed package dependencies.
74+ # /
75+ # Prints the logical dependency tree for all installed package dependencies as JSON .
7176#
72- # This target prints the logical dependency tree for all installed package dependencies as JSON.
73-
77+ # @example
78+ # make list-pkgs-installed-logical-tree-json
79+ # /
7480list-pkgs-installed-logical-tree-json : $(NODE_MODULES )
7581 $(QUIET ) $(NPM ) ls --json
7682
7783.PHONY : list-pkgs-installed-logical-tree-json
7884
79-
80- # List installed production package dependencies.
85+ # /
86+ # Prints the logical dependency tree as JSON for installed package dependencies list in the `dependencies` tree of the root `package.json` .
8187#
82- # This target prints the logical dependency tree as JSON for installed package dependencies list in the `dependencies` tree of the root `package.json`.
83-
88+ # @example
89+ # make list-pkgs-installed-logical-tree-prod-json
90+ # /
8491list-pkgs-installed-logical-tree-prod-json : $(NODE_MODULES )
8592 $(QUIET ) $(NPM ) ls --prod --json
8693
8794.PHONY : list-pkgs-installed-logical-tree-prod-json
8895
89-
90- # List installed development package dependencies.
96+ # /
97+ # Prints the logical dependency tree as JSON for installed package dependencies list in the `devDependencies` tree of the root `package.json` .
9198#
92- # This target prints the logical dependency tree as JSON for installed package dependencies list in the `devDependencies` tree of the root `package.json`.
93-
99+ # @example
100+ # make list-pkgs-installed-logical-tree-dev-json
101+ # /
94102list-pkgs-installed-logical-tree-dev-json : $(NODE_MODULES )
95103 $(QUIET ) $(NPM ) ls --dev --json
96104
0 commit comments