@salesforce/test-plugin117 1.1.0 → 1.5.3
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/LICENSE.txt +12 -0
- package/README.md +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +47 -34
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Copyright (c) 2022, Salesforce.com, Inc.
|
|
2
|
+
All rights reserved.
|
|
3
|
+
|
|
4
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
5
|
+
|
|
6
|
+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
7
|
+
|
|
8
|
+
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
9
|
+
|
|
10
|
+
* Neither the name of Salesforce.com nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
11
|
+
|
|
12
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ $ npm install -g @salesforce/test-plugin117
|
|
|
21
21
|
$ sfdx COMMAND
|
|
22
22
|
running command...
|
|
23
23
|
$ sfdx (-v|--version|version)
|
|
24
|
-
@salesforce/test-plugin117/1.
|
|
24
|
+
@salesforce/test-plugin117/1.0.0 linux-x64 node-v16.16.0
|
|
25
25
|
$ sfdx --help [COMMAND]
|
|
26
26
|
USAGE
|
|
27
27
|
$ sfdx COMMAND
|
|
@@ -63,7 +63,7 @@ EXAMPLES
|
|
|
63
63
|
sfdx hello:org --name myname --targetusername myOrg@example.com
|
|
64
64
|
```
|
|
65
65
|
|
|
66
|
-
_See code: [src/commands/hello/org.ts](https://github.com/vmundra/testPlugin117/blob/v1.
|
|
66
|
+
_See code: [src/commands/hello/org.ts](https://github.com/vmundra/testPlugin117/blob/v1.0.0/src/commands/hello/org.ts)_
|
|
67
67
|
<!-- commandsstop -->
|
|
68
68
|
<!-- debugging-your-plugin -->
|
|
69
69
|
# Debugging your plugin
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.
|
|
1
|
+
{"version":"1.5.3","commands":{"hello:org":{"id":"hello:org","description":"print a greeting and your org IDs","strict":true,"usage":"<%= command.id %> [-n <string>] [-f] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/test-plugin117","pluginAlias":"@salesforce/test-plugin117","pluginType":"core","aliases":[],"examples":["sfdx hello:org --targetusername myOrg@example.com --targetdevhubusername devhub@org.com","sfdx hello:org --name myname --targetusername myOrg@example.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org","multiple":false},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"name":{"name":"name","type":"option","char":"n","description":"name to print","multiple":false},"force":{"name":"force","type":"boolean","char":"f","description":"example boolean flag","allowNo":false}},"args":[{"name":"file"}],"flagsConfig":{"name":{"kind":"string","char":"n","description":"name to print","input":[],"multiple":false,"type":"option"},"force":{"kind":"boolean","char":"f","description":"example boolean flag","allowNo":false,"type":"boolean"}},"requiresUsername":true,"supportsDevhubUsername":true,"requiresProject":false}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/test-plugin117",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"author": "Vamsi-Mundra-Salesforce",
|
|
5
5
|
"bugs": "https://github.com/vmundra/testPlugin117/issues",
|
|
6
6
|
"dependencies": {
|
|
@@ -10,36 +10,37 @@
|
|
|
10
10
|
"tslib": "^2"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@
|
|
13
|
+
"@oclif/plugin-command-snapshot": "^3.1.3",
|
|
14
|
+
"@salesforce/dev-config": "^3.0.0",
|
|
14
15
|
"@salesforce/dev-scripts": "^3.1.0",
|
|
15
|
-
"@salesforce/
|
|
16
|
+
"@salesforce/plugin-command-reference": "^1.4.0",
|
|
17
|
+
"@salesforce/prettier-config": "^0.0.2",
|
|
16
18
|
"@salesforce/ts-sinon": "^1",
|
|
17
|
-
"@
|
|
18
|
-
"@
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"eslint": "^
|
|
23
|
-
"eslint-config-
|
|
24
|
-
"eslint-config-salesforce": "^
|
|
25
|
-
"eslint-
|
|
26
|
-
"eslint-plugin-
|
|
27
|
-
"eslint-plugin-
|
|
28
|
-
"eslint-plugin-jsdoc": "^35",
|
|
19
|
+
"@typescript-eslint/eslint-plugin": "^5.33.0",
|
|
20
|
+
"@typescript-eslint/parser": "^5.33.0",
|
|
21
|
+
"chai": "^4.2.0",
|
|
22
|
+
"eslint": "^8.21.0",
|
|
23
|
+
"eslint-config-prettier": "^8.5.0",
|
|
24
|
+
"eslint-config-salesforce": "^1.1.0",
|
|
25
|
+
"eslint-config-salesforce-license": "^0.1.6",
|
|
26
|
+
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
27
|
+
"eslint-plugin-header": "^3.0.0",
|
|
28
|
+
"eslint-plugin-import": "^2.26.0",
|
|
29
|
+
"eslint-plugin-jsdoc": "^39.3.6",
|
|
29
30
|
"eslint-plugin-typescript": "^0",
|
|
30
31
|
"globby": "^11",
|
|
31
|
-
"husky": "^4",
|
|
32
|
-
"mocha": "^
|
|
33
|
-
"nyc": "^15",
|
|
34
|
-
"oclif": "^
|
|
35
|
-
"prettier": "^2",
|
|
36
|
-
"pretty-quick": "^3",
|
|
32
|
+
"husky": "^7.0.4",
|
|
33
|
+
"mocha": "^9.1.3",
|
|
34
|
+
"nyc": "^15.1.0",
|
|
35
|
+
"oclif": "^3.0.1",
|
|
36
|
+
"prettier": "^2.7.1",
|
|
37
|
+
"pretty-quick": "^3.1.0",
|
|
37
38
|
"sinon": "10.0.0",
|
|
38
|
-
"ts-node": "^10",
|
|
39
|
-
"typescript": "4"
|
|
39
|
+
"ts-node": "^10.0.0",
|
|
40
|
+
"typescript": "^4.1.3"
|
|
40
41
|
},
|
|
41
42
|
"engines": {
|
|
42
|
-
"node": ">=
|
|
43
|
+
"node": ">=14.0.0"
|
|
43
44
|
},
|
|
44
45
|
"files": [
|
|
45
46
|
"/lib",
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"keywords": [
|
|
52
53
|
"sfdx-plugin"
|
|
53
54
|
],
|
|
54
|
-
"license": "
|
|
55
|
+
"license": "BSD-3-Clause",
|
|
55
56
|
"oclif": {
|
|
56
57
|
"commands": "./lib/commands",
|
|
57
58
|
"bin": "sfdx",
|
|
@@ -61,20 +62,32 @@
|
|
|
61
62
|
}
|
|
62
63
|
},
|
|
63
64
|
"devPlugins": [
|
|
64
|
-
"@oclif/plugin-help"
|
|
65
|
+
"@oclif/plugin-help",
|
|
66
|
+
"@oclif/plugin-command-snapshot",
|
|
67
|
+
"@salesforce/plugin-command-reference"
|
|
65
68
|
]
|
|
66
69
|
},
|
|
67
70
|
"repository": "vmundra/testPlugin117",
|
|
68
71
|
"scripts": {
|
|
69
|
-
"build": "
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
72
|
+
"build": "sf-build",
|
|
73
|
+
"clean": "sf-clean",
|
|
74
|
+
"clean-all": "sf-clean all",
|
|
75
|
+
"clean:lib": "shx rm -rf lib && shx rm -rf coverage && shx rm -rf .nyc_output && shx rm -f oclif.manifest.json",
|
|
76
|
+
"compile": "sf-compile",
|
|
77
|
+
"docs": "sf-docs",
|
|
78
|
+
"format": "sf-format",
|
|
79
|
+
"lint": "sf-lint",
|
|
80
|
+
"postpack": "shx rm -f oclif.manifest.json",
|
|
81
|
+
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference",
|
|
82
|
+
"prepack": "sf-prepack",
|
|
83
|
+
"prepare": "sf-install",
|
|
84
|
+
"pretest": "sf-compile-test",
|
|
85
|
+
"test": "sf-test",
|
|
86
|
+
"test:command-reference": "./bin/dev commandreference:generate --erroronwarnings",
|
|
87
|
+
"test:deprecation-policy": "./bin/dev snapshot:compare",
|
|
88
|
+
"version": "oclif readme"
|
|
76
89
|
},
|
|
77
90
|
"publishConfig": {
|
|
78
91
|
"access": "public"
|
|
79
92
|
}
|
|
80
|
-
}
|
|
93
|
+
}
|