From f93090c6fdfb984167d19ec42c5856f4c239a9c4 Mon Sep 17 00:00:00 2001 From: Michael Puehringer Date: Sat, 24 Feb 2024 16:30:42 +0100 Subject: [PATCH] Update imports --- package.json | 244 ++++----------------------------------------------- 1 file changed, 18 insertions(+), 226 deletions(-) diff --git a/package.json b/package.json index c0a4734ee..47f2d2ad5 100644 --- a/package.json +++ b/package.json @@ -19,232 +19,24 @@ "main": "src/index.ts", "types": "src/index.ts", "exports": { - ".": { - "types": [ - "./dist/index.d.ts", - "./src/index.ts" - ], - "import": [ - "./dist/index.js", - "./src/index.ts" - ], - "default": [ - "./dist/index.js", - "./src/index.ts" - ] - }, - "./app": { - "types": [ - "./dist/app/index.d.ts", - "./src/app/index.ts" - ], - "import": [ - "./dist/app/index.js", - "./src/app/index.ts" - ], - "default": [ - "./dist/app/index.js", - "./src/app/index.ts" - ] - }, - "./base": { - "types": [ - "./dist/base/index.d.ts", - "./src/base/index.ts" - ], - "import": [ - "./dist/base/index.js", - "./src/base/index.ts" - ], - "default": [ - "./dist/base/index.js", - "./src/base/index.ts" - ] - }, - "./components": { - "types": [ - "./dist/components/index.d.ts", - "./src/components/index.ts" - ], - "import": [ - "./dist/components/index.js", - "./src/components/index.ts" - ], - "default": [ - "./dist/components/index.js", - "./src/components/index.ts" - ] - }, - "./hooks": { - "types": [ - "./dist/hooks/index.d.ts", - "./src/hooks/index.ts" - ], - "import": [ - "./dist/hooks/index.js", - "./src/hooks/index.ts" - ], - "default": [ - "./dist/hooks/index.js", - "./src/hooks/index.ts" - ] - }, - "./i18n": { - "types": [ - "./dist/i18n/index.d.ts", - "./src/i18n/index.ts" - ], - "import": [ - "./dist/i18n/index.js", - "./src/i18n/index.ts" - ], - "default": [ - "./dist/i18n/index.js", - "./src/i18n/index.ts" - ] - }, - "./idtype": { - "types": [ - "./dist/idtype/index.d.ts", - "./src/idtype/index.ts" - ], - "import": [ - "./dist/idtype/index.js", - "./src/idtype/index.ts" - ], - "default": [ - "./dist/idtype/index.js", - "./src/idtype/index.ts" - ] - }, - "./plotly/full": { - "types": [ - "./dist/plotly/full/index.d.ts", - "./src/plotly/full/index.ts" - ], - "import": [ - "./dist/plotly/full/index.js", - "./src/plotly/full/index.ts" - ], - "default": [ - "./dist/plotly/full/index.js", - "./src/plotly/full/index.ts" - ] - }, - "./plotly": { - "types": [ - "./dist/plotly/index.d.ts", - "./src/plotly/index.tsx" - ], - "import": [ - "./dist/plotly/index.js", - "./src/plotly/index.tsx" - ], - "default": [ - "./dist/plotly/index.js", - "./src/plotly/index.tsx" - ] - }, - "./plugin": { - "types": [ - "./dist/plugin/index.d.ts", - "./src/plugin/index.ts" - ], - "import": [ - "./dist/plugin/index.js", - "./src/plugin/index.ts" - ], - "default": [ - "./dist/plugin/index.js", - "./src/plugin/index.ts" - ] - }, - "./ranking": { - "types": [ - "./dist/ranking/index.d.ts", - "./src/ranking/index.ts" - ], - "import": [ - "./dist/ranking/index.js", - "./src/ranking/index.ts" - ], - "default": [ - "./dist/ranking/index.js", - "./src/ranking/index.ts" - ] - }, - "./security": { - "types": [ - "./dist/security/index.d.ts", - "./src/security/index.ts" - ], - "import": [ - "./dist/security/index.js", - "./src/security/index.ts" - ], - "default": [ - "./dist/security/index.js", - "./src/security/index.ts" - ] - }, - "./utils": { - "types": [ - "./dist/utils/index.d.ts", - "./src/utils/index.ts" - ], - "import": [ - "./dist/utils/index.js", - "./src/utils/index.ts" - ], - "default": [ - "./dist/utils/index.js", - "./src/utils/index.ts" - ] - }, - "./views": { - "types": [ - "./dist/views/index.d.ts", - "./src/views/index.ts" - ], - "import": [ - "./dist/views/index.js", - "./src/views/index.ts" - ], - "default": [ - "./dist/views/index.js", - "./src/views/index.ts" - ] - }, - "./vis": { - "types": [ - "./dist/vis/index.d.ts", - "./src/vis/index.ts" - ], - "import": [ - "./dist/vis/index.js", - "./src/vis/index.ts" - ], - "default": [ - "./dist/vis/index.js", - "./src/vis/index.ts" - ] - }, - "./assets/*": [ - "./dist/assets/*", - "./src/assets/*" - ], - "./phovea_registry": [ - "./dist/phovea_registry.js", - "./src/phovea_registry.ts" - ], - "./scss/*": [ - "./dist/scss/*", - "./src/scss/*" - ], - "./dist/scss/*": [ - "./dist/scss/*", - "./src/scss/*" - ], + ".": "./src/index.ts", + "./app": "./src/app/index.ts", + "./base": "./src/base/index.ts", + "./components": "./src/components/index.ts", + "./hooks": "./src/hooks/index.ts", + "./i18n": "./src/i18n/index.ts", + "./idtype": "./src/idtype/index.ts", + "./plotly/full": "./src/plotly/full/index.ts", + "./plotly": "./src/plotly/index.tsx", + "./plugin": "./src/plugin/index.ts", + "./ranking": "./src/ranking/index.ts", + "./security": "./src/security/index.ts", + "./utils": "./src/utils/index.ts", + "./views": "./src/views/index.ts", + "./vis": "./src/vis/index.ts", + "./assets/*": "./src/assets/*", + "./phovea_registry": "./src/phovea_registry.ts", + "./scss/*": "./src/scss/*", "./package.json": "./package.json" }, "files": [