@ccslabs/xtend 0.1.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +65 -0
- package/LICENSE +201 -0
- package/README.md +184 -0
- package/a11y/motion-contrast-policy.d.ts +32 -0
- package/a11y/motion-contrast-policy.js +261 -0
- package/a11y/runtime-a11y-contract.d.ts +44 -0
- package/a11y/runtime-a11y-contract.js +385 -0
- package/a11y/screenreader-signals.d.ts +32 -0
- package/a11y/screenreader-signals.js +372 -0
- package/api.d.ts +168 -0
- package/api.js +864 -0
- package/catalog/catalog-public-types.d.ts +66 -0
- package/catalog/component-catalog-coverage.d.ts +20 -0
- package/catalog/component-catalog-coverage.js +377 -0
- package/catalog/component-long-tail-migration.d.ts +18 -0
- package/catalog/component-long-tail-migration.js +305 -0
- package/catalog/component-regression-priority.d.ts +20 -0
- package/catalog/component-regression-priority.js +305 -0
- package/catalog/enterprise-component-flex-release-handoff.d.ts +32 -0
- package/catalog/enterprise-component-flex-release-handoff.js +437 -0
- package/catalog/enterprise-component-style-audit.d.ts +22 -0
- package/catalog/enterprise-component-style-audit.js +353 -0
- package/catalog/enterprise-form-control-theme-a11y.d.ts +19 -0
- package/catalog/enterprise-form-control-theme-a11y.js +220 -0
- package/catalog/enterprise-icon-control-audit.d.ts +21 -0
- package/catalog/enterprise-icon-control-audit.js +258 -0
- package/catalog/enterprise-layout-display-media-tokenization.d.ts +20 -0
- package/catalog/enterprise-layout-display-media-tokenization.js +237 -0
- package/catalog/enterprise-navigation-routing-state-hardening.d.ts +20 -0
- package/catalog/enterprise-navigation-routing-state-hardening.js +255 -0
- package/catalog/enterprise-overlay-mode-token-parity.d.ts +15 -0
- package/catalog/enterprise-overlay-mode-token-parity.js +178 -0
- package/catalog/enterprise-third-party-authoring-guide.d.ts +23 -0
- package/catalog/enterprise-third-party-authoring-guide.js +310 -0
- package/catalog/enterprise-visual-dom-snapshot-matrix.d.ts +31 -0
- package/catalog/enterprise-visual-dom-snapshot-matrix.js +357 -0
- package/catalog/epic10-existing-component-metadata.d.ts +25 -0
- package/catalog/epic10-existing-component-metadata.js +534 -0
- package/catalog/epic10-p0-component-wave.d.ts +28 -0
- package/catalog/epic10-p0-component-wave.js +688 -0
- package/catalog/epic10-platform-gates.d.ts +31 -0
- package/catalog/epic10-platform-gates.js +425 -0
- package/catalog/epic10-release-handoff.d.ts +30 -0
- package/catalog/epic10-release-handoff.js +195 -0
- package/catalog/epic11-enterprise-ux-handoff.d.ts +29 -0
- package/catalog/epic11-enterprise-ux-handoff.js +403 -0
- package/catalog/epic12-docs-adoption.d.ts +29 -0
- package/catalog/epic12-docs-adoption.js +183 -0
- package/catalog/epic12-rc0-gate-matrix.d.ts +36 -0
- package/catalog/epic12-rc0-gate-matrix.js +439 -0
- package/catalog/epic12-rc0-handoff.d.ts +30 -0
- package/catalog/epic12-rc0-handoff.js +385 -0
- package/catalog/epic13-conditional-network-evidence-ci.d.ts +35 -0
- package/catalog/epic13-conditional-network-evidence-ci.js +278 -0
- package/catalog/epic13-conditional-network-evidence.d.ts +34 -0
- package/catalog/epic13-conditional-network-evidence.js +280 -0
- package/catalog/epic13-docs-rmt-production-hardening.d.ts +39 -0
- package/catalog/epic13-docs-rmt-production-hardening.js +286 -0
- package/catalog/epic13-hydration-performance-closure.d.ts +33 -0
- package/catalog/epic13-hydration-performance-closure.js +234 -0
- package/catalog/epic13-known-residual-triage.d.ts +32 -0
- package/catalog/epic13-known-residual-triage.js +339 -0
- package/catalog/epic13-package-export-lock.d.ts +41 -0
- package/catalog/epic13-package-export-lock.js +604 -0
- package/catalog/epic13-prod-browser-csp-smoke.d.ts +35 -0
- package/catalog/epic13-prod-browser-csp-smoke.js +218 -0
- package/catalog/epic13-rc1-gate-matrix-ci-handoff.d.ts +36 -0
- package/catalog/epic13-rc1-gate-matrix-ci-handoff.js +418 -0
- package/catalog/epic13-rc1-migration-notes.d.ts +36 -0
- package/catalog/epic13-rc1-migration-notes.js +271 -0
- package/catalog/epic13-rc1-readiness.d.ts +33 -0
- package/catalog/epic13-rc1-readiness.js +487 -0
- package/catalog/epic13-release-owner-acceptance.d.ts +33 -0
- package/catalog/epic13-release-owner-acceptance.js +354 -0
- package/catalog/epic13-release-report-pack-dry-run-evidence.d.ts +36 -0
- package/catalog/epic13-release-report-pack-dry-run-evidence.js +253 -0
- package/catalog/epic13-rmt-production-readiness.d.ts +35 -0
- package/catalog/epic13-rmt-production-readiness.js +314 -0
- package/catalog/epic13-trusted-dom-boundary.d.ts +36 -0
- package/catalog/epic13-trusted-dom-boundary.js +230 -0
- package/catalog/epic13-visual-owner-artifact.d.ts +35 -0
- package/catalog/epic13-visual-owner-artifact.js +233 -0
- package/catalog/epic14-lsp-handoff.d.ts +28 -0
- package/catalog/epic14-lsp-handoff.js +312 -0
- package/catalog/epic14-rmt-tooling.d.ts +33 -0
- package/catalog/epic14-rmt-tooling.js +282 -0
- package/catalog/surface-manager-adapter-runtime.d.ts +37 -0
- package/catalog/surface-manager-adapter-runtime.js +203 -0
- package/catalog/surface-manager-browser-lab.d.ts +39 -0
- package/catalog/surface-manager-browser-lab.js +225 -0
- package/catalog/surface-manager-controller.d.ts +43 -0
- package/catalog/surface-manager-controller.js +290 -0
- package/catalog/surface-manager-layout-engines.d.ts +32 -0
- package/catalog/surface-manager-layout-engines.js +161 -0
- package/catalog/surface-manager-lazy-loading.d.ts +35 -0
- package/catalog/surface-manager-lazy-loading.js +173 -0
- package/catalog/surface-manager-materialization.d.ts +37 -0
- package/catalog/surface-manager-materialization.js +202 -0
- package/catalog/surface-manager-native-rmt-surfaces.d.ts +48 -0
- package/catalog/surface-manager-native-rmt-surfaces.js +325 -0
- package/catalog/surface-manager-overlay-bridge.d.ts +42 -0
- package/catalog/surface-manager-overlay-bridge.js +247 -0
- package/catalog/surface-manager-persistence.d.ts +37 -0
- package/catalog/surface-manager-persistence.js +178 -0
- package/catalog/surface-manager-quality-gates.d.ts +48 -0
- package/catalog/surface-manager-quality-gates.js +324 -0
- package/catalog/surface-manager-release-handoff.d.ts +47 -0
- package/catalog/surface-manager-release-handoff.js +274 -0
- package/catalog/surface-manager-remote-policy.d.ts +34 -0
- package/catalog/surface-manager-remote-policy.js +199 -0
- package/catalog/surface-manager-rmt-authoring.d.ts +44 -0
- package/catalog/surface-manager-rmt-authoring.js +368 -0
- package/catalog/surface-manager-route-lifecycle.d.ts +32 -0
- package/catalog/surface-manager-route-lifecycle.js +162 -0
- package/catalog/surface-manager-runtime-release-handoff.d.ts +36 -0
- package/catalog/surface-manager-runtime-release-handoff.js +245 -0
- package/catalog/surface-manager-side-panel-runtime.d.ts +46 -0
- package/catalog/surface-manager-side-panel-runtime.js +307 -0
- package/catalog/surface-manager-stack-policy.d.ts +32 -0
- package/catalog/surface-manager-stack-policy.js +169 -0
- package/catalog/surface-manager-window-runtime.d.ts +45 -0
- package/catalog/surface-manager-window-runtime.js +285 -0
- package/catalog/surface-manager-workbench-fixture.d.ts +50 -0
- package/catalog/surface-manager-workbench-fixture.js +315 -0
- package/catalog/type-exports-api.js +236 -0
- package/catalog/type-exports-builder.js +405 -0
- package/catalog/type-exports-catalog.js +394 -0
- package/catalog/type-exports-loader.js +266 -0
- package/catalog/type-exports-policy.js +461 -0
- package/catalog/type-exports-rmt.js +407 -0
- package/catalog/type-exports-vendor.js +365 -0
- package/catalog/type-exports.js +574 -0
- package/components/icon-packs/core.js +154 -0
- package/components/icon-packs/lucide.js +136 -0
- package/components/manifest.json +44 -0
- package/components/prism.d.ts +73 -0
- package/components/prism.js +300 -0
- package/components/turndown.d.ts +34 -0
- package/components/turndown.js +107 -0
- package/components/x-rmt-lifecycle-demo-build.d.ts +78 -0
- package/components/x-rmt-lifecycle-demo-build.js +1175 -0
- package/components/x-rmt-lifecycle-demo.d.ts +83 -0
- package/components/x-rmt-lifecycle-demo.js +1175 -0
- package/components/xalert.d.ts +42 -0
- package/components/xalert.js +538 -0
- package/components/xbutton.d.ts +127 -0
- package/components/xbutton.js +612 -0
- package/components/xcalendar.d.ts +39 -0
- package/components/xcalendar.js +338 -0
- package/components/xcards.d.ts +34 -0
- package/components/xcards.js +253 -0
- package/components/xcheckbox.d.ts +48 -0
- package/components/xcheckbox.js +448 -0
- package/components/xcode.d.ts +35 -0
- package/components/xcode.js +370 -0
- package/components/xdialog.d.ts +48 -0
- package/components/xdialog.js +763 -0
- package/components/xdrawer.d.ts +61 -0
- package/components/xdrawer.js +654 -0
- package/components/xfooter.d.ts +41 -0
- package/components/xfooter.js +351 -0
- package/components/xform.d.ts +43 -0
- package/components/xform.js +456 -0
- package/components/xheader.d.ts +68 -0
- package/components/xheader.js +1253 -0
- package/components/xhero.d.ts +42 -0
- package/components/xhero.js +475 -0
- package/components/xicon.d.ts +146 -0
- package/components/xicon.js +688 -0
- package/components/xinput.d.ts +37 -0
- package/components/xinput.js +444 -0
- package/components/xlightbox.d.ts +48 -0
- package/components/xlightbox.js +571 -0
- package/components/xlink.d.ts +63 -0
- package/components/xlink.js +565 -0
- package/components/xmasonry.d.ts +35 -0
- package/components/xmasonry.js +666 -0
- package/components/xmenu.d.ts +118 -0
- package/components/xmenu.js +1005 -0
- package/components/xmodal.d.ts +64 -0
- package/components/xmodal.js +831 -0
- package/components/xplayer.d.ts +57 -0
- package/components/xplayer.js +1748 -0
- package/components/xpopover.d.ts +54 -0
- package/components/xpopover.js +466 -0
- package/components/xprogress.d.ts +40 -0
- package/components/xprogress.js +345 -0
- package/components/xradio.d.ts +50 -0
- package/components/xradio.js +474 -0
- package/components/xrouter.d.ts +244 -0
- package/components/xrouter.js +1841 -0
- package/components/xsection.d.ts +34 -0
- package/components/xsection.js +253 -0
- package/components/xselect.d.ts +46 -0
- package/components/xselect.js +463 -0
- package/components/xsidepanel.d.ts +56 -0
- package/components/xsidepanel.js +728 -0
- package/components/xspinner.d.ts +38 -0
- package/components/xspinner.js +388 -0
- package/components/xstate.d.ts +137 -0
- package/components/xstate.js +493 -0
- package/components/xstatus.d.ts +41 -0
- package/components/xstatus.js +381 -0
- package/components/xsummary.d.ts +43 -0
- package/components/xsummary.js +293 -0
- package/components/xsurfacemanager-controller.d.ts +130 -0
- package/components/xsurfacemanager-controller.js +699 -0
- package/components/xsurfacemanager.d.ts +452 -0
- package/components/xsurfacemanager.js +3775 -0
- package/components/xsurfaceoverlay-bridge.d.ts +43 -0
- package/components/xsurfaceoverlay-bridge.js +238 -0
- package/components/xsurfacewindow.d.ts +50 -0
- package/components/xsurfacewindow.js +576 -0
- package/components/xtabs.d.ts +73 -0
- package/components/xtabs.js +611 -0
- package/components/xtend-public-types.d.ts +208 -0
- package/components/xtextarea.d.ts +46 -0
- package/components/xtextarea.js +451 -0
- package/components/xtheme.d.ts +253 -0
- package/components/xtheme.js +1438 -0
- package/components/xtoast.d.ts +39 -0
- package/components/xtoast.js +389 -0
- package/components/xtooltip.d.ts +53 -0
- package/components/xtooltip.js +432 -0
- package/components/xtype.d.ts +42 -0
- package/components/xtype.js +244 -0
- package/components/xutils.d.ts +164 -0
- package/components/xutils.js +496 -0
- package/components/xwriter.d.ts +67 -0
- package/components/xwriter.js +854 -0
- package/design-tokens/themes/enterprise-light.json +40 -0
- package/design-tokens/themes/xtend-signature.json +126 -0
- package/design-tokens/xtend-design-tokens.d.ts +95 -0
- package/design-tokens/xtend-design-tokens.js +395 -0
- package/design-tokens/xtheme-token-alias-layer.d.ts +84 -0
- package/design-tokens/xtheme-token-alias-layer.js +423 -0
- package/docs/.htaccess +51 -0
- package/docs/README.md +340 -0
- package/docs/XTend-ADR.md +221 -0
- package/docs/a11y-keyboard-smokes.md +62 -0
- package/docs/about.md +18 -0
- package/docs/api.md +157 -0
- package/docs/best-practices.md +76 -0
- package/docs/component-catalog-coverage.md +58 -0
- package/docs/component-lab.md +103 -0
- package/docs/component-long-tail-migration.md +41 -0
- package/docs/component-platform.md +159 -0
- package/docs/component-ux-app-authoring.md +130 -0
- package/docs/component-ux-authoring.md +96 -0
- package/docs/component-ux-gates.md +45 -0
- package/docs/components/x-rmt-lifecycle-demo-build.md +60 -0
- package/docs/components/xalert.md +81 -0
- package/docs/components/xbutton.md +103 -0
- package/docs/components/xcalendar.md +82 -0
- package/docs/components/xcards.md +128 -0
- package/docs/components/xcheckbox.md +102 -0
- package/docs/components/xcode.md +126 -0
- package/docs/components/xdialog.md +92 -0
- package/docs/components/xdrawer.md +84 -0
- package/docs/components/xfooter.md +126 -0
- package/docs/components/xform.md +128 -0
- package/docs/components/xheader.md +308 -0
- package/docs/components/xhero.md +142 -0
- package/docs/components/xicon.md +125 -0
- package/docs/components/xinput.md +129 -0
- package/docs/components/xlightbox.md +98 -0
- package/docs/components/xlink.md +109 -0
- package/docs/components/xmasonry.md +124 -0
- package/docs/components/xmenu.md +158 -0
- package/docs/components/xmodal.md +82 -0
- package/docs/components/xplayer.md +104 -0
- package/docs/components/xpopover.md +67 -0
- package/docs/components/xprogress.md +56 -0
- package/docs/components/xradio.md +103 -0
- package/docs/components/xrouter.md +260 -0
- package/docs/components/xsection.md +125 -0
- package/docs/components/xselect.md +105 -0
- package/docs/components/xsidepanel.md +30 -0
- package/docs/components/xspinner.md +102 -0
- package/docs/components/xstate.md +148 -0
- package/docs/components/xstatus.md +55 -0
- package/docs/components/xsummary.md +78 -0
- package/docs/components/xsurfacemanager.md +27 -0
- package/docs/components/xsurfacewindow.md +21 -0
- package/docs/components/xtabs.md +160 -0
- package/docs/components/xtextarea.md +98 -0
- package/docs/components/xtheme.md +167 -0
- package/docs/components/xtoast.md +62 -0
- package/docs/components/xtooltip.md +66 -0
- package/docs/components/xtype.md +82 -0
- package/docs/components/xutils.md +144 -0
- package/docs/components/xwriter.md +94 -0
- package/docs/components.md +117 -0
- package/docs/conditional-network-evidence-ci.md +38 -0
- package/docs/conditional-network-evidence.md +50 -0
- package/docs/core-migration-guide.md +110 -0
- package/docs/design-tokens.md +116 -0
- package/docs/docs-rmt-production-hardening.md +31 -0
- package/docs/enterprise-adoption.md +411 -0
- package/docs/enterprise-component-flex-release-handoff.md +129 -0
- package/docs/epic10-platform-gates.md +62 -0
- package/docs/epic10-release-handoff.md +81 -0
- package/docs/epic11-enterprise-ux-handoff.md +70 -0
- package/docs/epic12-rc0-handoff.md +61 -0
- package/docs/existing-component-metadata.md +67 -0
- package/docs/hydration-performance-closure.md +34 -0
- package/docs/hydration-policies.md +71 -0
- package/docs/index.php +1625 -0
- package/docs/known-residual-triage.md +22 -0
- package/docs/manifest-import-policy.md +79 -0
- package/docs/manifest.md +106 -0
- package/docs/menu.json +1190 -0
- package/docs/motion-contrast.md +67 -0
- package/docs/package-export-lock.md +44 -0
- package/docs/performance-measurements.md +106 -0
- package/docs/performance-regression.md +89 -0
- package/docs/performance.md +94 -0
- package/docs/previews/README.md +17 -0
- package/docs/prod-browser-csp-smokes.md +40 -0
- package/docs/public-component-types.md +79 -0
- package/docs/quick-start-guide.md +152 -0
- package/docs/rc0-adoption-guide.md +102 -0
- package/docs/rc0-gate-matrix.md +58 -0
- package/docs/rc1-gate-matrix-ci-handoff.md +56 -0
- package/docs/rc1-migration-notes.md +69 -0
- package/docs/rc1-readiness.md +46 -0
- package/docs/release-owner-acceptance.md +56 -0
- package/docs/release-report-pack-dry-run-evidence.md +39 -0
- package/docs/rmt-dsl-authoring-polish.md +122 -0
- package/docs/rmt-first-demo-app.md +77 -0
- package/docs/rmt-first-xtend-apps.md +105 -0
- package/docs/rmt-kernel-panic-recovery-incident-handoff.md +61 -0
- package/docs/rmt-kernel-security-hardening-migration.md +50 -0
- package/docs/rmt-kernel-trusted-output-authoring.md +69 -0
- package/docs/rmt-language-server.md +177 -0
- package/docs/rmt-lifecycle-demo.md +25 -0
- package/docs/rmt-linter.md +140 -0
- package/docs/rmt-production-readiness.md +63 -0
- package/docs/rmt-tooling-release-gates.md +77 -0
- package/docs/rmt-vnext-authoring.md +60 -0
- package/docs/rmt-vnext-cross-surface-events.md +68 -0
- package/docs/rmt-vnext-enterprise-mfe-handoff.md +70 -0
- package/docs/rmt-vnext-migration-notes.md +62 -0
- package/docs/rmt-vnext-release-handoff.md +69 -0
- package/docs/rmt-vnext-remote-surfaces.md +90 -0
- package/docs/rmt-vnext-surface-registry-enterprise.md +76 -0
- package/docs/screenreader-signals.md +56 -0
- package/docs/supply-chain-gates.md +100 -0
- package/docs/surface-manager-authoring-guide.md +94 -0
- package/docs/surface-manager-browser-lab.md +45 -0
- package/docs/surface-manager-component-lab.md +43 -0
- package/docs/surface-manager-controller.md +66 -0
- package/docs/surface-manager-layout-engines.md +32 -0
- package/docs/surface-manager-lazy-hydration.md +63 -0
- package/docs/surface-manager-migration-guide.md +94 -0
- package/docs/surface-manager-native-rmt-surfaces.md +38 -0
- package/docs/surface-manager-overlay-bridge.md +53 -0
- package/docs/surface-manager-persistence.md +30 -0
- package/docs/surface-manager-quality-gates.md +51 -0
- package/docs/surface-manager-release-handoff.md +68 -0
- package/docs/surface-manager-remote-policy.md +54 -0
- package/docs/surface-manager-rmt-authoring.md +86 -0
- package/docs/surface-manager-route-lifecycle.md +59 -0
- package/docs/surface-manager-runtime-release-handoff.md +69 -0
- package/docs/surface-manager-side-panel-runtime.md +36 -0
- package/docs/surface-manager-stack-policy.md +39 -0
- package/docs/surface-manager-window-runtime.md +47 -0
- package/docs/surface-manager-workbench-fixture.md +43 -0
- package/docs/third-party-design-authoring.md +406 -0
- package/docs/trusted-dom-boundary-browser-proof.md +32 -0
- package/docs/trusted-dom-sanitizing.md +110 -0
- package/docs/type-exports.md +61 -0
- package/docs/typescript-components.md +63 -0
- package/docs/utils/fabric-runtime.js +650 -0
- package/docs/utils/pageloader.js +2823 -0
- package/docs/utils/parsedown.php +298 -0
- package/docs/visual-browser-regression.md +83 -0
- package/docs/visual-owner-artifacts.md +46 -0
- package/docs/visual-snapshot-automation.md +87 -0
- package/docs/xtend-api-types.md +55 -0
- package/docs/xtend-builder-types.md +55 -0
- package/docs/xtend-catalog-types.md +44 -0
- package/docs/xtend-fabric-rmt-lane-mapping.md +143 -0
- package/docs/xtend-fabric.md +474 -0
- package/docs/xtend-loader-types.md +58 -0
- package/docs/xtend-loader.md +265 -0
- package/docs/xtend-policy-types.md +38 -0
- package/docs/xtend-rmt-types.md +39 -0
- package/docs/xtend-vendor-types.md +36 -0
- package/docs/xtendrmt-app-dsl.md +269 -0
- package/docs/xtendrmt-migration-guide.md +235 -0
- package/docs/xtendrmt-native-authoring.md +337 -0
- package/docs/xtendrmt-overview.md +89 -0
- package/docs/xtendrmt-parsedown-docs.rmt +956 -0
- package/docs/xtendrmt-parsedown-scheduling.md +301 -0
- package/docs/xtendrmt-runtime-bridge.md +155 -0
- package/fabric/hydration-policy.d.ts +27 -0
- package/fabric/hydration-policy.js +306 -0
- package/fabric/package.json +58 -0
- package/fabric/rmt-lane-mapping.d.ts +47 -0
- package/fabric/rmt-lane-mapping.js +504 -0
- package/fabric/xtend-fabric.d.ts +81 -0
- package/fabric/xtend-fabric.js +2669 -0
- package/fabric/xtend-policy-public-types.d.ts +135 -0
- package/package.json +8225 -0
- package/security/README.md +54 -0
- package/security/manifest-import-policy.d.ts +43 -0
- package/security/manifest-import-policy.js +260 -0
- package/security/supply-chain-gate-policy.d.ts +45 -0
- package/security/supply-chain-gate-policy.js +249 -0
- package/security/trusted-dom-policy.d.ts +36 -0
- package/security/trusted-dom-policy.js +316 -0
- package/tools/package.json +77 -0
- package/tools/rmt-editor/vscode/README.md +33 -0
- package/tools/rmt-editor/vscode/extension.d.ts +9 -0
- package/tools/rmt-editor/vscode/extension.js +55 -0
- package/tools/rmt-editor/vscode/language-configuration.json +28 -0
- package/tools/rmt-editor/vscode/package.json +83 -0
- package/tools/rmt-editor/vscode/snippets/rmt.code-snippets +243 -0
- package/tools/rmt-editor/vscode/syntaxes/rmt.tmLanguage.json +13 -0
- package/tools/rmt-editor/vscode/xtend-rmt-language-0.0.0-enterprise-readiness.vsix +0 -0
- package/tools/rmt-language/code-actions.d.ts +15 -0
- package/tools/rmt-language/code-actions.js +566 -0
- package/tools/rmt-language/completions.d.ts +22 -0
- package/tools/rmt-language/completions.js +475 -0
- package/tools/rmt-language/definitions.d.ts +13 -0
- package/tools/rmt-language/definitions.js +212 -0
- package/tools/rmt-language/diagnostics.d.ts +23 -0
- package/tools/rmt-language/diagnostics.js +486 -0
- package/tools/rmt-language/format-adapter.d.ts +16 -0
- package/tools/rmt-language/format-adapter.js +270 -0
- package/tools/rmt-language/hover.d.ts +12 -0
- package/tools/rmt-language/hover.js +326 -0
- package/tools/rmt-language/kernel-escalation.d.ts +122 -0
- package/tools/rmt-language/kernel-escalation.js +427 -0
- package/tools/rmt-language/kernel-panic-monitor.d.ts +176 -0
- package/tools/rmt-language/kernel-panic-monitor.js +674 -0
- package/tools/rmt-language/kernel-policy-parity.d.ts +142 -0
- package/tools/rmt-language/kernel-policy-parity.js +629 -0
- package/tools/rmt-language/kernel-recovery.d.ts +173 -0
- package/tools/rmt-language/kernel-recovery.js +666 -0
- package/tools/rmt-language/kernel-scheduler-failure.d.ts +136 -0
- package/tools/rmt-language/kernel-scheduler-failure.js +486 -0
- package/tools/rmt-language/kernel-security-regression.d.ts +154 -0
- package/tools/rmt-language/kernel-security-regression.js +465 -0
- package/tools/rmt-language/kernel-trust-authority.d.ts +120 -0
- package/tools/rmt-language/kernel-trust-authority.js +549 -0
- package/tools/rmt-language/parser.d.ts +14 -0
- package/tools/rmt-language/parser.js +111 -0
- package/tools/rmt-language/rmt-tooling-public-types.d.ts +179 -0
- package/tools/rmt-language/rules/boundary-policy.js +81 -0
- package/tools/rmt-language/rules/document-policy.js +65 -0
- package/tools/rmt-language/rules/index.js +29 -0
- package/tools/rmt-language/rules/route-policy.js +81 -0
- package/tools/rmt-language/rules/scheduler-policy.js +66 -0
- package/tools/rmt-language/rules/template-policy.js +130 -0
- package/tools/rmt-language/semantic-graph.d.ts +18 -0
- package/tools/rmt-language/semantic-graph.js +827 -0
- package/tools/rmt-language/snippets/README.md +17 -0
- package/tools/rmt-language/snippets/index.d.ts +17 -0
- package/tools/rmt-language/snippets/index.js +417 -0
- package/tools/rmt-language/snippets/rmt.code-snippets +243 -0
- package/tools/rmt-language/source-model.d.ts +14 -0
- package/tools/rmt-language/source-model.js +731 -0
- package/tools/rmt-language/symbols.d.ts +13 -0
- package/tools/rmt-language/symbols.js +183 -0
- package/tools/rmt-language/vnext-compatibility.d.ts +28 -0
- package/tools/rmt-language/vnext-compatibility.js +675 -0
- package/tools/rmt-language/vnext-compiler.d.ts +17 -0
- package/tools/rmt-language/vnext-compiler.js +716 -0
- package/tools/rmt-language/vnext-composition.d.ts +30 -0
- package/tools/rmt-language/vnext-composition.js +595 -0
- package/tools/rmt-language/vnext-conditions.d.ts +25 -0
- package/tools/rmt-language/vnext-conditions.js +474 -0
- package/tools/rmt-language/vnext-cross-surface-events.d.ts +30 -0
- package/tools/rmt-language/vnext-cross-surface-events.js +607 -0
- package/tools/rmt-language/vnext-degradation.d.ts +23 -0
- package/tools/rmt-language/vnext-degradation.js +428 -0
- package/tools/rmt-language/vnext-enterprise-fixtures.d.ts +28 -0
- package/tools/rmt-language/vnext-enterprise-fixtures.js +487 -0
- package/tools/rmt-language/vnext-enterprise-registry.d.ts +21 -0
- package/tools/rmt-language/vnext-enterprise-registry.js +495 -0
- package/tools/rmt-language/vnext-enterprise-release.d.ts +44 -0
- package/tools/rmt-language/vnext-enterprise-release.js +472 -0
- package/tools/rmt-language/vnext-event-governance.d.ts +29 -0
- package/tools/rmt-language/vnext-event-governance.js +488 -0
- package/tools/rmt-language/vnext-events.d.ts +44 -0
- package/tools/rmt-language/vnext-events.js +680 -0
- package/tools/rmt-language/vnext-import-resolver.d.ts +28 -0
- package/tools/rmt-language/vnext-import-resolver.js +642 -0
- package/tools/rmt-language/vnext-lifecycle.d.ts +22 -0
- package/tools/rmt-language/vnext-lifecycle.js +404 -0
- package/tools/rmt-language/vnext-parser.d.ts +21 -0
- package/tools/rmt-language/vnext-parser.js +1391 -0
- package/tools/rmt-language/vnext-regression.d.ts +25 -0
- package/tools/rmt-language/vnext-regression.js +394 -0
- package/tools/rmt-language/vnext-release.d.ts +29 -0
- package/tools/rmt-language/vnext-release.js +293 -0
- package/tools/rmt-language/vnext-remote-compatibility.d.ts +33 -0
- package/tools/rmt-language/vnext-remote-compatibility.js +892 -0
- package/tools/rmt-language/vnext-remote-compiler.d.ts +14 -0
- package/tools/rmt-language/vnext-remote-compiler.js +520 -0
- package/tools/rmt-language/vnext-remote-manifest.d.ts +33 -0
- package/tools/rmt-language/vnext-remote-manifest.js +538 -0
- package/tools/rmt-language/vnext-remote-security.d.ts +27 -0
- package/tools/rmt-language/vnext-remote-security.js +380 -0
- package/tools/rmt-language/vnext-remote-tooling.d.ts +25 -0
- package/tools/rmt-language/vnext-remote-tooling.js +805 -0
- package/tools/rmt-language/vnext-scheduler.d.ts +24 -0
- package/tools/rmt-language/vnext-scheduler.js +469 -0
- package/tools/rmt-language/vnext-security.d.ts +28 -0
- package/tools/rmt-language/vnext-security.js +597 -0
- package/tools/rmt-language/vnext-streaming.d.ts +28 -0
- package/tools/rmt-language/vnext-streaming.js +593 -0
- package/tools/rmt-language/vnext-surfaces.d.ts +24 -0
- package/tools/rmt-language/vnext-surfaces.js +406 -0
- package/tools/rmt-language/vnext-tooling.d.ts +25 -0
- package/tools/rmt-language/vnext-tooling.js +728 -0
- package/tools/rmt-language-server/protocol.d.ts +22 -0
- package/tools/rmt-language-server/protocol.js +352 -0
- package/tools/rmt-language-server/server.d.ts +15 -0
- package/tools/rmt-language-server/server.js +622 -0
- package/tools/rmt-linter/cli.d.ts +14 -0
- package/tools/rmt-linter/cli.js +450 -0
- package/tools/rmt-linter/reporter.d.ts +16 -0
- package/tools/rmt-linter/reporter.js +472 -0
- package/xtend-builder/README.md +83 -0
- package/xtend-builder/a11y/README.md +42 -0
- package/xtend-builder/a11y/component-a11y-profile.d.ts +14 -0
- package/xtend-builder/a11y/component-a11y-profile.js +314 -0
- package/xtend-builder/blueprints/README.md +105 -0
- package/xtend-builder/blueprints/component-blueprint.contract.d.ts +16 -0
- package/xtend-builder/blueprints/component-blueprint.contract.js +343 -0
- package/xtend-builder/builder-public-types.d.ts +234 -0
- package/xtend-builder/extensions/README.md +26 -0
- package/xtend-builder/extensions/component-extension-points.d.ts +11 -0
- package/xtend-builder/extensions/component-extension-points.js +277 -0
- package/xtend-builder/generators/README.md +149 -0
- package/xtend-builder/generators/component-files.d.ts +5 -0
- package/xtend-builder/generators/component-files.js +769 -0
- package/xtend-builder/generators/component-plan.d.ts +4 -0
- package/xtend-builder/generators/component-plan.js +104 -0
- package/xtend-builder/generators/registry.d.ts +6 -0
- package/xtend-builder/generators/registry.js +118 -0
- package/xtend-builder/generators/rmt-build.js +738 -0
- package/xtend-builder/generators/rmt-lifecycle-demo.js +922 -0
- package/xtend-builder/lib/cli.d.ts +9 -0
- package/xtend-builder/lib/cli.js +543 -0
- package/xtend-builder/lib/layout.d.ts +6 -0
- package/xtend-builder/lib/layout.js +153 -0
- package/xtend-builder/lib/package-resolver.js +25 -0
- package/xtend-builder/package.json +90 -0
- package/xtend-builder/performance/README.md +31 -0
- package/xtend-builder/performance/component-performance-profile.d.ts +11 -0
- package/xtend-builder/performance/component-performance-profile.js +347 -0
- package/xtend-builder/performance/component-ux-performance-contract.d.ts +27 -0
- package/xtend-builder/performance/component-ux-performance-contract.js +424 -0
- package/xtend-builder/preview/README.md +61 -0
- package/xtend-builder/preview/component-lab-ux-inspector.d.ts +20 -0
- package/xtend-builder/preview/component-lab-ux-inspector.js +448 -0
- package/xtend-builder/preview/component-lab.d.ts +14 -0
- package/xtend-builder/preview/component-lab.js +278 -0
- package/xtend-builder/preview/component-preview.d.ts +5 -0
- package/xtend-builder/preview/component-preview.js +160 -0
- package/xtend-builder/scaffold.config.d.ts +4 -0
- package/xtend-builder/scaffold.config.js +2056 -0
- package/xtend-builder/scaffold.d.ts +3 -0
- package/xtend-builder/scaffold.js +11 -0
- package/xtend-builder/templates/README.md +33 -0
- package/xtend-builder/templates/component/a11y.template.ts +11 -0
- package/xtend-builder/templates/component/component-suite.template.d.ts +2 -0
- package/xtend-builder/templates/component/component-suite.template.js +108 -0
- package/xtend-builder/templates/component/contract.template.ts +10 -0
- package/xtend-builder/templates/component/demo-plan.template.md +73 -0
- package/xtend-builder/templates/component/docs.template.md +301 -0
- package/xtend-builder/templates/component/fixture-data.template.ts +28 -0
- package/xtend-builder/templates/component/fixture.template.html +37 -0
- package/xtend-builder/templates/component/manifest-plan.template.json +22 -0
- package/xtend-builder/templates/component/performance.template.ts +13 -0
- package/xtend-builder/templates/component/rmt.template.ts +12 -0
- package/xtend-builder/templates/component/source.template.d.ts +2 -0
- package/xtend-builder/templates/component/source.template.js +137 -0
- package/xtend-builder/templates/component/source.template.ts +110 -0
- package/xtend-builder/templates/component/types.template.d.ts +423 -0
- package/xtend-builder/templates/loader.d.ts +4 -0
- package/xtend-builder/templates/loader.js +51 -0
- package/xtend-builder/templates/registry.d.ts +6 -0
- package/xtend-builder/templates/registry.js +119 -0
- package/xtend-builder/typing/README.md +130 -0
- package/xtend-builder/typing/component-contract-v2.d.ts +15 -0
- package/xtend-builder/typing/component-contract-v2.js +248 -0
- package/xtend-builder/typing/component-network-contract.d.ts +22 -0
- package/xtend-builder/typing/component-network-contract.js +478 -0
- package/xtend-builder/typing/component-shell-contract.d.ts +21 -0
- package/xtend-builder/typing/component-shell-contract.js +312 -0
- package/xtend-builder/typing/component-styling-contract.d.ts +22 -0
- package/xtend-builder/typing/component-styling-contract.js +301 -0
- package/xtend-builder/typing/component-types.d.ts +10 -0
- package/xtend-builder/typing/component-types.js +551 -0
- package/xtend-builder/typing/enterprise-component-flex-hardening-contract.d.ts +20 -0
- package/xtend-builder/typing/enterprise-component-flex-hardening-contract.js +332 -0
- package/xtend-builder/typing/feedback-status-ux-contract.d.ts +25 -0
- package/xtend-builder/typing/feedback-status-ux-contract.js +347 -0
- package/xtend-builder/typing/form-controls-ux-contract.d.ts +25 -0
- package/xtend-builder/typing/form-controls-ux-contract.js +357 -0
- package/xtend-builder/typing/layout-display-media-ux-contract.d.ts +25 -0
- package/xtend-builder/typing/layout-display-media-ux-contract.js +420 -0
- package/xtend-builder/typing/navigation-routing-ux-contract.d.ts +17 -0
- package/xtend-builder/typing/navigation-routing-ux-contract.js +297 -0
- package/xtend-builder/typing/overlay-interaction-ux-contract.d.ts +25 -0
- package/xtend-builder/typing/overlay-interaction-ux-contract.js +383 -0
- package/xtend-builder/typing/rmt-dsl-authoring-polish.d.ts +27 -0
- package/xtend-builder/typing/rmt-dsl-authoring-polish.js +419 -0
- package/xtend-builder/typing/rmt-shell-authoring-contract.d.ts +26 -0
- package/xtend-builder/typing/rmt-shell-authoring-contract.js +315 -0
- package/xtend-builder/utils/README.md +8 -0
- package/xtend-builder/utils/naming.d.ts +7 -0
- package/xtend-builder/utils/naming.js +36 -0
- package/xtend-builder/utils/validation.d.ts +5 -0
- package/xtend-builder/utils/validation.js +95 -0
- package/xtend-builder/wiring/README.md +46 -0
- package/xtend-builder/wiring/features.d.ts +5 -0
- package/xtend-builder/wiring/features.js +165 -0
- package/xtend-builder/wiring/hydration.d.ts +4 -0
- package/xtend-builder/wiring/hydration.js +44 -0
- package/xtend-builder/wiring/manifest.d.ts +5 -0
- package/xtend-builder/wiring/manifest.js +48 -0
- package/xtend-builder/workflows/README.md +47 -0
- package/xtend-builder/workflows/developer-workflow.d.ts +6 -0
- package/xtend-builder/workflows/developer-workflow.js +125 -0
- package/xtend-builder/writing/manifest-patcher.d.ts +49 -0
- package/xtend-builder/writing/manifest-patcher.js +391 -0
- package/xtend-builder/writing/write-plan.d.ts +148 -0
- package/xtend-builder/writing/write-plan.js +646 -0
- package/xtend-dev.d.ts +23 -0
- package/xtend-dev.js +4 -0
- package/xtend-loader.d.ts +201 -0
- package/xtend-loader.js +1704 -0
- package/xtend.css +402 -0
- package/xtendrmt/package.json +64 -0
- package/xtendrmt/rmt-core.d.ts +4452 -0
- package/xtendrmt/rmt-core.esm.js +25793 -0
- package/xtendrmt/rmt-first-demo-app.js +265 -0
- package/xtendrmt/rmt-first-demo-app.rmt +737 -0
- package/xtendrmt/rmt-lifecycle-demo.app.js +493 -0
- package/xtendrmt/rmt-lifecycle-demo.core.json +810 -0
- package/xtendrmt/rmt-lifecycle-demo.rmt +35 -0
- package/xtendrmt/rmt-lifecycle-demo.rmt-build.app.js +153 -0
- package/xtendrmt/rmt-lifecycle-demo.rmt-build.core.json +810 -0
- package/xtendrmt/rmt-lifecycle-demo.rmt-build.scaffold.json +202 -0
- package/xtendrmt/rmt-lifecycle-demo.scaffold.json +187 -0
- package/xtendrmt/rmt-manifest.json +548 -0
- package/xtendrmt/rmt-runtime.browser.js +26183 -0
- package/xtendrmt/rmt-runtime.esm.js +26214 -0
- package/xtendrmt/rmt-vnext-enterprise-mfe-demo.core.json +849 -0
- package/xtendrmt/rmt-vnext-enterprise-mfe-demo.rmt +50 -0
- package/xtendrmt/rmt-vnext-reference-demo.core.json +1069 -0
- package/xtendrmt/rmt-vnext-reference-demo.rmt +50 -0
- package/xtendrmt/rmt.schema.json +3145 -0
- package/xtendrmt/surface-workbench.js +316 -0
- package/xtendrmt/surface-workbench.rmt +762 -0
- package/xtendrmt/xtendrmt-bestcase-demo.core.json +1187 -0
- package/xtendrmt/xtendrmt-bestcase-demo.js +1728 -0
- package/xtendrmt/xtendrmt-bestcase-demo.rmt +57 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
XtendCatalogConstant,
|
|
3
|
+
XtendCatalogGate,
|
|
4
|
+
XtendCatalogOptions,
|
|
5
|
+
XtendCatalogPlan,
|
|
6
|
+
XtendCatalogRecord,
|
|
7
|
+
XtendCatalogReport
|
|
8
|
+
} from './catalog-public-types';
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export declare const BROWSER_FIXTURES: readonly XtendCatalogConstant[] | XtendCatalogConstant;
|
|
12
|
+
export declare const EPIC10_PLATFORM_GATES_DEVELOPER_DOCS: readonly XtendCatalogConstant[] | XtendCatalogConstant;
|
|
13
|
+
export declare const EPIC10_PLATFORM_GATES_DOC: XtendCatalogConstant;
|
|
14
|
+
export declare const EPIC10_PLATFORM_GATES_LOCAL_GATE: string;
|
|
15
|
+
export declare const EPIC10_PLATFORM_GATES_MODULE: string;
|
|
16
|
+
export declare const EPIC10_PLATFORM_GATES_PACKAGE_SCRIPT: string;
|
|
17
|
+
export declare const EPIC10_PLATFORM_GATES_REPORT_SCHEMA: string;
|
|
18
|
+
export declare const EPIC10_PLATFORM_GATES_SCHEMA: string;
|
|
19
|
+
export declare const EPIC10_PLATFORM_GATES_STATUS: string;
|
|
20
|
+
export declare const EPIC10_PLATFORM_GATES_SUITE: string;
|
|
21
|
+
export declare const EPIC10_PLATFORM_GATES_WORKPACKAGE: string;
|
|
22
|
+
export declare const EPIC10_PLATFORM_GATES_WORKPACKAGE_DOC: XtendCatalogConstant;
|
|
23
|
+
export declare const EPIC10_PLATFORM_GATE_RECORD_SCHEMA: string;
|
|
24
|
+
export declare const FAST_PR_SUITE_IDS: XtendCatalogConstant;
|
|
25
|
+
export declare const GATE_DEFINITIONS: readonly XtendCatalogConstant[] | XtendCatalogConstant;
|
|
26
|
+
export declare const KERNEL_BOUNDARY: XtendCatalogConstant;
|
|
27
|
+
export declare const RELEASE_SUITE_IDS: XtendCatalogConstant;
|
|
28
|
+
export declare const REQUIRED_GATE_DOMAINS: readonly XtendCatalogConstant[] | XtendCatalogConstant;
|
|
29
|
+
export declare function createEpic10PlatformGatePlan(options?: XtendCatalogOptions): XtendCatalogPlan;
|
|
30
|
+
export declare function createEpic10PlatformGateReport(options?: XtendCatalogOptions): XtendCatalogReport;
|
|
31
|
+
export declare function validateEpic10PlatformGatePlan(plan?: unknown): XtendCatalogReport;
|
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
const {
|
|
2
|
+
EXPECTED_COMPONENT_ORDER
|
|
3
|
+
} = require('./epic10-p0-component-wave');
|
|
4
|
+
const {
|
|
5
|
+
TARGET_COMPONENTS,
|
|
6
|
+
createExistingComponentMetadataPlan
|
|
7
|
+
} = require('./epic10-existing-component-metadata');
|
|
8
|
+
const {
|
|
9
|
+
CORE_THEME_VARIANTS,
|
|
10
|
+
CORE_VIEWPORTS,
|
|
11
|
+
createComponentRegressionPriorityPlan
|
|
12
|
+
} = require('./component-regression-priority');
|
|
13
|
+
|
|
14
|
+
const EPIC10_PLATFORM_GATES_SCHEMA = 'xtend.epic10.platform-gates.v1';
|
|
15
|
+
const EPIC10_PLATFORM_GATE_RECORD_SCHEMA = 'xtend.epic10.platform-gate.record.v1';
|
|
16
|
+
const EPIC10_PLATFORM_GATES_REPORT_SCHEMA = 'xtend.epic10.platform-gates-report.v1';
|
|
17
|
+
const EPIC10_PLATFORM_GATES_WORKPACKAGE = 'WP-E10-15';
|
|
18
|
+
const EPIC10_PLATFORM_GATES_STATUS = 'accepted-gate-chain';
|
|
19
|
+
const EPIC10_PLATFORM_GATES_DOC = 'development/XTend-Epic10-Platform-Gates.md';
|
|
20
|
+
const EPIC10_PLATFORM_GATES_WORKPACKAGE_DOC = 'development/WP-E10-15-Browser-A11y-Performance-und-Visual-Gates-erweitern.md';
|
|
21
|
+
const EPIC10_PLATFORM_GATES_DEVELOPER_DOCS = 'docs/epic10-platform-gates.md';
|
|
22
|
+
const EPIC10_PLATFORM_GATES_SUITE = 'tests/platform/epic10_platform_gates_suite.js';
|
|
23
|
+
const EPIC10_PLATFORM_GATES_MODULE = 'catalog/epic10-platform-gates.js';
|
|
24
|
+
const EPIC10_PLATFORM_GATES_LOCAL_GATE = 'node scripts/run_xtend_tests.js epic10-platform-gates --json';
|
|
25
|
+
const EPIC10_PLATFORM_GATES_PACKAGE_SCRIPT = 'npm run test:epic10-platform-gates';
|
|
26
|
+
const KERNEL_BOUNDARY = 'no-rmt-kernel-import-of-xtend-types';
|
|
27
|
+
|
|
28
|
+
const REQUIRED_GATE_DOMAINS = Object.freeze([
|
|
29
|
+
'component-contract',
|
|
30
|
+
'rmt-first-app',
|
|
31
|
+
'browser-smoke',
|
|
32
|
+
'a11y',
|
|
33
|
+
'performance',
|
|
34
|
+
'visual-browser-regression',
|
|
35
|
+
'ci-handoff'
|
|
36
|
+
]);
|
|
37
|
+
|
|
38
|
+
const BROWSER_FIXTURES = Object.freeze([
|
|
39
|
+
'tests/browser/fixtures/custom-elements-smoke.html',
|
|
40
|
+
'tests/browser/fixtures/core-flows-smoke.html',
|
|
41
|
+
'tests/browser/fixtures/rmt-xrouter-xtend-smoke.html',
|
|
42
|
+
'tests/browser/fixtures/rmt-first-demo-app-smoke.html',
|
|
43
|
+
'tests/browser/fixtures/a11y-focus-keyboard-smoke.html'
|
|
44
|
+
]);
|
|
45
|
+
|
|
46
|
+
const FAST_PR_SUITE_IDS = Object.freeze([
|
|
47
|
+
'component-contract-v2',
|
|
48
|
+
'epic10-p0-component-wave',
|
|
49
|
+
'component-lab-rmt-inspector',
|
|
50
|
+
'rmt-first-demo-app',
|
|
51
|
+
'existing-component-metadata',
|
|
52
|
+
'epic10-release-handoff',
|
|
53
|
+
'browser',
|
|
54
|
+
'a11y-hydration',
|
|
55
|
+
'screenreader-signals',
|
|
56
|
+
'motion-contrast',
|
|
57
|
+
'regression-priority',
|
|
58
|
+
'references'
|
|
59
|
+
]);
|
|
60
|
+
|
|
61
|
+
const RELEASE_SUITE_IDS = Object.freeze([
|
|
62
|
+
...FAST_PR_SUITE_IDS,
|
|
63
|
+
'components',
|
|
64
|
+
'rmt-first-class-app',
|
|
65
|
+
'rmt-component-fabric-ingestion',
|
|
66
|
+
'rmt-component-lifecycle-telemetry',
|
|
67
|
+
'rmt-compatibility',
|
|
68
|
+
'fabric-performance-measurements',
|
|
69
|
+
'performance-regression',
|
|
70
|
+
'hydration-policy',
|
|
71
|
+
'catalog-coverage',
|
|
72
|
+
'docs-rmt-pilot'
|
|
73
|
+
]);
|
|
74
|
+
|
|
75
|
+
const GATE_DEFINITIONS = Object.freeze([
|
|
76
|
+
{
|
|
77
|
+
id: 'component-contract-v2',
|
|
78
|
+
domain: 'component-contract',
|
|
79
|
+
tier: 'fast-pr',
|
|
80
|
+
source: 'WP-E10-03',
|
|
81
|
+
suiteId: 'component-contract-v2',
|
|
82
|
+
command: 'node scripts/run_xtend_tests.js component-contract-v2 --json',
|
|
83
|
+
packageScript: 'npm run test:component-contract-v2',
|
|
84
|
+
validates: ['xtend.component.contract.v2', 'rmt-metadata', 'fabric-boundary', 'component-maturity'],
|
|
85
|
+
target: 'new-and-migrated-components'
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
id: 'existing-component-metadata',
|
|
89
|
+
domain: 'component-contract',
|
|
90
|
+
tier: 'fast-pr',
|
|
91
|
+
source: 'WP-E10-14',
|
|
92
|
+
suiteId: 'existing-component-metadata',
|
|
93
|
+
command: 'node scripts/run_xtend_tests.js existing-component-metadata --json',
|
|
94
|
+
packageScript: 'npm run test:existing-component-metadata',
|
|
95
|
+
validates: ['js-legacy-contract-overlay', 'xtend.rmt.component-contract.v1', 'xtend.component.fabric-boundary.v2'],
|
|
96
|
+
target: 'prioritized-existing-components'
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
id: 'rmt-first-demo-app',
|
|
100
|
+
domain: 'rmt-first-app',
|
|
101
|
+
tier: 'fast-pr',
|
|
102
|
+
source: 'WP-E10-13',
|
|
103
|
+
suiteId: 'rmt-first-demo-app',
|
|
104
|
+
command: 'node scripts/run_xtend_tests.js rmt-first-demo-app --json',
|
|
105
|
+
packageScript: 'npm run test:rmt-first-demo-app',
|
|
106
|
+
validates: ['shell-first-rendering', 'no-manual-shell', 'rmt-owned-templates', 'rmt-owned-routes'],
|
|
107
|
+
target: 'rmt-first-demo-app'
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
id: 'browser-smoke',
|
|
111
|
+
domain: 'browser-smoke',
|
|
112
|
+
tier: 'fast-pr',
|
|
113
|
+
source: 'ER-WP-24/WP-E10-13',
|
|
114
|
+
suiteId: 'browser',
|
|
115
|
+
command: 'node scripts/run_xtend_tests.js browser --json',
|
|
116
|
+
packageScript: 'npm run test:browser',
|
|
117
|
+
validates: ['local-loader', 'rmt-xrouter-smoke', 'rmt-first-demo-smoke', 'a11y-keyboard-smoke'],
|
|
118
|
+
target: 'browser-near-fixtures'
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
id: 'a11y-hydration',
|
|
122
|
+
domain: 'a11y',
|
|
123
|
+
tier: 'fast-pr',
|
|
124
|
+
source: 'ER-WP-24/ER-WP-25/ER-WP-26',
|
|
125
|
+
suiteId: 'a11y-hydration',
|
|
126
|
+
command: 'node scripts/run_xtend_tests.js a11y-hydration --json',
|
|
127
|
+
packageScript: 'npm run test:a11y',
|
|
128
|
+
validates: ['labels', 'keyboard', 'focus-visible', 'hydration-safe-a11y'],
|
|
129
|
+
target: 'interactive-components'
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
id: 'screenreader-signals',
|
|
133
|
+
domain: 'a11y',
|
|
134
|
+
tier: 'fast-pr',
|
|
135
|
+
source: 'ER-WP-25',
|
|
136
|
+
suiteId: 'screenreader-signals',
|
|
137
|
+
command: 'node scripts/run_xtend_tests.js screenreader-signals --json',
|
|
138
|
+
packageScript: 'npm run test:screenreader-signals',
|
|
139
|
+
validates: ['aria-live', 'status-region', 'error-region', 'announcement-policy'],
|
|
140
|
+
target: 'feedback-and-form-components'
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
id: 'motion-contrast',
|
|
144
|
+
domain: 'a11y',
|
|
145
|
+
tier: 'fast-pr',
|
|
146
|
+
source: 'ER-WP-26',
|
|
147
|
+
suiteId: 'motion-contrast',
|
|
148
|
+
command: 'node scripts/run_xtend_tests.js motion-contrast --json',
|
|
149
|
+
packageScript: 'npm run test:motion-contrast',
|
|
150
|
+
validates: ['reduced-motion', 'forced-colors', 'non-color-status'],
|
|
151
|
+
target: 'visual-and-overlay-components'
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
id: 'performance-regression',
|
|
155
|
+
domain: 'performance',
|
|
156
|
+
tier: 'release',
|
|
157
|
+
source: 'ER-WP-19',
|
|
158
|
+
suiteId: 'performance-regression',
|
|
159
|
+
command: 'node scripts/run_xtend_tests.js performance-regression --json',
|
|
160
|
+
packageScript: 'npm run test:performance',
|
|
161
|
+
validates: ['deterministic-baseline', 'budget-matrix', 'fabric-measurement-input'],
|
|
162
|
+
target: 'performance-critical-components'
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
id: 'fabric-performance-measurements',
|
|
166
|
+
domain: 'performance',
|
|
167
|
+
tier: 'release',
|
|
168
|
+
source: 'ER-WP-18',
|
|
169
|
+
suiteId: 'fabric-performance-measurements',
|
|
170
|
+
command: 'node scripts/run_xtend_tests.js fabric-performance-measurements --json',
|
|
171
|
+
packageScript: 'npm run test:fabric-performance',
|
|
172
|
+
validates: ['loader-measurements', 'hydration-measurements', 'route-render-measurements'],
|
|
173
|
+
target: 'fabric-telemetry-snapshots'
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
id: 'hydration-policy',
|
|
177
|
+
domain: 'performance',
|
|
178
|
+
tier: 'release',
|
|
179
|
+
source: 'ER-WP-20',
|
|
180
|
+
suiteId: 'hydration-policy',
|
|
181
|
+
command: 'node scripts/run_xtend_tests.js hydration-policy --json',
|
|
182
|
+
packageScript: 'npm run test:hydration-policy',
|
|
183
|
+
validates: ['visible-hydration', 'idle-hydration', 'lazy-hydration', 'rmt-schedule-delegation'],
|
|
184
|
+
target: 'component-hydration-policies'
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
id: 'visual-browser-regression',
|
|
188
|
+
domain: 'visual-browser-regression',
|
|
189
|
+
tier: 'fast-pr',
|
|
190
|
+
source: 'ER-WP-35',
|
|
191
|
+
suiteId: 'regression-priority',
|
|
192
|
+
command: 'node scripts/run_xtend_tests.js regression-priority --json',
|
|
193
|
+
packageScript: 'npm run test:regression-priority',
|
|
194
|
+
validates: ['desktop-mobile-viewports', 'theme-variants', 'browser-smoke-priority', 'visual-state-priority'],
|
|
195
|
+
target: 'all-manifest-components'
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
id: 'ci-handoff',
|
|
199
|
+
domain: 'ci-handoff',
|
|
200
|
+
tier: 'fast-pr',
|
|
201
|
+
source: 'WP-E10-15',
|
|
202
|
+
suiteId: 'epic10-platform-gates',
|
|
203
|
+
command: EPIC10_PLATFORM_GATES_LOCAL_GATE,
|
|
204
|
+
packageScript: EPIC10_PLATFORM_GATES_PACKAGE_SCRIPT,
|
|
205
|
+
validates: ['fast-pr-suite-list', 'release-suite-list', 'package-metadata', 'reference-docs'],
|
|
206
|
+
target: 'epic10-release-readiness'
|
|
207
|
+
}
|
|
208
|
+
]);
|
|
209
|
+
|
|
210
|
+
function unique(values) {
|
|
211
|
+
return Array.from(new Set((values || []).filter(Boolean)));
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
function createGateRecord(definition) {
|
|
215
|
+
return {
|
|
216
|
+
schema: EPIC10_PLATFORM_GATE_RECORD_SCHEMA,
|
|
217
|
+
...definition
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
function summarizeGates(gates) {
|
|
222
|
+
return gates.reduce((summary, gate) => {
|
|
223
|
+
summary.byDomain[gate.domain] = (summary.byDomain[gate.domain] || 0) + 1;
|
|
224
|
+
summary.byTier[gate.tier] = (summary.byTier[gate.tier] || 0) + 1;
|
|
225
|
+
return summary;
|
|
226
|
+
}, {
|
|
227
|
+
gateCount: gates.length,
|
|
228
|
+
byDomain: {},
|
|
229
|
+
byTier: {}
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
function createEpic10PlatformGatePlan(options = {}) {
|
|
234
|
+
const existingMetadata = options.existingMetadata || createExistingComponentMetadataPlan();
|
|
235
|
+
const regressionPriority = options.regressionPriority || createComponentRegressionPriorityPlan(options);
|
|
236
|
+
const gates = GATE_DEFINITIONS.map(createGateRecord);
|
|
237
|
+
const prioritizedRegressionTargets = unique([
|
|
238
|
+
...EXPECTED_COMPONENT_ORDER,
|
|
239
|
+
...TARGET_COMPONENTS
|
|
240
|
+
]);
|
|
241
|
+
|
|
242
|
+
return {
|
|
243
|
+
schema: EPIC10_PLATFORM_GATES_SCHEMA,
|
|
244
|
+
reportSchema: EPIC10_PLATFORM_GATES_REPORT_SCHEMA,
|
|
245
|
+
gateRecordSchema: EPIC10_PLATFORM_GATE_RECORD_SCHEMA,
|
|
246
|
+
workpackage: EPIC10_PLATFORM_GATES_WORKPACKAGE,
|
|
247
|
+
status: EPIC10_PLATFORM_GATES_STATUS,
|
|
248
|
+
generatedAt: options.generatedAt || 'static-local',
|
|
249
|
+
kernelBoundary: KERNEL_BOUNDARY,
|
|
250
|
+
contract: EPIC10_PLATFORM_GATES_DOC,
|
|
251
|
+
workpackageDocument: EPIC10_PLATFORM_GATES_WORKPACKAGE_DOC,
|
|
252
|
+
docs: EPIC10_PLATFORM_GATES_DEVELOPER_DOCS,
|
|
253
|
+
module: EPIC10_PLATFORM_GATES_MODULE,
|
|
254
|
+
suite: EPIC10_PLATFORM_GATES_SUITE,
|
|
255
|
+
localGate: EPIC10_PLATFORM_GATES_LOCAL_GATE,
|
|
256
|
+
packageScript: EPIC10_PLATFORM_GATES_PACKAGE_SCRIPT,
|
|
257
|
+
requiredDomains: REQUIRED_GATE_DOMAINS.slice(),
|
|
258
|
+
gates,
|
|
259
|
+
browser: {
|
|
260
|
+
fixtures: BROWSER_FIXTURES.slice(),
|
|
261
|
+
requiredResultKeys: [
|
|
262
|
+
'__xtendBrowserSmokeResult',
|
|
263
|
+
'__xtendCoreSmokeResult',
|
|
264
|
+
'__xtendRmtBrowserSmokeResult',
|
|
265
|
+
'__xtendRmtFirstDemoSmokeResult',
|
|
266
|
+
'__xtendA11yKeyboardSmokeResult'
|
|
267
|
+
],
|
|
268
|
+
localOnly: true,
|
|
269
|
+
cdnAllowed: false
|
|
270
|
+
},
|
|
271
|
+
a11y: {
|
|
272
|
+
suites: ['a11y-hydration', 'screenreader-signals', 'motion-contrast'],
|
|
273
|
+
requiredSignals: ['keyboard', 'aria-live', 'focus-visible', 'forced-colors', 'reduced-motion'],
|
|
274
|
+
lane: 'a11y'
|
|
275
|
+
},
|
|
276
|
+
performance: {
|
|
277
|
+
suites: ['fabric-performance-measurements', 'performance-regression', 'hydration-policy'],
|
|
278
|
+
requiredContracts: [
|
|
279
|
+
'xtend.performance.measurement.v1',
|
|
280
|
+
'xtend.performance.regression-report.v1',
|
|
281
|
+
'xtend.fabric.hydration-policy.v1'
|
|
282
|
+
],
|
|
283
|
+
releaseOnlyInFastPr: true
|
|
284
|
+
},
|
|
285
|
+
visualRegression: {
|
|
286
|
+
sourceSchema: regressionPriority.schema,
|
|
287
|
+
componentCount: regressionPriority.summary.componentCount,
|
|
288
|
+
viewports: CORE_VIEWPORTS.slice(),
|
|
289
|
+
themeVariants: CORE_THEME_VARIANTS.slice(),
|
|
290
|
+
prioritizedTargets: prioritizedRegressionTargets,
|
|
291
|
+
requiredGate: 'regression-priority'
|
|
292
|
+
},
|
|
293
|
+
componentTargets: {
|
|
294
|
+
typescriptFirst: EXPECTED_COMPONENT_ORDER.slice(),
|
|
295
|
+
existingMetadata: existingMetadata.targetComponents.slice()
|
|
296
|
+
},
|
|
297
|
+
ci: {
|
|
298
|
+
fastPr: {
|
|
299
|
+
suiteIds: FAST_PR_SUITE_IDS.slice(),
|
|
300
|
+
command: `node scripts/run_xtend_tests.js ${FAST_PR_SUITE_IDS.join(' ')} --json`,
|
|
301
|
+
excludesReleaseOnlyPerformance: true
|
|
302
|
+
},
|
|
303
|
+
release: {
|
|
304
|
+
suiteIds: RELEASE_SUITE_IDS.slice(),
|
|
305
|
+
command: 'node scripts/run_xtend_tests.js --json',
|
|
306
|
+
packageScript: 'npm run test:release:full'
|
|
307
|
+
},
|
|
308
|
+
handoff: 'WP-E10-16'
|
|
309
|
+
},
|
|
310
|
+
summary: summarizeGates(gates)
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
function validateEpic10PlatformGatePlan(plan) {
|
|
315
|
+
const errors = [];
|
|
316
|
+
if (!plan || plan.schema !== EPIC10_PLATFORM_GATES_SCHEMA) {
|
|
317
|
+
errors.push(`plan schema must be ${EPIC10_PLATFORM_GATES_SCHEMA}`);
|
|
318
|
+
}
|
|
319
|
+
if (!plan || plan.status !== EPIC10_PLATFORM_GATES_STATUS) {
|
|
320
|
+
errors.push(`plan status must be ${EPIC10_PLATFORM_GATES_STATUS}`);
|
|
321
|
+
}
|
|
322
|
+
if (!plan || plan.kernelBoundary !== KERNEL_BOUNDARY) {
|
|
323
|
+
errors.push(`plan must keep ${KERNEL_BOUNDARY}`);
|
|
324
|
+
}
|
|
325
|
+
if (!plan || !Array.isArray(plan.gates) || plan.gates.length !== GATE_DEFINITIONS.length) {
|
|
326
|
+
errors.push('plan must expose all Epic 10 platform gate records');
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
const domains = new Set((plan && plan.gates || []).map((gate) => gate.domain));
|
|
330
|
+
REQUIRED_GATE_DOMAINS.forEach((domain) => {
|
|
331
|
+
if (!domains.has(domain)) {
|
|
332
|
+
errors.push(`missing gate domain ${domain}`);
|
|
333
|
+
}
|
|
334
|
+
});
|
|
335
|
+
|
|
336
|
+
(plan && plan.gates || []).forEach((gate) => {
|
|
337
|
+
if (gate.schema !== EPIC10_PLATFORM_GATE_RECORD_SCHEMA) {
|
|
338
|
+
errors.push(`${gate.id || '<unknown>'}: gate record schema must be ${EPIC10_PLATFORM_GATE_RECORD_SCHEMA}`);
|
|
339
|
+
}
|
|
340
|
+
if (!gate.suiteId || !gate.command || !gate.packageScript) {
|
|
341
|
+
errors.push(`${gate.id || '<unknown>'}: gate must expose suiteId, command and packageScript`);
|
|
342
|
+
}
|
|
343
|
+
if (!Array.isArray(gate.validates) || gate.validates.length === 0) {
|
|
344
|
+
errors.push(`${gate.id || '<unknown>'}: gate must declare validation targets`);
|
|
345
|
+
}
|
|
346
|
+
});
|
|
347
|
+
|
|
348
|
+
if (!plan || !plan.browser || !plan.browser.fixtures.includes('tests/browser/fixtures/rmt-first-demo-app-smoke.html')) {
|
|
349
|
+
errors.push('browser gates must include the RMT-first demo smoke fixture');
|
|
350
|
+
}
|
|
351
|
+
if (!plan || !plan.browser || !plan.browser.fixtures.includes('tests/browser/fixtures/a11y-focus-keyboard-smoke.html')) {
|
|
352
|
+
errors.push('browser gates must include the A11y keyboard smoke fixture');
|
|
353
|
+
}
|
|
354
|
+
if (!plan || !plan.visualRegression || !plan.visualRegression.viewports.includes('desktop-1280') || !plan.visualRegression.viewports.includes('mobile-390')) {
|
|
355
|
+
errors.push('visual regression must include desktop and mobile viewports');
|
|
356
|
+
}
|
|
357
|
+
if (!plan || !plan.visualRegression || !plan.visualRegression.themeVariants.includes('forced-colors') || !plan.visualRegression.themeVariants.includes('reduced-motion')) {
|
|
358
|
+
errors.push('visual regression must include forced-colors and reduced-motion variants');
|
|
359
|
+
}
|
|
360
|
+
if (!plan || !plan.componentTargets || plan.componentTargets.typescriptFirst.length !== EXPECTED_COMPONENT_ORDER.length) {
|
|
361
|
+
errors.push('all TypeScript-first Epic 10 targets must be included');
|
|
362
|
+
}
|
|
363
|
+
if (!plan || !plan.componentTargets || plan.componentTargets.existingMetadata.length !== TARGET_COMPONENTS.length) {
|
|
364
|
+
errors.push('all existing metadata targets must be included');
|
|
365
|
+
}
|
|
366
|
+
if (!plan || !plan.ci || !plan.ci.fastPr.suiteIds.includes('browser') || !plan.ci.fastPr.suiteIds.includes('existing-component-metadata')) {
|
|
367
|
+
errors.push('fast PR gate must include browser and existing-component-metadata suites');
|
|
368
|
+
}
|
|
369
|
+
if (!plan || !plan.ci || plan.ci.fastPr.suiteIds.includes('performance-regression')) {
|
|
370
|
+
errors.push('fast PR gate must keep performance-regression release-only');
|
|
371
|
+
}
|
|
372
|
+
if (!plan || !plan.ci || !plan.ci.release.suiteIds.includes('performance-regression') || !plan.ci.release.suiteIds.includes('fabric-performance-measurements')) {
|
|
373
|
+
errors.push('release gate must include performance regression and Fabric measurements');
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
return {
|
|
377
|
+
schema: EPIC10_PLATFORM_GATES_REPORT_SCHEMA,
|
|
378
|
+
ok: errors.length === 0,
|
|
379
|
+
errors
|
|
380
|
+
};
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
function createEpic10PlatformGateReport(options = {}) {
|
|
384
|
+
const plan = options.plan || createEpic10PlatformGatePlan(options);
|
|
385
|
+
const validation = validateEpic10PlatformGatePlan(plan);
|
|
386
|
+
const releaseOnlyPerformance = plan.gates
|
|
387
|
+
.filter((gate) => gate.domain === 'performance')
|
|
388
|
+
.map((gate) => gate.suiteId);
|
|
389
|
+
|
|
390
|
+
return {
|
|
391
|
+
schema: EPIC10_PLATFORM_GATES_REPORT_SCHEMA,
|
|
392
|
+
ok: validation.ok,
|
|
393
|
+
errors: validation.errors,
|
|
394
|
+
plan,
|
|
395
|
+
localGate: plan.localGate,
|
|
396
|
+
fastPrSuites: plan.ci.fastPr.suiteIds.slice(),
|
|
397
|
+
releaseSuites: plan.ci.release.suiteIds.slice(),
|
|
398
|
+
releaseOnlyPerformance,
|
|
399
|
+
domains: plan.requiredDomains.slice()
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
module.exports = {
|
|
404
|
+
BROWSER_FIXTURES,
|
|
405
|
+
EPIC10_PLATFORM_GATES_DEVELOPER_DOCS,
|
|
406
|
+
EPIC10_PLATFORM_GATES_DOC,
|
|
407
|
+
EPIC10_PLATFORM_GATES_LOCAL_GATE,
|
|
408
|
+
EPIC10_PLATFORM_GATES_MODULE,
|
|
409
|
+
EPIC10_PLATFORM_GATES_PACKAGE_SCRIPT,
|
|
410
|
+
EPIC10_PLATFORM_GATES_REPORT_SCHEMA,
|
|
411
|
+
EPIC10_PLATFORM_GATES_SCHEMA,
|
|
412
|
+
EPIC10_PLATFORM_GATES_STATUS,
|
|
413
|
+
EPIC10_PLATFORM_GATES_SUITE,
|
|
414
|
+
EPIC10_PLATFORM_GATES_WORKPACKAGE,
|
|
415
|
+
EPIC10_PLATFORM_GATES_WORKPACKAGE_DOC,
|
|
416
|
+
EPIC10_PLATFORM_GATE_RECORD_SCHEMA,
|
|
417
|
+
FAST_PR_SUITE_IDS,
|
|
418
|
+
GATE_DEFINITIONS,
|
|
419
|
+
KERNEL_BOUNDARY,
|
|
420
|
+
RELEASE_SUITE_IDS,
|
|
421
|
+
REQUIRED_GATE_DOMAINS,
|
|
422
|
+
createEpic10PlatformGatePlan,
|
|
423
|
+
createEpic10PlatformGateReport,
|
|
424
|
+
validateEpic10PlatformGatePlan
|
|
425
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
XtendCatalogConstant,
|
|
3
|
+
XtendCatalogGate,
|
|
4
|
+
XtendCatalogOptions,
|
|
5
|
+
XtendCatalogPlan,
|
|
6
|
+
XtendCatalogRecord,
|
|
7
|
+
XtendCatalogReport
|
|
8
|
+
} from './catalog-public-types';
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export declare const CANONICAL_FABRIC_BOUNDARY: XtendCatalogConstant;
|
|
12
|
+
export declare const EPIC10_RELEASE_HANDOFF_CONTRACT: string;
|
|
13
|
+
export declare const EPIC10_RELEASE_HANDOFF_DOCS: readonly XtendCatalogConstant[] | XtendCatalogConstant;
|
|
14
|
+
export declare const EPIC10_RELEASE_HANDOFF_LOCAL_GATE: string;
|
|
15
|
+
export declare const EPIC10_RELEASE_HANDOFF_MODULE: string;
|
|
16
|
+
export declare const EPIC10_RELEASE_HANDOFF_PACKAGE_SCRIPT: string;
|
|
17
|
+
export declare const EPIC10_RELEASE_HANDOFF_REPORT_SCHEMA: string;
|
|
18
|
+
export declare const EPIC10_RELEASE_HANDOFF_SCHEMA: string;
|
|
19
|
+
export declare const EPIC10_RELEASE_HANDOFF_STATUS: string;
|
|
20
|
+
export declare const EPIC10_RELEASE_HANDOFF_SUITE: string;
|
|
21
|
+
export declare const EPIC10_RELEASE_HANDOFF_WORKPACKAGE: string;
|
|
22
|
+
export declare const EPIC10_RELEASE_HANDOFF_WORKPACKAGE_DOC: XtendCatalogConstant;
|
|
23
|
+
export declare const KERNEL_BOUNDARY: XtendCatalogConstant;
|
|
24
|
+
export declare const NEXT_WAVE_HANDOFFS: XtendCatalogConstant;
|
|
25
|
+
export declare const REQUIRED_DOCS: readonly XtendCatalogConstant[] | XtendCatalogConstant;
|
|
26
|
+
export declare const REQUIRED_RELEASE_GATES: readonly XtendCatalogConstant[] | XtendCatalogConstant;
|
|
27
|
+
export declare const RMT_FIRST_XTEND_APPS_DOCS: readonly XtendCatalogConstant[] | XtendCatalogConstant;
|
|
28
|
+
export declare function createEpic10ReleaseHandoffPlan(options?: XtendCatalogOptions): XtendCatalogPlan;
|
|
29
|
+
export declare function createEpic10ReleaseHandoffReport(options?: XtendCatalogOptions): XtendCatalogReport;
|
|
30
|
+
export declare function validateEpic10ReleaseHandoffPlan(plan?: unknown): XtendCatalogReport;
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
const {
|
|
2
|
+
createEpic10PlatformGatePlan
|
|
3
|
+
} = require('./epic10-platform-gates');
|
|
4
|
+
|
|
5
|
+
const EPIC10_RELEASE_HANDOFF_SCHEMA = 'xtend.epic10.release-handoff.v1';
|
|
6
|
+
const EPIC10_RELEASE_HANDOFF_REPORT_SCHEMA = 'xtend.epic10.release-handoff-report.v1';
|
|
7
|
+
const EPIC10_RELEASE_HANDOFF_WORKPACKAGE = 'WP-E10-16';
|
|
8
|
+
const EPIC10_RELEASE_HANDOFF_STATUS = 'accepted-release-handoff';
|
|
9
|
+
const EPIC10_RELEASE_HANDOFF_MODULE = 'catalog/epic10-release-handoff.js';
|
|
10
|
+
const EPIC10_RELEASE_HANDOFF_SUITE = 'tests/platform/epic10_release_handoff_suite.js';
|
|
11
|
+
const EPIC10_RELEASE_HANDOFF_CONTRACT = 'development/XTend-Epic10-Abschluss-und-Release-Handoff.md';
|
|
12
|
+
const EPIC10_RELEASE_HANDOFF_WORKPACKAGE_DOC = 'development/WP-E10-16-Dokumentation-Guides-und-Release-Handoff-finalisieren.md';
|
|
13
|
+
const EPIC10_RELEASE_HANDOFF_DOCS = 'docs/epic10-release-handoff.md';
|
|
14
|
+
const RMT_FIRST_XTEND_APPS_DOCS = 'docs/rmt-first-xtend-apps.md';
|
|
15
|
+
const EPIC10_RELEASE_HANDOFF_LOCAL_GATE = 'node scripts/run_xtend_tests.js epic10-release-handoff --json';
|
|
16
|
+
const EPIC10_RELEASE_HANDOFF_PACKAGE_SCRIPT = 'npm run test:epic10-release-handoff';
|
|
17
|
+
const KERNEL_BOUNDARY = 'no-rmt-kernel-import-of-xtend-types';
|
|
18
|
+
const CANONICAL_FABRIC_BOUNDARY = 'adapter-injection-via-xtend-component-resolveFabricContext';
|
|
19
|
+
|
|
20
|
+
const REQUIRED_DOCS = Object.freeze([
|
|
21
|
+
'docs/component-platform.md',
|
|
22
|
+
'docs/typescript-components.md',
|
|
23
|
+
RMT_FIRST_XTEND_APPS_DOCS,
|
|
24
|
+
'docs/component-lab.md',
|
|
25
|
+
'docs/rmt-first-demo-app.md',
|
|
26
|
+
'docs/existing-component-metadata.md',
|
|
27
|
+
'docs/epic10-platform-gates.md',
|
|
28
|
+
EPIC10_RELEASE_HANDOFF_DOCS,
|
|
29
|
+
'docs/enterprise-adoption.md',
|
|
30
|
+
'docs/xtendrmt-app-dsl.md'
|
|
31
|
+
]);
|
|
32
|
+
|
|
33
|
+
const REQUIRED_RELEASE_GATES = Object.freeze([
|
|
34
|
+
'epic10-release-handoff',
|
|
35
|
+
'epic10-platform-gates',
|
|
36
|
+
'component-contract-v2',
|
|
37
|
+
'rmt-first-class-app',
|
|
38
|
+
'rmt-first-demo-app',
|
|
39
|
+
'existing-component-metadata',
|
|
40
|
+
'browser',
|
|
41
|
+
'a11y-hydration',
|
|
42
|
+
'screenreader-signals',
|
|
43
|
+
'motion-contrast',
|
|
44
|
+
'fabric-performance-measurements',
|
|
45
|
+
'performance-regression',
|
|
46
|
+
'hydration-policy',
|
|
47
|
+
'regression-priority',
|
|
48
|
+
'references'
|
|
49
|
+
]);
|
|
50
|
+
|
|
51
|
+
const NEXT_WAVE_HANDOFFS = Object.freeze([
|
|
52
|
+
'long-tail-component-runtime-migration',
|
|
53
|
+
'remaining-performance-profile-authoring',
|
|
54
|
+
'component-catalog-completion',
|
|
55
|
+
'release-candidate-packaging',
|
|
56
|
+
'xtendrmt-upstream-dsl-polish'
|
|
57
|
+
]);
|
|
58
|
+
|
|
59
|
+
function createEpic10ReleaseHandoffPlan(options = {}) {
|
|
60
|
+
const platformGates = options.platformGates || createEpic10PlatformGatePlan(options);
|
|
61
|
+
|
|
62
|
+
return {
|
|
63
|
+
schema: EPIC10_RELEASE_HANDOFF_SCHEMA,
|
|
64
|
+
reportSchema: EPIC10_RELEASE_HANDOFF_REPORT_SCHEMA,
|
|
65
|
+
workpackage: EPIC10_RELEASE_HANDOFF_WORKPACKAGE,
|
|
66
|
+
status: EPIC10_RELEASE_HANDOFF_STATUS,
|
|
67
|
+
generatedAt: options.generatedAt || 'static-local',
|
|
68
|
+
module: EPIC10_RELEASE_HANDOFF_MODULE,
|
|
69
|
+
suite: EPIC10_RELEASE_HANDOFF_SUITE,
|
|
70
|
+
contract: EPIC10_RELEASE_HANDOFF_CONTRACT,
|
|
71
|
+
workpackageDocument: EPIC10_RELEASE_HANDOFF_WORKPACKAGE_DOC,
|
|
72
|
+
docs: EPIC10_RELEASE_HANDOFF_DOCS,
|
|
73
|
+
localGate: EPIC10_RELEASE_HANDOFF_LOCAL_GATE,
|
|
74
|
+
packageScript: EPIC10_RELEASE_HANDOFF_PACKAGE_SCRIPT,
|
|
75
|
+
kernelBoundary: KERNEL_BOUNDARY,
|
|
76
|
+
canonicalFabricBoundary: CANONICAL_FABRIC_BOUNDARY,
|
|
77
|
+
docsSurface: {
|
|
78
|
+
requiredDocs: REQUIRED_DOCS.slice(),
|
|
79
|
+
componentAuthoring: ['docs/component-platform.md', 'docs/typescript-components.md'],
|
|
80
|
+
rmtAuthoring: [RMT_FIRST_XTEND_APPS_DOCS, 'docs/xtendrmt-app-dsl.md'],
|
|
81
|
+
migrationNotes: EPIC10_RELEASE_HANDOFF_DOCS,
|
|
82
|
+
releaseHandoff: EPIC10_RELEASE_HANDOFF_DOCS
|
|
83
|
+
},
|
|
84
|
+
releaseReadiness: {
|
|
85
|
+
packagePrivate: true,
|
|
86
|
+
publishAllowed: false,
|
|
87
|
+
publishBoundary: 'private-until-release-owner-acceptance',
|
|
88
|
+
fastPrGate: platformGates.ci.fastPr.command,
|
|
89
|
+
releaseGate: platformGates.ci.release.command,
|
|
90
|
+
requiredGates: REQUIRED_RELEASE_GATES.slice(),
|
|
91
|
+
conditionalNetworkGates: ['npm audit --audit-level=moderate', 'npm sbom --sbom-format=cyclonedx --json']
|
|
92
|
+
},
|
|
93
|
+
epicCompletion: {
|
|
94
|
+
status: 'completed',
|
|
95
|
+
completedWorkpackages: Array.from({ length: 16 }, (_, index) => `WP-E10-${String(index + 1).padStart(2, '0')}`),
|
|
96
|
+
closedDecisions: [
|
|
97
|
+
'typescript-source-esm-runtime',
|
|
98
|
+
'rmt-first-app-authoring',
|
|
99
|
+
'fabric-lane-ingestion',
|
|
100
|
+
'component-lifecycle-telemetry',
|
|
101
|
+
'component-lab-and-rmt-inspector',
|
|
102
|
+
'existing-component-metadata-overlay',
|
|
103
|
+
'browser-a11y-performance-visual-gates',
|
|
104
|
+
'documentation-release-handoff'
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
knownHandoffs: NEXT_WAVE_HANDOFFS.slice()
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
function validateEpic10ReleaseHandoffPlan(plan) {
|
|
112
|
+
const errors = [];
|
|
113
|
+
if (!plan || plan.schema !== EPIC10_RELEASE_HANDOFF_SCHEMA) {
|
|
114
|
+
errors.push(`plan schema must be ${EPIC10_RELEASE_HANDOFF_SCHEMA}`);
|
|
115
|
+
}
|
|
116
|
+
if (!plan || plan.status !== EPIC10_RELEASE_HANDOFF_STATUS) {
|
|
117
|
+
errors.push(`plan status must be ${EPIC10_RELEASE_HANDOFF_STATUS}`);
|
|
118
|
+
}
|
|
119
|
+
if (!plan || plan.workpackage !== EPIC10_RELEASE_HANDOFF_WORKPACKAGE) {
|
|
120
|
+
errors.push(`plan workpackage must be ${EPIC10_RELEASE_HANDOFF_WORKPACKAGE}`);
|
|
121
|
+
}
|
|
122
|
+
if (!plan || plan.kernelBoundary !== KERNEL_BOUNDARY) {
|
|
123
|
+
errors.push(`plan must keep ${KERNEL_BOUNDARY}`);
|
|
124
|
+
}
|
|
125
|
+
if (!plan || plan.canonicalFabricBoundary !== CANONICAL_FABRIC_BOUNDARY) {
|
|
126
|
+
errors.push(`plan must use ${CANONICAL_FABRIC_BOUNDARY}`);
|
|
127
|
+
}
|
|
128
|
+
if (!plan || !plan.docsSurface || plan.docsSurface.requiredDocs.length < REQUIRED_DOCS.length) {
|
|
129
|
+
errors.push('all required docs must be part of the handoff surface');
|
|
130
|
+
}
|
|
131
|
+
REQUIRED_DOCS.forEach((docPath) => {
|
|
132
|
+
if (!plan || !plan.docsSurface.requiredDocs.includes(docPath)) {
|
|
133
|
+
errors.push(`required doc missing from handoff surface: ${docPath}`);
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
REQUIRED_RELEASE_GATES.forEach((gate) => {
|
|
137
|
+
if (!plan || !plan.releaseReadiness.requiredGates.includes(gate)) {
|
|
138
|
+
errors.push(`required release gate missing: ${gate}`);
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
if (!plan || plan.releaseReadiness.publishAllowed !== false || plan.releaseReadiness.packagePrivate !== true) {
|
|
142
|
+
errors.push('release handoff must keep publish blocked and package private');
|
|
143
|
+
}
|
|
144
|
+
if (!plan || !plan.epicCompletion || plan.epicCompletion.completedWorkpackages.length !== 16) {
|
|
145
|
+
errors.push('Epic 10 completion must list all 16 workpackages');
|
|
146
|
+
}
|
|
147
|
+
if (!plan || !plan.knownHandoffs || plan.knownHandoffs.length === 0) {
|
|
148
|
+
errors.push('next-wave handoffs must remain visible');
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
return {
|
|
152
|
+
schema: EPIC10_RELEASE_HANDOFF_REPORT_SCHEMA,
|
|
153
|
+
ok: errors.length === 0,
|
|
154
|
+
errors
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
function createEpic10ReleaseHandoffReport(options = {}) {
|
|
159
|
+
const plan = options.plan || createEpic10ReleaseHandoffPlan(options);
|
|
160
|
+
const validation = validateEpic10ReleaseHandoffPlan(plan);
|
|
161
|
+
|
|
162
|
+
return {
|
|
163
|
+
schema: EPIC10_RELEASE_HANDOFF_REPORT_SCHEMA,
|
|
164
|
+
ok: validation.ok,
|
|
165
|
+
errors: validation.errors,
|
|
166
|
+
plan,
|
|
167
|
+
docsCount: plan.docsSurface.requiredDocs.length,
|
|
168
|
+
releaseGateCount: plan.releaseReadiness.requiredGates.length,
|
|
169
|
+
completedWorkpackageCount: plan.epicCompletion.completedWorkpackages.length,
|
|
170
|
+
knownHandoffs: plan.knownHandoffs.slice()
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
module.exports = {
|
|
175
|
+
CANONICAL_FABRIC_BOUNDARY,
|
|
176
|
+
EPIC10_RELEASE_HANDOFF_CONTRACT,
|
|
177
|
+
EPIC10_RELEASE_HANDOFF_DOCS,
|
|
178
|
+
EPIC10_RELEASE_HANDOFF_LOCAL_GATE,
|
|
179
|
+
EPIC10_RELEASE_HANDOFF_MODULE,
|
|
180
|
+
EPIC10_RELEASE_HANDOFF_PACKAGE_SCRIPT,
|
|
181
|
+
EPIC10_RELEASE_HANDOFF_REPORT_SCHEMA,
|
|
182
|
+
EPIC10_RELEASE_HANDOFF_SCHEMA,
|
|
183
|
+
EPIC10_RELEASE_HANDOFF_STATUS,
|
|
184
|
+
EPIC10_RELEASE_HANDOFF_SUITE,
|
|
185
|
+
EPIC10_RELEASE_HANDOFF_WORKPACKAGE,
|
|
186
|
+
EPIC10_RELEASE_HANDOFF_WORKPACKAGE_DOC,
|
|
187
|
+
KERNEL_BOUNDARY,
|
|
188
|
+
NEXT_WAVE_HANDOFFS,
|
|
189
|
+
REQUIRED_DOCS,
|
|
190
|
+
REQUIRED_RELEASE_GATES,
|
|
191
|
+
RMT_FIRST_XTEND_APPS_DOCS,
|
|
192
|
+
createEpic10ReleaseHandoffPlan,
|
|
193
|
+
createEpic10ReleaseHandoffReport,
|
|
194
|
+
validateEpic10ReleaseHandoffPlan
|
|
195
|
+
};
|