@cdx-di-template/webtemplate-test1-widget
v0.0.2
Published
CDX web widget generator template files (test1-widget variant)
Downloads
367
Readme
@cdx-extensions/webtemplate-test1-widget
Nx generator template files for a CDX web widget, in the same format as @cdx-extensions/widget-template-web appGenerator/files.
Contents
module-federation.config.ts.templatesrc/**/*.template— widget source with EJS placeholders (<%= name %>,<%= upperCamel(name) %>,__name__,__appType__)src/assets/icons/*.svg— static assets (no.templatesuffix)
Build
From the repo root:
npx nx build webtemplate-test1-widgetOr from this directory:
npm run buildOutput is written to dist/ (local) and dist/packages/webtemplate-test1-widget/ (staged publish layout).
Published dist/ includes:
module-federation.config.ts.templatesrc/**/*.template— widget source with EJS placeholders- Project scaffold templates (
.babelrc,project.json,tsconfig.*,jest.config.ts,webpack.config.ts, etc.) shared fromtools/widget-di-template-generator/projectFiles/ src/assets/icons/*.svg— static assets (no.templatesuffix)
Publish
npx nx publish-npm webtemplate-test1-widgetEnsure you are authenticated to the Candescent npm registry before publishing.
