-
Notifications
You must be signed in to change notification settings - Fork 401
fix(metrics): move @webex/event-dictionary-ts to a dependency #5089
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,9 @@ | |
| "main": "dist/index.js", | ||
| "types": "dist/types/index.d.ts", | ||
| "devMain": "src/index.js", | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
|
Comment on lines
+16
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This package still leaves Useful? React with 👍 / 👎. |
||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/webex/webex-js-sdk.git", | ||
|
|
@@ -41,7 +44,6 @@ | |
| "@types/jsdom": "^21", | ||
| "@webex/babel-config-legacy": "workspace:*", | ||
| "@webex/eslint-config-legacy": "workspace:*", | ||
| "@webex/event-dictionary-ts": "^1.0.2181", | ||
| "@webex/jest-config-legacy": "workspace:*", | ||
| "@webex/legacy-tools": "workspace:*", | ||
| "@webex/plugin-rooms": "workspace:*", | ||
|
|
@@ -62,6 +64,7 @@ | |
| }, | ||
| "dependencies": { | ||
| "@webex/common": "workspace:*", | ||
| "@webex/event-dictionary-ts": "^1.0.2181", | ||
| "@webex/internal-media-core": "2.26.1", | ||
| "@webex/internal-plugin-conversation": "workspace:*", | ||
| "@webex/internal-plugin-device": "workspace:*", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This package still leaves
@webex/event-dictionary-tsonly indevDependencies; addingfilesdoes not make it available to downstream installs. Becausesrc/metrics.types.tsimports types from that package and those types are re-exported fromsrc/index.ts, the generateddist/typesdeclarations for published consumers can reference a package that is not installed, so TypeScript users of@webex/internal-plugin-metricsstill hit the missing-module failure this change is meant to fix.Useful? React with 👍 / 👎.