@cdx-extensions/extension-template-web-agent
v1.1.0
Published
CDX web widget generator template files (agent-widget variant)
Keywords
Readme
@cdx-extensions/extension-template-web-agent
Nx generator template files for a CDX web widget, converted from widgets/web/agent-widget.
Contents
module-federation.config.ts.templatemetadata.json.template— widget registration metadata with EJS placeholders (<%= name %>,<%= upperCamel(name) %>)project.json.template— nx build/serve/test targets with production, sandbox, and stage environment file replacementssrc/**/*.template— widget source with EJS placeholders (<%= name %>,<%= upperCamel(name) %>,__name__)src/environments/environment.{ts,production,sandbox,stage}.ts.template— per-environment config (legacyenvironment.prod.ts/environment.qal.tsare migrated on convert)- Static assets under
src/__mocks__/andsrc/assets/**(no.templatesuffix)
Build
From the repo root:
npx nx build widget-agent-widgetPublish
npx nx publish-npm widget-agent-widget