@marsson/ciutils 0.0.6 → 0.0.7

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.
@@ -1,150 +1,102 @@
1
1
  {
2
+ "version": "0.0.7",
2
3
  "commands": {
3
4
  "remove:assignments": {
4
- "aliases": [],
5
- "args": {},
5
+ "id": "remove:assignments",
6
+ "summary": "Summary of a command.",
6
7
  "description": "More information about a command. Don't repeat the summary.",
8
+ "strict": true,
9
+ "pluginName": "@marsson/ciutils",
10
+ "pluginAlias": "@marsson/ciutils",
11
+ "pluginType": "core",
12
+ "aliases": [],
13
+ "hiddenAliases": [],
7
14
  "examples": [
8
15
  "<%= config.bin %> <%= command.id %>"
9
16
  ],
10
17
  "flags": {
11
- "json": {
12
- "description": "Format output as json.",
13
- "helpGroup": "GLOBAL",
14
- "name": "json",
15
- "allowNo": false,
16
- "type": "boolean"
17
- },
18
18
  "name": {
19
+ "name": "name",
20
+ "type": "option",
19
21
  "char": "n",
22
+ "summary": "Description of a flag.",
20
23
  "description": "More information about a flag. Don't repeat the summary.",
21
- "name": "name",
22
24
  "required": false,
23
- "summary": "Description of a flag.",
24
- "hasDynamicHelp": false,
25
- "multiple": false,
26
- "type": "option"
25
+ "multiple": false
27
26
  },
28
27
  "object": {
29
- "char": "b",
30
28
  "name": "object",
31
- "required": true,
29
+ "type": "option",
30
+ "char": "b",
32
31
  "summary": "The object for which the assignment will be removed.",
33
- "hasDynamicHelp": false,
32
+ "required": true,
34
33
  "multiple": true,
35
34
  "options": [
36
35
  "PermissionSet",
37
36
  "PermissionSetGroup",
38
37
  "Group"
39
- ],
40
- "type": "option"
38
+ ]
41
39
  },
42
40
  "usernames": {
43
- "char": "u",
44
41
  "name": "usernames",
45
- "required": true,
42
+ "type": "option",
43
+ "char": "u",
46
44
  "summary": "The list of usernames to be unassigned from the selected object. If in a sandbox, the script will look for \"usename\" and \"username\".sandbox for unassignment.",
47
- "hasDynamicHelp": false,
48
- "multiple": true,
49
- "type": "option"
45
+ "required": true,
46
+ "multiple": true
50
47
  },
51
48
  "target-org": {
52
- "char": "o",
53
49
  "name": "target-org",
54
- "noCacheDefault": true,
55
- "required": true,
50
+ "type": "option",
51
+ "char": "o",
56
52
  "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
57
- "hasDynamicHelp": true,
58
- "multiple": false,
59
- "type": "option"
53
+ "required": true,
54
+ "multiple": false
60
55
  }
61
56
  },
62
- "hasDynamicHelp": true,
63
- "hiddenAliases": [],
64
- "id": "remove:assignments",
65
- "pluginAlias": "@marsson/ciutils",
66
- "pluginName": "@marsson/ciutils",
67
- "pluginType": "core",
68
- "strict": true,
69
- "summary": "Summary of a command.",
70
- "enableJsonFlag": true,
71
- "isESM": true,
72
- "relativePath": [
73
- "lib",
74
- "commands",
75
- "remove",
76
- "assignments.js"
77
- ],
78
- "aliasPermutations": [],
79
- "permutations": [
80
- "remove:assignments",
81
- "assignments:remove"
82
- ]
57
+ "args": {},
58
+ "hasDynamicHelp": true
83
59
  },
84
60
  "reporton:deployment": {
85
- "aliases": [],
86
- "args": {},
61
+ "id": "reporton:deployment",
62
+ "summary": "Summary of a command.",
87
63
  "description": "More information about a command. Don't repeat the summary.",
64
+ "strict": true,
65
+ "pluginName": "@marsson/ciutils",
66
+ "pluginAlias": "@marsson/ciutils",
67
+ "pluginType": "core",
68
+ "aliases": [],
69
+ "hiddenAliases": [],
88
70
  "examples": [
89
71
  "<%= config.bin %> <%= command.id %>"
90
72
  ],
91
73
  "flags": {
92
- "json": {
93
- "description": "Format output as json.",
94
- "helpGroup": "GLOBAL",
95
- "name": "json",
96
- "allowNo": false,
97
- "type": "boolean"
98
- },
99
74
  "target-org": {
100
- "char": "o",
101
75
  "name": "target-org",
102
- "noCacheDefault": true,
103
- "required": true,
76
+ "type": "option",
77
+ "char": "o",
104
78
  "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
105
- "hasDynamicHelp": true,
106
- "multiple": false,
107
- "type": "option"
79
+ "required": true,
80
+ "multiple": false
108
81
  },
109
82
  "deploymentid": {
110
- "char": "d",
111
83
  "name": "deploymentid",
112
- "required": true,
84
+ "type": "option",
85
+ "char": "d",
113
86
  "summary": "The id of the deployment that we want to report on.",
114
- "hasDynamicHelp": false,
115
- "multiple": false,
116
- "type": "option"
87
+ "required": true,
88
+ "multiple": false
117
89
  },
118
90
  "awaitcompletion": {
119
- "char": "a",
120
91
  "name": "awaitcompletion",
92
+ "type": "boolean",
93
+ "char": "a",
121
94
  "summary": "If the aplication should respond every 30 sec until the deployment is complete.",
122
- "allowNo": false,
123
- "type": "boolean"
95
+ "allowNo": false
124
96
  }
125
97
  },
126
- "hasDynamicHelp": true,
127
- "hiddenAliases": [],
128
- "id": "reporton:deployment",
129
- "pluginAlias": "@marsson/ciutils",
130
- "pluginName": "@marsson/ciutils",
131
- "pluginType": "core",
132
- "strict": true,
133
- "summary": "Summary of a command.",
134
- "enableJsonFlag": true,
135
- "isESM": true,
136
- "relativePath": [
137
- "lib",
138
- "commands",
139
- "reporton",
140
- "deployment.js"
141
- ],
142
- "aliasPermutations": [],
143
- "permutations": [
144
- "reporton:deployment",
145
- "deployment:reporton"
146
- ]
98
+ "args": {},
99
+ "hasDynamicHelp": true
147
100
  }
148
- },
149
- "version": "0.0.6"
101
+ }
150
102
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marsson/ciutils",
3
3
  "description": " Utilities for enabling continuous integration for Salesforce development under SF CLI",
4
- "version": "0.0.6",
4
+ "version": "0.0.7",
5
5
  "dependencies": {
6
6
  "@oclif/core": "^3.18.1",
7
7
  "@salesforce/core": "^6.4.7",
@@ -10,7 +10,6 @@
10
10
  "@salesforce/ts-sinon": "^1.4.19",
11
11
  "cli-progress": "^3.12.0",
12
12
  "cli-table3": "^0.6.3",
13
- "husky": "^9.0.11",
14
13
  "jsforce": "2.0.0-beta.29",
15
14
  "moment": "^2.30.1",
16
15
  "sinon": "^17.0.1"
@@ -21,10 +20,12 @@
21
20
  "@salesforce/dev-scripts": "^8.3.0",
22
21
  "@types/jsforce": "^1.11.5",
23
22
  "eslint-plugin-sf-plugin": "^1.17.2",
24
- "oclif": "^4.3.4",
23
+ "husky": "^9.0.11",
24
+ "oclif": "^3.17.2",
25
25
  "shx": "0.3.4",
26
26
  "ts-node": "^10.9.2",
27
- "typescript": "^5.3.3"
27
+ "typescript": "^5.3.3",
28
+ "yarn": "^1.22.22"
28
29
  },
29
30
  "engines": {
30
31
  "node": ">=18.0.0"