@salesforce/cli-plugins-testkit 1.4.23 → 1.4.27

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +15 -13
  2. package/LICENSE.txt +12 -0
  3. package/package.json +10 -17
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.4.27](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.26...v1.4.27) (2022-01-02)
6
+
7
+ ### [1.4.26](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.25...v1.4.26) (2022-01-01)
8
+
9
+ ### [1.4.25](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.24...v1.4.25) (2022-01-01)
10
+
11
+ ### [1.4.24](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.23...v1.4.24) (2021-12-02)
12
+
5
13
  ### [1.4.23](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.22...v1.4.23) (2021-12-02)
6
14
 
7
15
  ### [1.4.22](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.21...v1.4.22) (2021-12-02)
@@ -26,11 +34,10 @@ All notable changes to this project will be documented in this file. See [standa
26
34
 
27
35
  ### [1.4.12](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.11...v1.4.12) (2021-10-19)
28
36
 
29
-
30
37
  ### Bug Fixes
31
38
 
32
- * format update for lint ([12e3f9a](https://github.com/salesforcecli/cli-plugins-testkit/commit/12e3f9ac8dfa68c3d92c72d0a98dec4af97b7c81))
33
- * format update for lint ([85838c8](https://github.com/salesforcecli/cli-plugins-testkit/commit/85838c89c6514d19a2ab8e519f9ca7097beb8ac8))
39
+ - format update for lint ([12e3f9a](https://github.com/salesforcecli/cli-plugins-testkit/commit/12e3f9ac8dfa68c3d92c72d0a98dec4af97b7c81))
40
+ - format update for lint ([85838c8](https://github.com/salesforcecli/cli-plugins-testkit/commit/85838c89c6514d19a2ab8e519f9ca7097beb8ac8))
34
41
 
35
42
  ### [1.4.11](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.10...v1.4.11) (2021-10-12)
36
43
 
@@ -56,10 +63,9 @@ All notable changes to this project will be documented in this file. See [standa
56
63
 
57
64
  ## [1.4.0](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.3.7...v1.4.0) (2021-09-10)
58
65
 
59
-
60
66
  ### Features
61
67
 
62
- * update SfExecCmdResult ([#180](https://github.com/salesforcecli/cli-plugins-testkit/issues/180)) ([f5005d9](https://github.com/salesforcecli/cli-plugins-testkit/commit/f5005d9da1fdedbca916dee2e934638003fef454))
68
+ - update SfExecCmdResult ([#180](https://github.com/salesforcecli/cli-plugins-testkit/issues/180)) ([f5005d9](https://github.com/salesforcecli/cli-plugins-testkit/commit/f5005d9da1fdedbca916dee2e934638003fef454))
63
69
 
64
70
  ### [1.3.7](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.3.6...v1.3.7) (2021-09-02)
65
71
 
@@ -75,17 +81,15 @@ All notable changes to this project will be documented in this file. See [standa
75
81
 
76
82
  ### [1.3.1](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.3.0...v1.3.1) (2021-09-01)
77
83
 
78
-
79
84
  ### Bug Fixes
80
85
 
81
- * include SfdxError props on SfdxExecCmdResult ([#172](https://github.com/salesforcecli/cli-plugins-testkit/issues/172)) ([9f852e0](https://github.com/salesforcecli/cli-plugins-testkit/commit/9f852e057b4ad22c44cf457b9e415ea0cf7c158e))
86
+ - include SfdxError props on SfdxExecCmdResult ([#172](https://github.com/salesforcecli/cli-plugins-testkit/issues/172)) ([9f852e0](https://github.com/salesforcecli/cli-plugins-testkit/commit/9f852e057b4ad22c44cf457b9e415ea0cf7c158e))
82
87
 
83
88
  ## [1.3.0](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.2.12...v1.3.0) (2021-08-04)
84
89
 
85
-
86
90
  ### Features
87
91
 
88
- * allow option to answer prompts ([#171](https://github.com/salesforcecli/cli-plugins-testkit/issues/171)) ([2a7133e](https://github.com/salesforcecli/cli-plugins-testkit/commit/2a7133e16fcd04619964306af777701772c12720))
92
+ - allow option to answer prompts ([#171](https://github.com/salesforcecli/cli-plugins-testkit/issues/171)) ([2a7133e](https://github.com/salesforcecli/cli-plugins-testkit/commit/2a7133e16fcd04619964306af777701772c12720))
89
93
 
90
94
  ### [1.2.12](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.2.11...v1.2.12) (2021-08-04)
91
95
 
@@ -111,17 +115,15 @@ All notable changes to this project will be documented in this file. See [standa
111
115
 
112
116
  ### [1.2.1](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.2.0...v1.2.1) (2021-07-23)
113
117
 
114
-
115
118
  ### Bug Fixes
116
119
 
117
- * strip ansi from stdout and stderr ([#158](https://github.com/salesforcecli/cli-plugins-testkit/issues/158)) ([960b201](https://github.com/salesforcecli/cli-plugins-testkit/commit/960b20167beb0ff788934aceec7cf2e10d9b7f1b))
120
+ - strip ansi from stdout and stderr ([#158](https://github.com/salesforcecli/cli-plugins-testkit/issues/158)) ([960b201](https://github.com/salesforcecli/cli-plugins-testkit/commit/960b20167beb0ff788934aceec7cf2e10d9b7f1b))
118
121
 
119
122
  ## [1.2.0](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.1.5...v1.2.0) (2021-07-23)
120
123
 
121
-
122
124
  ### Features
123
125
 
124
- * support typings for sf ([#157](https://github.com/salesforcecli/cli-plugins-testkit/issues/157)) ([81d2204](https://github.com/salesforcecli/cli-plugins-testkit/commit/81d22040f3506da115d0bfc68c51a80b8a7f6f91))
126
+ - support typings for sf ([#157](https://github.com/salesforcecli/cli-plugins-testkit/issues/157)) ([81d2204](https://github.com/salesforcecli/cli-plugins-testkit/commit/81d22040f3506da115d0bfc68c51a80b8a7f6f91))
125
127
 
126
128
  ### [1.1.5](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.1.4...v1.1.5) (2021-05-28)
127
129
 
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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli-plugins-testkit",
3
3
  "description": "Provides test utilities to assist Salesforce CLI plug-in authors with writing non-unit tests (NUT).",
4
- "version": "1.4.23",
4
+ "version": "1.4.27",
5
5
  "author": "Salesforce",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "lib/index.js",
@@ -17,10 +17,11 @@
17
17
  "format": "sf-format",
18
18
  "lint": "sf-lint",
19
19
  "lint-fix": "yarn sf-lint --fix",
20
- "prepack": "sf-build",
20
+ "prepack": "sf-prepack",
21
+ "prepare": "sf-install",
21
22
  "pretest": "sf-compile-test",
22
- "test": "sf-test --require ts-node/register",
23
- "samples": "tsc -p samples && ts-node samples/generateSamplesDoc.ts"
23
+ "samples": "tsc -p samples && ts-node samples/generateSamplesDoc.ts",
24
+ "test": "sf-test"
24
25
  },
25
26
  "keywords": [
26
27
  "force",
@@ -40,13 +41,6 @@
40
41
  "messages",
41
42
  "!lib/**/*.map"
42
43
  ],
43
- "husky": {
44
- "hooks": {
45
- "commit-msg": "sf-husky-commit-msg",
46
- "pre-commit": "sf-husky-pre-commit",
47
- "pre-push": "sf-husky-pre-push"
48
- }
49
- },
50
44
  "dependencies": {
51
45
  "@salesforce/core": "^2.24.0",
52
46
  "@salesforce/kit": "^1.5.13",
@@ -58,7 +52,7 @@
58
52
  },
59
53
  "devDependencies": {
60
54
  "@salesforce/dev-config": "^2.1.2",
61
- "@salesforce/dev-scripts": "^0.9.11",
55
+ "@salesforce/dev-scripts": "^1.0.2",
62
56
  "@salesforce/prettier-config": "^0.0.2",
63
57
  "@salesforce/ts-sinon": "^1.3.18",
64
58
  "@types/archiver": "^5.1.0",
@@ -67,7 +61,6 @@
67
61
  "@types/jsforce": "^1.9.29",
68
62
  "@types/mkdirp": "^1.0.1",
69
63
  "@types/shelljs": "^0.8.8",
70
- "@types/sinon": "^10.0.2",
71
64
  "@typescript-eslint/eslint-plugin": "^4.26.0",
72
65
  "@typescript-eslint/parser": "^4.26.0",
73
66
  "chai": "^4.3.0",
@@ -78,16 +71,16 @@
78
71
  "eslint-config-salesforce-license": "^0.1.6",
79
72
  "eslint-config-salesforce-typescript": "^0.2.7",
80
73
  "eslint-plugin-header": "^3.1.1",
81
- "eslint-plugin-import": "^2.23.4",
82
- "eslint-plugin-jsdoc": "^35.0.0",
74
+ "eslint-plugin-import": "2.25.3",
75
+ "eslint-plugin-jsdoc": "^35.1.2",
83
76
  "eslint-plugin-prettier": "^3.4.0",
84
- "husky": "^4.3.8",
77
+ "husky": "^7.0.4",
85
78
  "mocha": "^8.4.0",
86
79
  "nyc": "^15.1.0",
87
80
  "prettier": "^2.3.1",
88
81
  "pretty-quick": "^3.1.0",
89
82
  "sinon": "10.0.0",
90
- "ts-node": "^9.1.1",
83
+ "ts-node": "^10.0.0",
91
84
  "typescript": "^4.1.3"
92
85
  },
93
86
  "config": {