Software development kit for JavaScript developers building web applications with Sitecore Experience Platform
263
stars
275
forks
source link
[node-xmcloud-proxy] [Angular] /api/editing/config endpoint #1903
Closed
illiakovalenko closed 2 months ago
Description / Motivation
[sitecore-jss-proxy]
Updates done to support extensibility to add new properties, modules. Made some restructuring:express@^4.19.2
dependency is marked as a peer dependency, since we reference "express" related types, so it should matchscProxy
middleware export is replaced byheadlessProxy
object that contains themiddleware
,ProxyConfig
,ServerBundle
properties[templates/angular]
[templates/angular-xmcloud]
:server.exports.ts
file to be able to have different variants per SXP / XMCloud addon'sgenerate-component-factory.ts
now writes a list of components as wellmetadata
now can be generated atbootstrap
stageEDITING_ALLOWED_ORIGINS
,QUERY_PARAM_EDITING_SECRET
tositecore-jss
, since now these values are needed for xmcloud proxy middlewareTesting Details
Types of changes