Skip to content

Facets-cloud/webcomponents-bundle

Repository files navigation

webcomponents-bundle

Public GitHub Pages host for the built bundles of the private Facets-cloud/webcomponents monorepo.

Same idea as release-dashboard-bundle, but for the whole monorepo: the source stays private, the compiled custom-element bundles are published here so the control plane can load them by URL.

Hosted bundles

Served at https://facets-cloud.github.io/webcomponents-bundle/<file>:

Custom element File
<blueprint-grouping> blueprint-grouping-component.umd.js
<release-workflow> release-workflow-component.umd.js
<environment-variables> environment-variables-component.umd.js

(.es.js variants are also published for module usage.)

Use it

<script src="https://facets-cloud.github.io/webcomponents-bundle/blueprint-grouping-component.umd.js"></script>
<blueprint-grouping></blueprint-grouping>

Register in a control plane so it appears in the sidebar:

raptor create web-component blueprint-grouping \
  --remote-url https://facets-cloud.github.io/webcomponents-bundle/blueprint-grouping-component.umd.js \
  --enabled

Components use the viewer's session cookie and call /cc-ui/v1 relative to the host CP, so the same bundle works in any control plane.

Updating

Bundles are produced from the monorepo:

# in Facets-cloud/webcomponents
npm run build:all-components   # release-workflow + variables + blueprint
# copy dist/*.umd.js and dist/*.es.js here, commit, push

Follow-up: wire the monorepo CI to push updated bundles here automatically on build.

About

Public GitHub Pages host for built bundles of the Facets-cloud/webcomponents monorepo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors