@cdx-extensions/extension-template-web-investmentportfolio
v1.1.0
Published
CDX web widget generator template files (investmentportfolio-widget variant)
Downloads
110
Keywords
Readme
@cdx-extensions/extension-template-web-investmentportfolio
Nx generator template files for a CDX web widget, converted from widgets/web/investmentportfolio-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-investmentportfolio-widgetPublish
npx nx publish-npm widget-investmentportfolio-widget