apextestlist 1.0.0

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,72 @@
1
+ {
2
+ "commands": {
3
+ "apextests:list": {
4
+ "aliases": [],
5
+ "args": {},
6
+ "description": "Lists tests in a package.xml file or from a directory.",
7
+ "examples": [
8
+ "<%= config.bin %> <%= command.id %> --format csv",
9
+ "<%= config.bin %> <%= command.id %> --format sf --directory force-app"
10
+ ],
11
+ "flags": {
12
+ "json": {
13
+ "description": "Format output as json.",
14
+ "helpGroup": "GLOBAL",
15
+ "name": "json",
16
+ "allowNo": false,
17
+ "type": "boolean"
18
+ },
19
+ "flags-dir": {
20
+ "helpGroup": "GLOBAL",
21
+ "name": "flags-dir",
22
+ "summary": "Import flag values from a directory.",
23
+ "hasDynamicHelp": false,
24
+ "multiple": false,
25
+ "type": "option"
26
+ },
27
+ "directory": {
28
+ "char": "d",
29
+ "description": "Usually, if you run this command at the root of your Salesforce DX project, it means that the directory points to the original \"force-app\" folder (even if you have renamed it to something else). If you wish to limit the usage to a specific module, specify the folder with this flag.",
30
+ "name": "directory",
31
+ "required": false,
32
+ "summary": "Directory name. Defaults to the current working directory.",
33
+ "hasDynamicHelp": false,
34
+ "multiple": false,
35
+ "type": "option"
36
+ },
37
+ "format": {
38
+ "char": "f",
39
+ "description": "By default, the format being returned is a list in the format that can be merged with the test flags of the Salesforce CLI deploy and validate commands. Available formats are `sf` (default) and `csv`.",
40
+ "name": "format",
41
+ "required": false,
42
+ "summary": "Format of the output.",
43
+ "hasDynamicHelp": false,
44
+ "multiple": false,
45
+ "type": "option"
46
+ }
47
+ },
48
+ "hasDynamicHelp": false,
49
+ "hiddenAliases": [],
50
+ "id": "apextests:list",
51
+ "pluginAlias": "apextestlist",
52
+ "pluginName": "apextestlist",
53
+ "pluginType": "core",
54
+ "strict": true,
55
+ "summary": "List",
56
+ "enableJsonFlag": true,
57
+ "isESM": true,
58
+ "relativePath": [
59
+ "lib",
60
+ "commands",
61
+ "apextests",
62
+ "list.js"
63
+ ],
64
+ "aliasPermutations": [],
65
+ "permutations": [
66
+ "apextests:list",
67
+ "list:apextests"
68
+ ]
69
+ }
70
+ },
71
+ "version": "1.0.0"
72
+ }
package/package.json ADDED
@@ -0,0 +1,186 @@
1
+ {
2
+ "name": "apextestlist",
3
+ "description": "A plugin that generates a list of apex test and test suite names for use in CI/CD pipelines.",
4
+ "version": "1.0.0",
5
+ "dependencies": {
6
+ "@oclif/core": "4.0.20",
7
+ "@salesforce/core": "^8.5.4",
8
+ "@salesforce/sf-plugins-core": "^11.3.7"
9
+ },
10
+ "devDependencies": {
11
+ "@oclif/plugin-command-snapshot": "^5.1.9",
12
+ "@salesforce/cli-plugins-testkit": "^5.3.10",
13
+ "@salesforce/dev-scripts": "^10.2.10",
14
+ "eslint-plugin-sf-plugin": "^1.20.6",
15
+ "oclif": "^4.14.29",
16
+ "ts-node": "^10.9.2",
17
+ "typescript": "^5.5.4"
18
+ },
19
+ "engines": {
20
+ "node": ">=18.0.0"
21
+ },
22
+ "files": [
23
+ "/lib",
24
+ "/messages",
25
+ "/oclif.manifest.json",
26
+ "/oclif.lock"
27
+ ],
28
+ "keywords": [
29
+ "force",
30
+ "salesforce",
31
+ "salesforcedx",
32
+ "sf",
33
+ "sf-plugin",
34
+ "sfdx",
35
+ "sfdx-plugin"
36
+ ],
37
+ "license": "BSD-3-Clause",
38
+ "oclif": {
39
+ "commands": "./lib/commands",
40
+ "bin": "sf",
41
+ "topicSeparator": " ",
42
+ "devPlugins": [
43
+ "@oclif/plugin-help"
44
+ ],
45
+ "topics": {
46
+ "apextests": {
47
+ "description": "description for apextests"
48
+ }
49
+ },
50
+ "flexibleTaxonomy": true
51
+ },
52
+ "scripts": {
53
+ "build": "wireit",
54
+ "clean": "sf-clean",
55
+ "clean-all": "sf-clean all",
56
+ "compile": "wireit",
57
+ "docs": "sf-docs",
58
+ "format": "wireit",
59
+ "link-check": "wireit",
60
+ "lint": "wireit",
61
+ "postinstall": "yarn husky install",
62
+ "postpack": "sf-clean --ignore-signing-artifacts",
63
+ "prepack": "sf-prepack",
64
+ "test": "wireit",
65
+ "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
66
+ "test:only": "wireit",
67
+ "version": "oclif readme"
68
+ },
69
+ "publishConfig": {
70
+ "access": "public"
71
+ },
72
+ "wireit": {
73
+ "build": {
74
+ "dependencies": [
75
+ "compile",
76
+ "lint"
77
+ ]
78
+ },
79
+ "compile": {
80
+ "command": "tsc -p . --pretty --incremental",
81
+ "files": [
82
+ "src/**/*.ts",
83
+ "**/tsconfig.json",
84
+ "messages/**"
85
+ ],
86
+ "output": [
87
+ "lib/**",
88
+ "*.tsbuildinfo"
89
+ ],
90
+ "clean": "if-file-deleted"
91
+ },
92
+ "format": {
93
+ "command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
94
+ "files": [
95
+ "src/**/*.ts",
96
+ "test/**/*.ts",
97
+ "schemas/**/*.json",
98
+ "command-snapshot.json",
99
+ ".prettier*"
100
+ ],
101
+ "output": []
102
+ },
103
+ "lint": {
104
+ "command": "eslint src test --color --cache --cache-location .eslintcache",
105
+ "files": [
106
+ "src/**/*.ts",
107
+ "test/**/*.ts",
108
+ "messages/**",
109
+ "**/.eslint*",
110
+ "**/tsconfig.json"
111
+ ],
112
+ "output": []
113
+ },
114
+ "test:compile": {
115
+ "command": "tsc -p \"./test\" --pretty",
116
+ "files": [
117
+ "test/**/*.ts",
118
+ "**/tsconfig.json"
119
+ ],
120
+ "output": []
121
+ },
122
+ "test": {
123
+ "dependencies": [
124
+ "test:compile",
125
+ "test:only",
126
+ "lint"
127
+ ]
128
+ },
129
+ "test:only": {
130
+ "command": "nyc mocha \"test/**/*.test.ts\"",
131
+ "env": {
132
+ "FORCE_COLOR": "2"
133
+ },
134
+ "files": [
135
+ "test/**/*.ts",
136
+ "src/**/*.ts",
137
+ "**/tsconfig.json",
138
+ ".mocha*",
139
+ "!*.nut.ts",
140
+ ".nycrc"
141
+ ],
142
+ "output": []
143
+ },
144
+ "test:command-reference": {
145
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
146
+ "files": [
147
+ "src/**/*.ts",
148
+ "messages/**",
149
+ "package.json"
150
+ ],
151
+ "output": [
152
+ "tmp/root"
153
+ ]
154
+ },
155
+ "test:deprecation-policy": {
156
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
157
+ "files": [
158
+ "src/**/*.ts"
159
+ ],
160
+ "output": [],
161
+ "dependencies": [
162
+ "compile"
163
+ ]
164
+ },
165
+ "test:json-schema": {
166
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
167
+ "files": [
168
+ "src/**/*.ts",
169
+ "schemas"
170
+ ],
171
+ "output": []
172
+ },
173
+ "link-check": {
174
+ "command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
175
+ "files": [
176
+ "./*.md",
177
+ "./!(CHANGELOG).md",
178
+ "messages/**/*.md"
179
+ ],
180
+ "output": []
181
+ }
182
+ },
183
+ "exports": "./lib/index.js",
184
+ "type": "module",
185
+ "author": "Renato Oliveira"
186
+ }