apextestlist 1.0.2 → 1.2.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.
- package/lib/commands/apextests/list.d.ts +3 -2
- package/lib/commands/apextests/list.js +63 -20
- package/lib/commands/apextests/list.js.map +1 -1
- package/lib/helpers/constants.d.ts +1 -0
- package/lib/helpers/constants.js +3 -0
- package/lib/helpers/constants.js.map +1 -0
- package/lib/helpers/getPackageDirectories.d.ts +1 -0
- package/lib/helpers/getPackageDirectories.js +45 -0
- package/lib/helpers/getPackageDirectories.js.map +1 -0
- package/lib/helpers/getRepoRoot.d.ts +1 -0
- package/lib/helpers/getRepoRoot.js +12 -0
- package/lib/helpers/getRepoRoot.js.map +1 -0
- package/lib/helpers/types.d.ts +5 -0
- package/lib/helpers/types.js +3 -0
- package/lib/helpers/types.js.map +1 -0
- package/messages/apextests.list.md +9 -0
- package/oclif.lock +1606 -746
- package/oclif.manifest.json +13 -12
- package/package.json +10 -7
- package/npm-shrinkwrap.json +0 -23647
package/oclif.manifest.json
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
"description": "Lists tests in a package.xml file or from a directory.",
|
|
7
7
|
"examples": [
|
|
8
8
|
"<%= config.bin %> <%= command.id %> --format csv",
|
|
9
|
-
"<%= config.bin %> <%= command.id %> --format sf --directory force-app"
|
|
9
|
+
"<%= config.bin %> <%= command.id %> --format sf --directory force-app",
|
|
10
|
+
"<%= config.bin %> <%= command.id %> --format sf --manifest package.xml"
|
|
10
11
|
],
|
|
11
12
|
"flags": {
|
|
12
13
|
"json": {
|
|
@@ -24,16 +25,6 @@
|
|
|
24
25
|
"multiple": false,
|
|
25
26
|
"type": "option"
|
|
26
27
|
},
|
|
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
28
|
"format": {
|
|
38
29
|
"char": "f",
|
|
39
30
|
"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`.",
|
|
@@ -43,6 +34,16 @@
|
|
|
43
34
|
"hasDynamicHelp": false,
|
|
44
35
|
"multiple": false,
|
|
45
36
|
"type": "option"
|
|
37
|
+
},
|
|
38
|
+
"manifest": {
|
|
39
|
+
"char": "x",
|
|
40
|
+
"description": "When you specify a manifest file, the plugin will not search directories for all classes with annotations, but instead will read the manifest file and search for those classes within the specified directory.",
|
|
41
|
+
"name": "manifest",
|
|
42
|
+
"required": false,
|
|
43
|
+
"summary": "Manifest XML file.",
|
|
44
|
+
"hasDynamicHelp": false,
|
|
45
|
+
"multiple": false,
|
|
46
|
+
"type": "option"
|
|
46
47
|
}
|
|
47
48
|
},
|
|
48
49
|
"hasDynamicHelp": false,
|
|
@@ -68,5 +69,5 @@
|
|
|
68
69
|
]
|
|
69
70
|
}
|
|
70
71
|
},
|
|
71
|
-
"version": "1.0
|
|
72
|
+
"version": "1.2.0"
|
|
72
73
|
}
|
package/package.json
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apextestlist",
|
|
3
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
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@oclif/core": "4.0.21",
|
|
7
|
-
"@salesforce/core": "^8.5.
|
|
8
|
-
"@salesforce/sf-plugins-core": "^11.3.
|
|
9
|
-
"async": "^3.2.6"
|
|
7
|
+
"@salesforce/core": "^8.5.5",
|
|
8
|
+
"@salesforce/sf-plugins-core": "^11.3.9",
|
|
9
|
+
"async": "^3.2.6",
|
|
10
|
+
"isomorphic-git": "^1.27.1",
|
|
11
|
+
"xml2js": "^0.6.2"
|
|
10
12
|
},
|
|
11
13
|
"devDependencies": {
|
|
12
|
-
"@oclif/plugin-command-snapshot": "^5.
|
|
14
|
+
"@oclif/plugin-command-snapshot": "^5.2.15",
|
|
13
15
|
"@salesforce/cli-plugins-testkit": "^5.3.30",
|
|
14
16
|
"@salesforce/dev-scripts": "^10.2.10",
|
|
15
17
|
"@types/async": "^3.2.24",
|
|
16
|
-
"
|
|
18
|
+
"@types/xml2js": "^0.4.14",
|
|
19
|
+
"eslint-plugin-sf-plugin": "^1.20.7",
|
|
17
20
|
"husky": "^9.1.5",
|
|
18
|
-
"oclif": "^4.14.
|
|
21
|
+
"oclif": "^4.14.31",
|
|
19
22
|
"ts-node": "^10.9.2",
|
|
20
23
|
"typescript": "^5.5.4",
|
|
21
24
|
"wireit": "^0.14.9"
|