Skip to content

fix: correct unpkg package metadata#5097

Merged
xile611 merged 1 commit intodevelopfrom
fix/unpkgfiles-metadata
Apr 7, 2026
Merged

fix: correct unpkg package metadata#5097
xile611 merged 1 commit intodevelopfrom
fix/unpkgfiles-metadata

Conversation

@xile611
Copy link
Copy Markdown
Contributor

@xile611 xile611 commented Apr 7, 2026

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Refactoring
  • Update dependency
  • Code style optimization
  • Test Case
  • Branch merge
  • Site / documentation update
  • Demo update
  • Workflow
  • Chore
  • Release
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

🚀 Summary

copilot:summary

🔍 Walkthrough

copilot:walkthrough

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates package metadata to reflect the correct UMD bundle filenames intended for CDN (unpkg) consumption across the VTable monorepo packages, and fixes a misconfigured UMD bundle name/output in vtable-search.

Changes:

  • Update multiple packages’ unpkgFiles entries to point to the dist/*.js and dist/*.min.js UMD outputs.
  • Add missing unpkg / unpkgFiles metadata for @visactor/vtable-editors.
  • Fix @visactor/vtable-search UMD config (name and umdOutputFilename) to produce/search under vtable-search rather than vtable-export.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/vtable/package.json Point unpkgFiles to dist/vtable(.min).js instead of the old build/es5/index.js path.
packages/vtable-sheet/package.json Include both dist/vtable-sheet.js and dist/vtable-sheet.min.js in unpkgFiles.
packages/vtable-search/package.json Correct unpkgFiles to dist/vtable-search(.min).js.
packages/vtable-search/bundler.config.js Fix UMD global name and output filename to VTable.search / vtable-search.
packages/vtable-plugins/package.json Include both dist/vtable-plugins.js and dist/vtable-plugins.min.js in unpkgFiles.
packages/vtable-gantt/package.json Include both dist/vtable-gantt.js and dist/vtable-gantt.min.js in unpkgFiles.
packages/vtable-export/package.json Correct unpkgFiles to dist/vtable-export(.min).js (instead of vtable-exporter.js).
packages/vtable-editors/package.json Add unpkg / unpkgFiles entries for dist/vtable-editors(.min).js.
packages/vtable-calendar/package.json Correct unpkgFiles to dist/vtable-calendar(.min).js (instead of vtable-exporter.js).
packages/react-vtable/package.json Include both dist/react-vtable.js and dist/react-vtable.min.js in unpkgFiles.
packages/openinula-vtable/package.json Remove unpkg / unpkgFiles metadata (package does not build UMD per current bundler config).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@xile611 xile611 merged commit fe53c20 into develop Apr 7, 2026
11 of 12 checks passed
@xile611 xile611 deleted the fix/unpkgfiles-metadata branch April 7, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants