kibana/packages/kbn-ui-shared-deps-npm
Spencer a3b2757e4e
[type-summarizer] reimplement for broader support (#135163)
* [type-summarizer] reimplement for broader support

* Enable sourceMaps in all packages

* include naming collision in summarizePackage test

* fix readmes

* remove unnecessary transient dependency

* remove code that was commented out

* remove outdated todo comment

* ensure errors triggered by untyped-exports are ligible

* remove unused import

* break out snippet generation from AstIndexer

* refactor several massive files into smaller pieces and add more inline docs

* fix typos

* update jest snapshots

* add sections to readme that points people to the useful parts of the source code along with a high-level overview of how the type-summarizer works

* remove --dump flag, it doesn't work

* use decName instead of calling names.get a second time

* include `export` as invalid name
2022-07-06 13:48:45 -05:00
..
src chore(NA): splits types from code on @kbn/ui-shared-deps-npm (#122788) 2022-01-13 02:23:18 +00:00
BUILD.bazel [type-summarizer] reimplement for broader support (#135163) 2022-07-06 13:48:45 -05:00
package.json chore(NA): splits types from code on @kbn/ui-shared-deps-npm (#122788) 2022-01-13 02:23:18 +00:00
README.mdx docs(NA): adds @kbn/ui-shared-deps-npm into ops devdocs (#132761) 2022-05-25 19:28:40 -07:00
tsconfig.json [type-summarizer] reimplement for broader support (#135163) 2022-07-06 13:48:45 -05:00
webpack.config.js Move node-libs-browser to ui-shared-deps-npm (#130877) 2022-04-26 20:27:30 +02:00

---
id: kibDevDocsOpsUiSharedDepsNpm
slug: /kibana-dev-docs/ops/ui-shared-deps-npm
title: "@kbn/ui-shared-deps-npm"
description: A package to share single instances of npm external packages across bundles
date: 2022-05-24
tags: ['kibana', 'dev', 'contributor', 'operations', 'ui', 'shared', 'deps', 'npm']
---

This is a package of shared dependencies that must only have a single instance and are from the NPM external to 
the Kibana repository. To consume them, import the package and merge the `externals` export into your webpack 
externals config so that all references to the supported modules will be remapped to use the global versions.