@adobe/aio-cli-plugin-app 9.1.0 → 9.2.0-pre.2022-09-27.805ee90c
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/README.md +105 -687
- package/bin/run +5 -2
- package/oclif.manifest.json +1 -1
- package/package.json +14 -10
- package/schema/config.schema.json +22 -2
- package/src/AddCommand.js +1 -7
- package/src/TemplatesCommand.js +246 -0
- package/src/commands/app/add/action.js +80 -31
- package/src/commands/app/add/extension.js +27 -77
- package/src/commands/app/add/web-assets.js +29 -27
- package/src/commands/app/delete/ci.js +25 -10
- package/src/commands/app/delete/extension.js +7 -8
- package/src/commands/app/deploy.js +25 -3
- package/src/commands/app/init.js +165 -144
- package/src/commands/app/list/extension-points.js +15 -5
- package/src/commands/app/list/extension.js +22 -21
- package/src/commands/app/run.js +1 -1
- package/src/lib/defaults.js +1 -41
package/src/lib/defaults.js
CHANGED
|
@@ -10,7 +10,6 @@ governing permissions and limitations under the License.
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
// defaults & constants
|
|
13
|
-
const generators = require('@adobe/generator-aio-app')
|
|
14
13
|
|
|
15
14
|
module.exports = {
|
|
16
15
|
defaultAppHostname: 'adobeio-static.net',
|
|
@@ -35,44 +34,5 @@ module.exports = {
|
|
|
35
34
|
LEGACY_RUNTIME_MANIFEST: 'manifest.yml',
|
|
36
35
|
INCLUDE_DIRECTIVE: '$include',
|
|
37
36
|
APPLICATION_CONFIG_KEY: 'application',
|
|
38
|
-
EXTENSIONS_CONFIG_KEY: 'extensions'
|
|
39
|
-
|
|
40
|
-
EXTENSION_POINT_LIST: {
|
|
41
|
-
'dx/excshell/1': {
|
|
42
|
-
operations: ['view']
|
|
43
|
-
},
|
|
44
|
-
'dx/asset-compute/worker/1': {
|
|
45
|
-
operations: ['workerProcess']
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
implPromptChoices: [
|
|
50
|
-
// we abuse the extension command to also let users add a standalone app
|
|
51
|
-
{
|
|
52
|
-
name: 'Standalone Application',
|
|
53
|
-
value: {
|
|
54
|
-
name: 'application',
|
|
55
|
-
generator: generators.application,
|
|
56
|
-
requiredServices: [] // TODO required services should be filled based on selected actions
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
// extensions
|
|
60
|
-
// TODO this list should not be hardcoded but fetched from xt reg
|
|
61
|
-
{
|
|
62
|
-
name: 'DX Experience Cloud SPA v1',
|
|
63
|
-
value: {
|
|
64
|
-
name: 'dx/excshell/1',
|
|
65
|
-
generator: generators.extensions['dx/excshell/1'],
|
|
66
|
-
requiredServices: []
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
name: 'DX Asset Compute Worker v1',
|
|
71
|
-
value: {
|
|
72
|
-
name: 'dx/asset-compute/worker/1',
|
|
73
|
-
generator: generators.extensions['dx/asset-compute/worker/1'],
|
|
74
|
-
requiredServices: ['AssetComputeSDK']
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
]
|
|
37
|
+
EXTENSIONS_CONFIG_KEY: 'extensions'
|
|
78
38
|
}
|