mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
* refact(NA): apply root_input_dir=src to each already created pkg * refact(NA): update package generator * fix(NA): correctly use rootDir * fix(NA): use root input dir on latest introduced pkgs for jsts_transpiler macro * chore(NA): merge with main Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
BUILD.bazel | ||
jest.config.js | ||
package.json | ||
README.md | ||
tsconfig.json |
@kbn/find-used-node-modules
Simple abstraction over the @babel/parser
and the @babel/traverse
to find the node_modules used by a list of files.
findUsedNodeModules(resolver, entryPaths): string[]
Pass an ImportResolver
instance from @kbn/import-resolver
and a list of absolute paths to JS files to get the list of node_modules
used by those files and the files the import.