diff --git a/packages/create-sitecore-jss/src/initializers/angular-sxp/index.ts b/packages/create-sitecore-jss/src/initializers/angular-sxp/index.ts new file mode 100644 index 0000000000..53899d047e --- /dev/null +++ b/packages/create-sitecore-jss/src/initializers/angular-sxp/index.ts @@ -0,0 +1,17 @@ +import { ClientAppArgs, DEFAULT_APPNAME, Initializer } from '../../common'; +import { InitializerResults } from '../../common/Initializer'; + +export default class AngularXmCloudInitializer implements Initializer { + get isBase(): boolean { + return false; + } + + async init(args: ClientAppArgs) { + const response: InitializerResults = { + nextSteps: [], + appName: args.appName || DEFAULT_APPNAME, + }; + + return response; + } +} diff --git a/packages/create-sitecore-jss/src/initializers/angular-xmcloud/index.ts b/packages/create-sitecore-jss/src/initializers/angular-xmcloud/index.ts new file mode 100644 index 0000000000..53899d047e --- /dev/null +++ b/packages/create-sitecore-jss/src/initializers/angular-xmcloud/index.ts @@ -0,0 +1,17 @@ +import { ClientAppArgs, DEFAULT_APPNAME, Initializer } from '../../common'; +import { InitializerResults } from '../../common/Initializer'; + +export default class AngularXmCloudInitializer implements Initializer { + get isBase(): boolean { + return false; + } + + async init(args: ClientAppArgs) { + const response: InitializerResults = { + nextSteps: [], + appName: args.appName || DEFAULT_APPNAME, + }; + + return response; + } +} diff --git a/packages/create-sitecore-jss/src/initializers/node-xmcloud-proxy/index.ts b/packages/create-sitecore-jss/src/initializers/node-xmcloud-proxy/index.ts new file mode 100644 index 0000000000..2f29a3752b --- /dev/null +++ b/packages/create-sitecore-jss/src/initializers/node-xmcloud-proxy/index.ts @@ -0,0 +1,15 @@ +import { Initializer } from '../../common'; + +export default class AngularXmCloudInitializer implements Initializer { + get isBase(): boolean { + return false; + } + + async init() { + const response = { + appName: 'node-xmcloud-proxy', + }; + + return response; + } +}