Skip to content

Packaging - #6

Merged
agarny merged 6 commits into
opencor:mainfrom
agarny:packaging
Nov 25, 2026
Merged

agarny merged 6 commits into
opencor:mainfrom
agarny:packaging

Conversation

@agarny

@agarny agarny commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

No description provided.

…ion (our type declarations now have explicit file extensions) and with require() (our main export now uses the default condition).
…the documentation of our props and methods shows up in a consumer's editor, and linked our JSDoc comments to the README's Large and live data section.
Copilot AI lite review requested due to automatic review settings November 25, 2026 03:26
@agarny
agarny merged commit 2586918 into opencor:main Nov 25, 2026
5 checks passed
@agarny
agarny deleted the packaging branch November 25, 2026 03:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Packaging changes to conditional exports and generated declaration specifiers require unavailable build-and-consumer validation across Node16/NodeNext and bundlers.

No open issues 🎉

What changed in this PR

This PR improves the package’s published TypeScript declarations and public API documentation while updating declaration cleanup and package exports for broader consumer compatibility.

Changes:

  • Adds JSDoc documentation for public plot, context-menu, icon, event, prop, and method types.
  • Rewrites relative declaration imports with explicit .js extensions.
  • Updates package exports and metadata, including a version bump and public subpaths.
File Description
src/​widgets/​PlotWidget.vue Documents public plot data types, props, events, and exposed methods.
src/​widgets/​ContextMenuWidget.vue Documents context-menu item types and properties.
src/​common/​icons.ts Documents the exported icon-name type.
scripts/​declarations.clean.ts Rewrites relative declaration imports with explicit JavaScript extensions.
package.json Updates the package version and export map, including public package metadata and stylesheet subpaths.

Review effort: Lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants