@salesforce/plugin-orchestrator 1.0.17 → 1.0.20

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.
Files changed (35) hide show
  1. package/README.md +2 -2
  2. package/lib/commands/orchestrator/app/update.d.ts +0 -4
  3. package/lib/commands/orchestrator/app/update.js +4 -44
  4. package/lib/commands/orchestrator/app/update.js.map +1 -1
  5. package/lib/commands/orchestrator/app/upgrade.d.ts +32 -0
  6. package/lib/commands/orchestrator/app/upgrade.js +188 -0
  7. package/lib/commands/orchestrator/app/upgrade.js.map +1 -0
  8. package/lib/commands/orchestrator/rules/eval.d.ts +63 -0
  9. package/lib/commands/orchestrator/rules/eval.js +126 -0
  10. package/lib/commands/orchestrator/rules/eval.js.map +1 -0
  11. package/lib/commands/orchestrator/template/list.d.ts +1 -0
  12. package/lib/commands/orchestrator/template/list.js +12 -2
  13. package/lib/commands/orchestrator/template/list.js.map +1 -1
  14. package/lib/utils/app/appDisplayUtil.js +1 -1
  15. package/lib/utils/app/appDisplayUtil.js.map +1 -1
  16. package/lib/utils/app/appframeworkapp.d.ts +12 -2
  17. package/lib/utils/app/appframeworkapp.js +36 -3
  18. package/lib/utils/app/appframeworkapp.js.map +1 -1
  19. package/messages/appframework.create.app.md +92 -38
  20. package/messages/appframework.create.template.md +74 -21
  21. package/messages/appframework.delete.app.md +101 -17
  22. package/messages/appframework.delete.template.md +84 -31
  23. package/messages/appframework.display.app.md +88 -15
  24. package/messages/appframework.display.template.md +71 -28
  25. package/messages/appframework.list.app.md +36 -58
  26. package/messages/appframework.list.template.md +63 -24
  27. package/messages/appframework.update.app.md +96 -24
  28. package/messages/appframework.update.template.md +112 -21
  29. package/messages/orchestrator.app.upgrade.md +141 -0
  30. package/messages/orchestrator.rules.eval.md +55 -0
  31. package/npm-shrinkwrap.json +4159 -4068
  32. package/oclif.lock +3608 -3373
  33. package/oclif.manifest.json +400 -168
  34. package/package.json +33 -11
  35. package/messages/appframework.decouple.app.md +0 -82
package/package.json CHANGED
@@ -1,25 +1,26 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-orchestrator",
3
3
  "description": "Plugin for working with SalesForce analytic apps, templates, assets and services.",
4
- "version": "1.0.17",
4
+ "version": "1.0.20",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
+ "@inquirer/select": "^5.0.1",
8
9
  "@oclif/core": "^4",
9
- "@salesforce/core": "^8.23.0",
10
+ "@salesforce/core": "^8.23.4",
10
11
  "@salesforce/kit": "^3.2.1",
11
12
  "@salesforce/sf-plugins-core": "^12",
12
13
  "ansis": "^3.17.0",
13
14
  "eslint": "^8.56.0"
14
15
  },
15
16
  "devDependencies": {
16
- "@oclif/plugin-command-snapshot": "^5.3.5",
17
- "@salesforce/cli-plugins-testkit": "^5.3.39",
17
+ "@oclif/plugin-command-snapshot": "^5.3.8",
18
+ "@salesforce/cli-plugins-testkit": "^5.3.41",
18
19
  "@salesforce/dev-scripts": "^11.0.2",
19
- "@salesforce/plugin-command-reference": "^3.1.66",
20
+ "@salesforce/plugin-command-reference": "^3.1.78",
20
21
  "eslint-config-salesforce-license": "^1.0.1",
21
22
  "eslint-plugin-sf-plugin": "^1.20.31",
22
- "oclif": "^4.22.16",
23
+ "oclif": "^4.22.50",
23
24
  "ts-node": "^10.9.2",
24
25
  "typescript": "^5.5.4"
25
26
  },
@@ -56,13 +57,28 @@
56
57
  ],
57
58
  "topics": {
58
59
  "orchestrator": {
59
- "description": "Commands to work with AppFramework apps and templates"
60
+ "description": "Commands to work with apps and templates",
61
+ "external": true,
62
+ "subtopics": {
63
+ "app": {
64
+ "external": true
65
+ },
66
+ "rules": {
67
+ "external": true
68
+ }
69
+ }
60
70
  },
61
71
  "orchestrator:app": {
62
- "description": "Work with AppFramework apps"
72
+ "description": "Work with apps"
63
73
  },
64
74
  "orchestrator:template": {
65
- "description": "Work with AppFramework templates"
75
+ "description": "Work with templates"
76
+ },
77
+ "orchestrator:rules": {
78
+ "description": "Work with transformation rules"
79
+ },
80
+ "template": {
81
+ "description": "description for template"
66
82
  }
67
83
  },
68
84
  "flexibleTaxonomy": true
@@ -204,10 +220,16 @@
204
220
  "output": []
205
221
  }
206
222
  },
223
+ "resolutions": {
224
+ "@types/node": "^20.0.0"
225
+ },
226
+ "overrides": {
227
+ "@types/node": "^20.0.0"
228
+ },
207
229
  "exports": "./lib/index.js",
208
230
  "type": "module",
209
231
  "sfdx": {
210
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.17.crt",
211
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.17.sig"
232
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.20.crt",
233
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-orchestrator/1.0.20.sig"
212
234
  }
213
235
  }
@@ -1,82 +0,0 @@
1
- # summary
2
-
3
- Decouple an AppFramework app from its template.
4
-
5
- # description
6
-
7
- Decouples an AppFramework app from its template. This allows the app to be modified independently without being affected by template updates. You must specify either the app-id or app-name flag to identify the app to decouple.
8
-
9
- # flags.target-org.summary
10
-
11
- Login username or alias for the target org.
12
-
13
- # flags.target-org.description
14
-
15
- Overrides your default org.
16
-
17
- # flags.api-version.summary
18
-
19
- Override the api version used for api requests made by this command.
20
-
21
- # flags.api-version.description
22
-
23
- Override the api version used for api requests made by this command.
24
-
25
- # flags.app-id.summary
26
-
27
- ID of the app to decouple.
28
-
29
- # flags.app-id.description
30
-
31
- Specify the ID of the app to decouple. Either this or app-name is required.
32
-
33
- # flags.app-name.summary
34
-
35
- Name of the app to decouple.
36
-
37
- # flags.app-name.description
38
-
39
- Specify the name of the app to decouple. Either this or app-id is required.
40
-
41
- # noAppSpecified
42
-
43
- No app specified for decoupling. You must specify either an app ID with --app-id or an app name with --app-name.
44
-
45
- # fetchingApp
46
-
47
- Fetching app details...
48
-
49
- # decouplingApp
50
-
51
- Decoupling app from template...
52
-
53
- # noAppFound
54
-
55
- No app found with the specified ID or name.
56
-
57
- # noTemplateFound
58
-
59
- The specified app does not have an associated template to decouple from.
60
-
61
- # decoupleSuccess
62
-
63
- Successfully decoupled app: %s
64
-
65
- # error.DecoupleError
66
-
67
- Failed to decouple app: %s
68
-
69
- # error.DecoupleError.Actions
70
-
71
- - Check that the app ID or name is correct
72
- - Verify the app is associated with a template
73
- - Ensure you have permissions to decouple apps in this org
74
- - Try running with --debug for more details
75
-
76
- # examples
77
-
78
- - Decouple an app by ID:
79
- <%= config.bin %> <%= command.id %> --app-id 00Dxx0000000001
80
-
81
- - Decouple an app by name:
82
- <%= config.bin %> <%= command.id %> --app-name "My App"