Skip to content

Add CDN-ready UMD and IIFE bundles for @bquery/ui#14

Merged
JosunLP merged 4 commits intomainfrom
copilot/cdn-ready-export-for-ui
Mar 25, 2026
Merged

Add CDN-ready UMD and IIFE bundles for @bquery/ui#14
JosunLP merged 4 commits intomainfrom
copilot/cdn-ready-export-for-ui

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 25, 2026

  • Inspect the review-thread feedback and current README/docs snippets for the CDN change
  • Remove the stale hard-coded release line from the README
  • Update README and docs UMD examples to use the explicit dist/index.umd.js bundle path
  • Rebuild the docs to validate the documentation-only follow-up
  • Reply to the new PR comment with the addressing commit hash

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI and others added 2 commits March 25, 2026 10:29
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Agent-Logs-Url: https://github.com/bQuery/ui/sessions/41f463e2-6e2f-4c6a-9801-867666f86bb3
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Agent-Logs-Url: https://github.com/bQuery/ui/sessions/41f463e2-6e2f-4c6a-9801-867666f86bb3
@JosunLP
Copy link
Copy Markdown
Contributor

JosunLP commented Mar 25, 2026

@copilot update entsprechend die Version und Dokumentation in den docks und der ReadMe

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Agent-Logs-Url: https://github.com/bQuery/ui/sessions/8028c0d0-ef4b-4193-8480-9578c9a165b0
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 25, 2026

@copilot update entsprechend die Version und Dokumentation in den docks und der ReadMe

Erledigt mit 20722a1: Version auf 1.1.0 angehoben und die Doku in docs/guide/installation.md sowie in der README.md auf die versionierten CDN-Beispiele aktualisiert.

Copilot AI requested a review from JosunLP March 25, 2026 10:43
@JosunLP JosunLP marked this pull request as ready for review March 25, 2026 10:46
Copilot AI review requested due to automatic review settings March 25, 2026 10:46
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 PR adds a dedicated CDN build that produces UMD and IIFE bundles for @bquery/ui, updates package metadata for CDN default-file resolution, and refreshes docs/README to document version-pinned CDN usage.

Changes:

  • Added vite.cdn.config.ts to build dist/index.umd.js and dist/index.iife.js.
  • Updated package.json to bump version to 1.1.0, add unpkg/jsdelivr entrypoints, and run the CDN build as part of npm run build.
  • Updated installation docs and README with CDN usage examples (ESM/UMD/IIFE) and version pinning guidance.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
vite.cdn.config.ts New Vite config to emit UMD/IIFE “root bundle” outputs for CDN usage.
package.json Version bump + unpkg/jsdelivr fields + build pipeline now includes the CDN build step.
docs/guide/installation.md Expanded CDN section with version-pinned ESM/UMD/IIFE snippets and explanation.
README.md Added CDN-ready highlights + CDN snippet and version-pinning callouts.

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

@JosunLP
Copy link
Copy Markdown
Contributor

JosunLP commented Mar 25, 2026

@copilot apply changes based on the comments in this thread

Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Agent-Logs-Url: https://github.com/bQuery/ui/sessions/2f3b7603-67ec-4d58-9c67-aad7634ea3f7
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 25, 2026

@copilot apply changes based on the comments in this thread

Erledigt mit 2a64ee8: die feste Release-Zeile in der README ist entfernt und die UMD-Beispiele in README sowie docs/guide/installation.md verweisen jetzt explizit auf dist/index.umd.js.

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

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


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

@JosunLP JosunLP merged commit 79b3bea into main Mar 25, 2026
10 checks passed
@JosunLP JosunLP deleted the copilot/cdn-ready-export-for-ui branch March 25, 2026 11:01
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.

3 participants