Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR implements build infrastructure changes to support proper npm package publishing for the agent-prism-types and agent-prism-data packages, along with documentation updates and import path corrections.
- Adds TypeScript build configuration and compilation to dist for publishable packages
- Updates all internal imports to use
.jsextensions for ESM compatibility - Adds missing
react-resizable-panelsdependency and simplifies documentation
Reviewed Changes
Copilot reviewed 17 out of 18 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| readme.md | Adds react-resizable-panels to dependencies and condenses documentation for theming section |
| packages/ui/src/components/TraceViewer/TraceViewerSearchAndControls.tsx | Removes .tsx extension from import statement |
| packages/types/tsconfig.build.json | New build configuration for TypeScript compilation to dist |
| packages/types/src/index.ts | Adds .js extensions to export statements for ESM compatibility |
| packages/types/package.json | Updates to version 0.0.9, changes exports from source to dist, adds build scripts |
| packages/data/tsconfig.build.json | New build configuration for TypeScript compilation to dist |
| packages/data/src/open-telemetry/utils/open-telemetry-category-mappers.ts | Adds .js extension to import |
| packages/data/src/open-telemetry/utils/get-open-telemetry-span-standard.ts | Adds .js extension to import |
| packages/data/src/open-telemetry/utils/generate-open-telemetry-span-title.ts | Adds .js extension to import |
| packages/data/src/open-telemetry/utils/categorize-standard-open-telemetry.ts | Adds .js extension to import |
| packages/data/src/open-telemetry/utils/categorize-open-telemetry-gen-ai.ts | Adds .js extension to import |
| packages/data/src/open-telemetry/utils/categorize-open-inference.ts | Adds .js extension to import |
| packages/data/src/open-telemetry/adapter.ts | Adds .js extensions to multiple imports |
| packages/data/src/langfuse/adapter.ts | Adds .js extension to import |
| packages/data/src/index.ts | Adds .js extensions to all export statements |
| packages/data/src/common/get-timeline-data.ts | Adds .js extension to import |
| packages/data/package.json | Updates to version 0.0.9, changes exports from source to dist, adds build scripts, modifies dependency protocol |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ent-prism-types dependency to workspace.
…on and add paths for agent-prism packages.
… and include vite-tsconfig-paths in package.json.
Contributor
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 25 out of 26 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.