aio-cli-lib-app-配置
为构成 Adobe 开发者 App Builder 应用程序和扩展的各类配置文件提供一致的接口
正在装入 app 配置返回描述整个应用程序的对象 .
包括:
- 扩展
- 全权证书
- 路径到组件
以下是一个示例对象:
{
aio: {...aioConfig...},
packagejson: {...package.json...},
all: {
/*
OPTIONAL: newer projects are organized by extensions. `application` is a placeholder used by older apps which to not explictly define extensions
*/
'application': {
app: {
name, /* Name from package.json, stripped of @scope */
version, /* version from package.json OR 0.1.0 */
hasFrontend, /* does this app/extension have static assets to be deployed to CDN */
hasBackend, /* does this app/extension include actions */
dist /* output directory, default is 'dist/'
},
ow: {
/* Only relevant if hasBackend is true, these are the credentials used to deploy/invoke actions */
apihost,
apiversion,
auth,
namespace,
package
},
s3: {
creds || tvmUrl,
credsCacheFile,
folder,
},
web: {
src,
injectedConfig,
distDev,
distProd,
},
manifest: {
full,
package,
packagePlaceholder,
src,
},
actions: {
src,
dist,
remote,
urls
}
}
},
OPTIONAL:'dx/asset-compute/worker/1': {
...same as above...
},
OPTIONAL:'dx/excshell/1': {
...same as above...
},
}