@marsson/ciutils 0.0.7 → 0.0.11

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,102 +1,166 @@
1
1
  {
2
- "version": "0.0.7",
3
2
  "commands": {
4
3
  "remove:assignments": {
5
- "id": "remove:assignments",
6
- "summary": "Summary of a command.",
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
4
  "aliases": [],
13
- "hiddenAliases": [],
5
+ "args": {},
6
+ "description": "More information about a command. Don't repeat the summary.",
14
7
  "examples": [
15
8
  "<%= config.bin %> <%= command.id %>"
16
9
  ],
17
10
  "flags": {
11
+ "json": {
12
+ "description": "Format output as json.",
13
+ "helpGroup": "GLOBAL",
14
+ "name": "json",
15
+ "allowNo": false,
16
+ "type": "boolean"
17
+ },
18
+ "flags-dir": {
19
+ "helpGroup": "GLOBAL",
20
+ "name": "flags-dir",
21
+ "summary": "Import flag values from a directory.",
22
+ "hasDynamicHelp": false,
23
+ "multiple": false,
24
+ "type": "option"
25
+ },
18
26
  "name": {
19
- "name": "name",
20
- "type": "option",
21
27
  "char": "n",
22
- "summary": "Description of a flag.",
23
28
  "description": "More information about a flag. Don't repeat the summary.",
29
+ "name": "name",
24
30
  "required": false,
25
- "multiple": false
31
+ "summary": "Description of a flag.",
32
+ "hasDynamicHelp": false,
33
+ "multiple": false,
34
+ "type": "option"
26
35
  },
27
36
  "object": {
28
- "name": "object",
29
- "type": "option",
30
37
  "char": "b",
31
- "summary": "The object for which the assignment will be removed.",
38
+ "name": "object",
32
39
  "required": true,
40
+ "summary": "The object for which the assignment will be removed.",
41
+ "hasDynamicHelp": false,
33
42
  "multiple": true,
34
43
  "options": [
35
44
  "PermissionSet",
36
45
  "PermissionSetGroup",
37
46
  "Group"
38
- ]
47
+ ],
48
+ "type": "option"
39
49
  },
40
50
  "usernames": {
41
- "name": "usernames",
42
- "type": "option",
43
51
  "char": "u",
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.",
52
+ "name": "usernames",
45
53
  "required": true,
46
- "multiple": true
54
+ "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.",
55
+ "hasDynamicHelp": false,
56
+ "multiple": true,
57
+ "type": "option"
47
58
  },
48
59
  "target-org": {
49
- "name": "target-org",
50
- "type": "option",
51
60
  "char": "o",
52
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
61
+ "name": "target-org",
62
+ "noCacheDefault": true,
53
63
  "required": true,
54
- "multiple": false
64
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
65
+ "hasDynamicHelp": true,
66
+ "multiple": false,
67
+ "type": "option"
55
68
  }
56
69
  },
57
- "args": {},
58
- "hasDynamicHelp": true
59
- },
60
- "reporton:deployment": {
61
- "id": "reporton:deployment",
62
- "summary": "Summary of a command.",
63
- "description": "More information about a command. Don't repeat the summary.",
64
- "strict": true,
65
- "pluginName": "@marsson/ciutils",
70
+ "hasDynamicHelp": true,
71
+ "hiddenAliases": [],
72
+ "id": "remove:assignments",
66
73
  "pluginAlias": "@marsson/ciutils",
74
+ "pluginName": "@marsson/ciutils",
67
75
  "pluginType": "core",
76
+ "strict": true,
77
+ "summary": "Summary of a command.",
78
+ "enableJsonFlag": true,
79
+ "isESM": true,
80
+ "relativePath": [
81
+ "lib",
82
+ "commands",
83
+ "remove",
84
+ "assignments.js"
85
+ ],
86
+ "aliasPermutations": [],
87
+ "permutations": [
88
+ "remove:assignments",
89
+ "assignments:remove"
90
+ ]
91
+ },
92
+ "reporton:deployment": {
68
93
  "aliases": [],
69
- "hiddenAliases": [],
94
+ "args": {},
95
+ "description": "More information about a command. Don't repeat the summary.",
70
96
  "examples": [
71
97
  "<%= config.bin %> <%= command.id %>"
72
98
  ],
73
99
  "flags": {
100
+ "json": {
101
+ "description": "Format output as json.",
102
+ "helpGroup": "GLOBAL",
103
+ "name": "json",
104
+ "allowNo": false,
105
+ "type": "boolean"
106
+ },
107
+ "flags-dir": {
108
+ "helpGroup": "GLOBAL",
109
+ "name": "flags-dir",
110
+ "summary": "Import flag values from a directory.",
111
+ "hasDynamicHelp": false,
112
+ "multiple": false,
113
+ "type": "option"
114
+ },
74
115
  "target-org": {
75
- "name": "target-org",
76
- "type": "option",
77
116
  "char": "o",
78
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
117
+ "name": "target-org",
118
+ "noCacheDefault": true,
79
119
  "required": true,
80
- "multiple": false
120
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
121
+ "hasDynamicHelp": true,
122
+ "multiple": false,
123
+ "type": "option"
81
124
  },
82
125
  "deploymentid": {
83
- "name": "deploymentid",
84
- "type": "option",
85
126
  "char": "d",
86
- "summary": "The id of the deployment that we want to report on.",
127
+ "name": "deploymentid",
87
128
  "required": true,
88
- "multiple": false
129
+ "summary": "The id of the deployment that we want to report on.",
130
+ "hasDynamicHelp": false,
131
+ "multiple": false,
132
+ "type": "option"
89
133
  },
90
134
  "awaitcompletion": {
91
- "name": "awaitcompletion",
92
- "type": "boolean",
93
135
  "char": "a",
136
+ "name": "awaitcompletion",
94
137
  "summary": "If the aplication should respond every 30 sec until the deployment is complete.",
95
- "allowNo": false
138
+ "allowNo": false,
139
+ "type": "boolean"
96
140
  }
97
141
  },
98
- "args": {},
99
- "hasDynamicHelp": true
142
+ "hasDynamicHelp": true,
143
+ "hiddenAliases": [],
144
+ "id": "reporton:deployment",
145
+ "pluginAlias": "@marsson/ciutils",
146
+ "pluginName": "@marsson/ciutils",
147
+ "pluginType": "core",
148
+ "strict": true,
149
+ "summary": "Summary of a command.",
150
+ "enableJsonFlag": true,
151
+ "isESM": true,
152
+ "relativePath": [
153
+ "lib",
154
+ "commands",
155
+ "reporton",
156
+ "deployment.js"
157
+ ],
158
+ "aliasPermutations": [],
159
+ "permutations": [
160
+ "reporton:deployment",
161
+ "deployment:reporton"
162
+ ]
100
163
  }
101
- }
164
+ },
165
+ "version": "0.0.11"
102
166
  }
package/package.json CHANGED
@@ -1,31 +1,27 @@
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.7",
4
+ "version": "0.0.11",
5
5
  "dependencies": {
6
- "@oclif/core": "^3.18.1",
7
- "@salesforce/core": "^6.4.7",
8
- "@salesforce/sf-plugins-core": "^7.1.3",
9
- "@salesforce/source-deploy-retrieve": "^10.5.0",
10
- "@salesforce/ts-sinon": "^1.4.19",
6
+ "@oclif/core": "^3.26.2",
7
+ "@salesforce/core": "^7.2.0",
8
+ "@salesforce/sf-plugins-core": "^9.0.1",
11
9
  "cli-progress": "^3.12.0",
12
10
  "cli-table3": "^0.6.3",
13
11
  "jsforce": "2.0.0-beta.29",
14
12
  "moment": "^2.30.1",
15
- "sinon": "^17.0.1"
13
+ "yarn": "^1.22.22"
16
14
  },
17
15
  "devDependencies": {
18
- "@oclif/plugin-command-snapshot": "^5.0.2",
19
- "@salesforce/cli-plugins-testkit": "^5.1.7",
20
- "@salesforce/dev-scripts": "^8.3.0",
16
+ "@oclif/plugin-command-snapshot": "^5.1.4",
17
+ "@salesforce/cli-plugins-testkit": "^5.2.0",
18
+ "@salesforce/dev-scripts": "^9.0.0",
21
19
  "@types/jsforce": "^1.11.5",
22
- "eslint-plugin-sf-plugin": "^1.17.2",
23
- "husky": "^9.0.11",
24
- "oclif": "^3.17.2",
20
+ "eslint-plugin-sf-plugin": "^1.18.1",
21
+ "oclif": "^4.8.1",
25
22
  "shx": "0.3.4",
26
23
  "ts-node": "^10.9.2",
27
- "typescript": "^5.3.3",
28
- "yarn": "^1.22.22"
24
+ "typescript": "^5.4.5"
29
25
  },
30
26
  "engines": {
31
27
  "node": ">=18.0.0"
@@ -75,7 +71,6 @@
75
71
  "docs": "sf-docs",
76
72
  "format": "wireit",
77
73
  "lint": "wireit",
78
- "postinstall": "yarn husky install",
79
74
  "postpack": "shx rm -f oclif.manifest.json oclif.lock",
80
75
  "prepack": "sf-prepack",
81
76
  "test": "wireit",
@@ -118,10 +113,9 @@
118
113
  "output": []
119
114
  },
120
115
  "lint": {
121
- "command": "eslint src test --color --cache --cache-location .eslintcache",
116
+ "command": "eslint src --color --cache --cache-location .eslintcache",
122
117
  "files": [
123
118
  "src/**/*.ts",
124
- "test/**/*.ts",
125
119
  "messages/**",
126
120
  "**/.eslint*",
127
121
  "**/tsconfig.json"