@marsson/ciutils 0.0.4

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.
@@ -0,0 +1,69 @@
1
+ {
2
+ "commands": {
3
+ "reporton:deployment": {
4
+ "aliases": [],
5
+ "args": {},
6
+ "description": "More information about a command. Don't repeat the summary.",
7
+ "examples": [
8
+ "<%= config.bin %> <%= command.id %>"
9
+ ],
10
+ "flags": {
11
+ "json": {
12
+ "description": "Format output as json.",
13
+ "helpGroup": "GLOBAL",
14
+ "name": "json",
15
+ "allowNo": false,
16
+ "type": "boolean"
17
+ },
18
+ "target-org": {
19
+ "char": "o",
20
+ "name": "target-org",
21
+ "noCacheDefault": true,
22
+ "required": true,
23
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
24
+ "hasDynamicHelp": true,
25
+ "multiple": false,
26
+ "type": "option"
27
+ },
28
+ "deploymentid": {
29
+ "char": "d",
30
+ "name": "deploymentid",
31
+ "required": true,
32
+ "summary": "The id of the deployment that we want to report on.",
33
+ "hasDynamicHelp": false,
34
+ "multiple": false,
35
+ "type": "option"
36
+ },
37
+ "awaitcompletion": {
38
+ "char": "a",
39
+ "name": "awaitcompletion",
40
+ "summary": "If the aplication should respond every 30 sec until the deployment is complete.",
41
+ "allowNo": false,
42
+ "type": "boolean"
43
+ }
44
+ },
45
+ "hasDynamicHelp": true,
46
+ "hiddenAliases": [],
47
+ "id": "reporton:deployment",
48
+ "pluginAlias": "@marsson/ciutils",
49
+ "pluginName": "@marsson/ciutils",
50
+ "pluginType": "core",
51
+ "strict": true,
52
+ "summary": "Summary of a command.",
53
+ "enableJsonFlag": true,
54
+ "isESM": true,
55
+ "relativePath": [
56
+ "lib",
57
+ "commands",
58
+ "reporton",
59
+ "deployment.js"
60
+ ],
61
+ "aliasPermutations": [],
62
+ "permutations": [
63
+ "reporton:deployment",
64
+ "deployment:reporton"
65
+ ]
66
+ }
67
+ },
68
+ "version": "0.0.4"
69
+ }
package/package.json ADDED
@@ -0,0 +1,189 @@
1
+ {
2
+ "name": "@marsson/ciutils",
3
+ "description": " Utilities for enabling continuous integration for Salesforce development under SF CLI",
4
+ "version": "0.0.4",
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",
11
+ "cli-progress": "^3.12.0",
12
+ "cli-table3": "^0.6.3",
13
+ "jsforce": "2.0.0-beta.29",
14
+ "moment": "^2.30.1",
15
+ "sinon": "^17.0.1"
16
+ },
17
+ "devDependencies": {
18
+ "@oclif/plugin-command-snapshot": "^5.0.2",
19
+ "@salesforce/cli-plugins-testkit": "^5.1.7",
20
+ "@salesforce/dev-scripts": "^8.3.0",
21
+ "@types/jsforce": "^1.11.5",
22
+ "eslint-plugin-sf-plugin": "^1.17.2",
23
+ "oclif": "^4.3.4",
24
+ "shx": "0.3.4",
25
+ "ts-node": "^10.9.2",
26
+ "typescript": "^5.3.3"
27
+ },
28
+ "engines": {
29
+ "node": ">=18.0.0"
30
+ },
31
+ "files": [
32
+ "/lib",
33
+ "/messages",
34
+ "/oclif.manifest.json",
35
+ "/oclif.lock"
36
+ ],
37
+ "keywords": [
38
+ "force",
39
+ "salesforce",
40
+ "salesforcedx",
41
+ "sf",
42
+ "sf-plugin",
43
+ "sfdx",
44
+ "sfdx-plugin"
45
+ ],
46
+ "license": "BSD-3-Clause",
47
+ "oclif": {
48
+ "commands": "./lib/commands",
49
+ "bin": "sf",
50
+ "topicSeparator": " ",
51
+ "devPlugins": [
52
+ "@oclif/plugin-help"
53
+ ],
54
+ "topics": {
55
+ "hello": {
56
+ "description": "Commands to say hello."
57
+ },
58
+ "reporton": {
59
+ "description": "description for reporton"
60
+ }
61
+ },
62
+ "flexibleTaxonomy": true
63
+ },
64
+ "scripts": {
65
+ "build": "wireit",
66
+ "clean": "sf-clean",
67
+ "clean-all": "sf-clean all",
68
+ "clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json oclif.lock",
69
+ "compile": "wireit",
70
+ "docs": "sf-docs",
71
+ "format": "wireit",
72
+ "lint": "wireit",
73
+ "postinstall": "yarn husky install",
74
+ "postpack": "shx rm -f oclif.manifest.json oclif.lock",
75
+ "prepack": "sf-prepack",
76
+ "test": "wireit",
77
+ "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
78
+ "test:only": "wireit",
79
+ "version": "oclif readme"
80
+ },
81
+ "publishConfig": {
82
+ "access": "public"
83
+ },
84
+ "wireit": {
85
+ "build": {
86
+ "dependencies": [
87
+ "compile",
88
+ "lint"
89
+ ]
90
+ },
91
+ "compile": {
92
+ "command": "tsc -p . --pretty --incremental",
93
+ "files": [
94
+ "src/**/*.ts",
95
+ "**/tsconfig.json",
96
+ "messages/**"
97
+ ],
98
+ "output": [
99
+ "lib/**",
100
+ "*.tsbuildinfo"
101
+ ],
102
+ "clean": "if-file-deleted"
103
+ },
104
+ "format": {
105
+ "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
106
+ "files": [
107
+ "src/**/*.ts",
108
+ "test/**/*.ts",
109
+ "schemas/**/*.json",
110
+ "command-snapshot.json",
111
+ ".prettier*"
112
+ ],
113
+ "output": []
114
+ },
115
+ "lint": {
116
+ "command": "eslint src test --color --cache --cache-location .eslintcache",
117
+ "files": [
118
+ "src/**/*.ts",
119
+ "test/**/*.ts",
120
+ "messages/**",
121
+ "**/.eslint*",
122
+ "**/tsconfig.json"
123
+ ],
124
+ "output": []
125
+ },
126
+ "test:compile": {
127
+ "command": "tsc -p \"./test\" --pretty",
128
+ "files": [
129
+ "test/**/*.ts",
130
+ "**/tsconfig.json"
131
+ ],
132
+ "output": []
133
+ },
134
+ "test": {
135
+ "dependencies": [
136
+ "test:compile",
137
+ "test:only",
138
+ "lint"
139
+ ]
140
+ },
141
+ "test:only": {
142
+ "command": "nyc mocha \"test/**/*.test.ts\"",
143
+ "env": {
144
+ "FORCE_COLOR": "2"
145
+ },
146
+ "files": [
147
+ "test/**/*.ts",
148
+ "src/**/*.ts",
149
+ "**/tsconfig.json",
150
+ ".mocha*",
151
+ "!*.nut.ts",
152
+ ".nycrc"
153
+ ],
154
+ "output": []
155
+ },
156
+ "test:command-reference": {
157
+ "command": "\"./bin/dev\" commandreference:generate --erroronwarnings",
158
+ "files": [
159
+ "src/**/*.ts",
160
+ "messages/**",
161
+ "package.json"
162
+ ],
163
+ "output": [
164
+ "tmp/root"
165
+ ]
166
+ },
167
+ "test:deprecation-policy": {
168
+ "command": "\"./bin/dev\" snapshot:compare",
169
+ "files": [
170
+ "src/**/*.ts"
171
+ ],
172
+ "output": [],
173
+ "dependencies": [
174
+ "compile"
175
+ ]
176
+ },
177
+ "test:json-schema": {
178
+ "command": "\"./bin/dev\" schema:compare",
179
+ "files": [
180
+ "src/**/*.ts",
181
+ "schemas"
182
+ ],
183
+ "output": []
184
+ }
185
+ },
186
+ "exports": "./lib/index.js",
187
+ "type": "module",
188
+ "author": "Marcelo Marsson"
189
+ }