Skip to content

Commit 1644521

Browse files
authored
chore: Viera/license updates (#33)
* chore: updates licenses to apache and update command snapshot to match current commands
1 parent c674f98 commit 1644521

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+823
-1732
lines changed

.eslintrc.cjs

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
/*
2-
* Copyright (c) 2020, salesforce.com, inc.
3-
* All rights reserved.
4-
* Licensed under the BSD 3-Clause license.
5-
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2+
* Copyright 2025, Salesforce, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
615
*/
716
module.exports = {
8-
extends: ['eslint-config-salesforce-typescript', 'eslint-config-salesforce-license', 'plugin:sf-plugin/recommended'],
17+
extends: ['eslint-config-salesforce-typescript', 'plugin:sf-plugin/recommended'],
918
root: true,
1019
};

.github/workflows/onRelease.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,4 @@ jobs:
2929
sign: true
3030
tag: ${{ needs.getDistTag.outputs.tag || 'latest' }}
3131
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
32-
3332
secrets: inherit

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,19 @@ sf orchestrator template delete -o <target-org> --template-id <id>
8484

8585
```bash
8686
# List apps in an org
87-
sf orchestrator list app -o <target-org>
87+
sf orchestrator app list -o <target-org>
8888

8989
# Display details of a specific app
90-
sf orchestrator display app -o <target-org> --app-id <id>
90+
sf orchestrator app display -o <target-org> --app-id <id>
9191

9292
# Create a new app
93-
sf orchestrator create app -o <target-org> --name <app-name> [--label <label>] [--template-id <template-id>]
93+
sf orchestrator app create -o <target-org> --name <app-name> [--label <label>] [--template-id <template-id>]
9494

9595
# Update an existing app
96-
sf orchestrator update app -o <target-org> --app-id <id> [--label <new-label>] [--description <text>]
96+
sf orchestrator app update -o <target-org> --app-id <id> [--label <new-label>] [--description <text>]
9797

9898
# Delete an app
99-
sf orchestrator delete app -o <target-org> --app-id <id>
99+
sf orchestrator app delete -o <target-org> --app-id <id>
100100
```
101101

102102
## Issues

command-snapshot.json

Lines changed: 21 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
33
"alias": [],
4-
"command": "orchestrator:create:app",
4+
"command": "orchestrator:app:create",
55
"flagAliases": [],
66
"flagChars": ["d", "g", "i", "l", "n", "o", "r", "t"],
77
"flags": [
@@ -21,66 +21,47 @@
2121
},
2222
{
2323
"alias": [],
24-
"command": "orchestrator:create:template",
25-
"flagAliases": [],
26-
"flagChars": ["d", "l", "n", "o", "s", "t"],
27-
"flags": ["api-version", "description", "flags-dir", "json", "label", "name", "subtype", "target-org", "type"],
28-
"plugin": "@salesforce/plugin-orchestrator"
29-
},
30-
{
31-
"alias": [],
32-
"command": "orchestrator:decouple:app",
33-
"flagAliases": [],
34-
"flagChars": ["i", "n", "o"],
35-
"flags": ["api-version", "app-id", "app-name", "flags-dir", "json", "target-org"],
36-
"plugin": "@salesforce/plugin-orchestrator"
37-
},
38-
{
39-
"alias": [],
40-
"command": "orchestrator:delete:app",
24+
"command": "orchestrator:app:delete",
4125
"flagAliases": [],
4226
"flagChars": ["i", "n", "o", "p"],
4327
"flags": ["api-version", "app-id", "app-name", "flags-dir", "json", "no-prompt", "target-org"],
4428
"plugin": "@salesforce/plugin-orchestrator"
4529
},
4630
{
4731
"alias": [],
48-
"command": "orchestrator:delete:template",
49-
"flagAliases": [],
50-
"flagChars": ["i", "n", "o", "p"],
51-
"flags": ["api-version", "flags-dir", "json", "no-prompt", "target-org", "template-id", "template-name"],
52-
"plugin": "@salesforce/plugin-orchestrator"
53-
},
54-
{
55-
"alias": [],
56-
"command": "orchestrator:display:app",
32+
"command": "orchestrator:app:display",
5733
"flagAliases": [],
5834
"flagChars": ["i", "n", "o"],
5935
"flags": ["api-version", "app-id", "app-name", "flags-dir", "json", "target-org"],
6036
"plugin": "@salesforce/plugin-orchestrator"
6137
},
6238
{
6339
"alias": [],
64-
"command": "orchestrator:display:template",
65-
"flagAliases": [],
66-
"flagChars": ["i", "n", "o"],
67-
"flags": ["api-version", "flags-dir", "json", "target-org", "template-id", "template-name"],
68-
"plugin": "@salesforce/plugin-orchestrator"
69-
},
70-
{
71-
"alias": [],
72-
"command": "orchestrator:list:app",
40+
"command": "orchestrator:app:list",
7341
"flagAliases": [],
7442
"flagChars": ["o"],
7543
"flags": ["api-version", "flags-dir", "json", "target-org"],
7644
"plugin": "@salesforce/plugin-orchestrator"
7745
},
7846
{
79-
"alias": ["orchestrator template list"],
80-
"command": "orchestrator:list:template",
47+
"alias": [],
48+
"command": "orchestrator:app:update",
8149
"flagAliases": [],
82-
"flagChars": ["o"],
83-
"flags": ["api-version", "flags-dir", "json", "target-org"],
50+
"flagChars": ["d", "g", "i", "l", "m", "n", "o", "r", "t"],
51+
"flags": [
52+
"api-version",
53+
"app-id",
54+
"app-name",
55+
"description",
56+
"flags-dir",
57+
"json",
58+
"label",
59+
"log-level",
60+
"runtime-method",
61+
"target-org",
62+
"template-id",
63+
"template-name"
64+
],
8465
"plugin": "@salesforce/plugin-orchestrator"
8566
},
8667
{
@@ -122,34 +103,5 @@
122103
"flagChars": ["d", "i", "l", "n", "o"],
123104
"flags": ["api-version", "description", "flags-dir", "json", "label", "target-org", "template-id", "template-name"],
124105
"plugin": "@salesforce/plugin-orchestrator"
125-
},
126-
{
127-
"alias": [],
128-
"command": "orchestrator:update:app",
129-
"flagAliases": [],
130-
"flagChars": ["d", "g", "i", "l", "m", "n", "o", "r", "t"],
131-
"flags": [
132-
"api-version",
133-
"app-id",
134-
"app-name",
135-
"description",
136-
"flags-dir",
137-
"json",
138-
"label",
139-
"log-level",
140-
"runtime-method",
141-
"target-org",
142-
"template-id",
143-
"template-name"
144-
],
145-
"plugin": "@salesforce/plugin-orchestrator"
146-
},
147-
{
148-
"alias": [],
149-
"command": "orchestrator:update:template",
150-
"flagAliases": [],
151-
"flagChars": ["d", "i", "l", "n", "o"],
152-
"flags": ["api-version", "description", "flags-dir", "json", "label", "target-org", "template-id", "template-name"],
153-
"plugin": "@salesforce/plugin-orchestrator"
154106
}
155107
]

messages/appframework.list.template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Fetching AppFramework templates...
3636

3737
# templateTypeLegend
3838

39-
Legend: %s - Application templates, %s - Component templates, %s - Other template types
39+
Legend: %s, %s, %s - Other template types
4040

4141
# error.CertificateError
4242

messages/appframework.template.list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Fetching AppFramework templates...
3636

3737
# templateTypeLegend
3838

39-
Legend: %s - Application templates, %s - Component templates, %s - Other template types
39+
Legend: %s, %s, %s - Other template types
4040

4141
# error.CertificateError
4242

package.json

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-orchestrator",
33
"description": "Plugin for working with SalesForce analytic apps, templates, assets and services.",
4-
"version": "1.0.4",
4+
"version": "1.0.0",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {
@@ -10,7 +10,7 @@
1010
"@salesforce/kit": "^3.2.1",
1111
"@salesforce/sf-plugins-core": "^12",
1212
"ansis": "^3.17.0",
13-
"eslint-config-salesforce-license": "^0.2.0"
13+
"eslint": "^8.56.0"
1414
},
1515
"devDependencies": {
1616
"@oclif/plugin-command-snapshot": "^5.3.2",
@@ -57,23 +57,8 @@
5757
"orchestrator": {
5858
"description": "Commands to work with AppFramework apps and templates"
5959
},
60-
"orchestrator:list": {
61-
"description": "List AppFramework resources"
62-
},
63-
"orchestrator:display": {
64-
"description": "Display AppFramework resources"
65-
},
66-
"orchestrator:create": {
67-
"description": "Create AppFramework resources"
68-
},
69-
"orchestrator:update": {
70-
"description": "Update AppFramework resources"
71-
},
72-
"orchestrator:delete": {
73-
"description": "Delete AppFramework resources"
74-
},
75-
"orchestrator:decouple": {
76-
"description": "Decouple AppFramework resources"
60+
"orchestrator:app": {
61+
"description": "Work with AppFramework apps"
7762
},
7863
"orchestrator:template": {
7964
"description": "Work with AppFramework templates"
Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
/*
2-
* Copyright (c) 2025, salesforce.com, inc.
3-
* All rights reserved.
4-
* Licensed under the BSD 3-Clause license.
5-
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2+
* Copyright 2025, Salesforce, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
615
*/
7-
816
import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
917
import { Messages, SfError, Connection } from '@salesforce/core';
1018

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
/*
2-
* Copyright (c) 2025, salesforce.com, inc.
3-
* All rights reserved.
4-
* Licensed under the BSD 3-Clause license.
5-
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2+
* Copyright 2025, Salesforce, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
615
*/
7-
816
import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
917
import { Messages, SfError } from '@salesforce/core';
1018

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
/*
2-
* Copyright (c) 2025, salesforce.com, inc.
3-
* All rights reserved.
4-
* Licensed under the BSD 3-Clause license.
5-
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
2+
* Copyright 2025, Salesforce, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
615
*/
7-
816
import { Flags, SfCommand } from '@salesforce/sf-plugins-core';
917
import { Messages, SfError, Connection } from '@salesforce/core';
1018

0 commit comments

Comments
 (0)