@salesforce/cli-plugins-testkit 1.4.24 → 1.4.28

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.28](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.27...v1.4.28) (2022-01-02)
6
+
7
+ ### [1.4.27](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.26...v1.4.27) (2022-01-02)
8
+
9
+ ### [1.4.26](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.25...v1.4.26) (2022-01-01)
10
+
11
+ ### [1.4.25](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.24...v1.4.25) (2022-01-01)
12
+
5
13
  ### [1.4.24](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.23...v1.4.24) (2021-12-02)
6
14
 
7
15
  ### [1.4.23](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.22...v1.4.23) (2021-12-02)
@@ -28,11 +36,10 @@ All notable changes to this project will be documented in this file. See [standa
28
36
 
29
37
  ### [1.4.12](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.11...v1.4.12) (2021-10-19)
30
38
 
31
-
32
39
  ### Bug Fixes
33
40
 
34
- * format update for lint ([12e3f9a](https://github.com/salesforcecli/cli-plugins-testkit/commit/12e3f9ac8dfa68c3d92c72d0a98dec4af97b7c81))
35
- * format update for lint ([85838c8](https://github.com/salesforcecli/cli-plugins-testkit/commit/85838c89c6514d19a2ab8e519f9ca7097beb8ac8))
41
+ - format update for lint ([12e3f9a](https://github.com/salesforcecli/cli-plugins-testkit/commit/12e3f9ac8dfa68c3d92c72d0a98dec4af97b7c81))
42
+ - format update for lint ([85838c8](https://github.com/salesforcecli/cli-plugins-testkit/commit/85838c89c6514d19a2ab8e519f9ca7097beb8ac8))
36
43
 
37
44
  ### [1.4.11](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.10...v1.4.11) (2021-10-12)
38
45
 
@@ -58,10 +65,9 @@ All notable changes to this project will be documented in this file. See [standa
58
65
 
59
66
  ## [1.4.0](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.3.7...v1.4.0) (2021-09-10)
60
67
 
61
-
62
68
  ### Features
63
69
 
64
- * update SfExecCmdResult ([#180](https://github.com/salesforcecli/cli-plugins-testkit/issues/180)) ([f5005d9](https://github.com/salesforcecli/cli-plugins-testkit/commit/f5005d9da1fdedbca916dee2e934638003fef454))
70
+ - update SfExecCmdResult ([#180](https://github.com/salesforcecli/cli-plugins-testkit/issues/180)) ([f5005d9](https://github.com/salesforcecli/cli-plugins-testkit/commit/f5005d9da1fdedbca916dee2e934638003fef454))
65
71
 
66
72
  ### [1.3.7](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.3.6...v1.3.7) (2021-09-02)
67
73
 
@@ -77,17 +83,15 @@ All notable changes to this project will be documented in this file. See [standa
77
83
 
78
84
  ### [1.3.1](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.3.0...v1.3.1) (2021-09-01)
79
85
 
80
-
81
86
  ### Bug Fixes
82
87
 
83
- * 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))
88
+ - 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))
84
89
 
85
90
  ## [1.3.0](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.2.12...v1.3.0) (2021-08-04)
86
91
 
87
-
88
92
  ### Features
89
93
 
90
- * 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))
94
+ - 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))
91
95
 
92
96
  ### [1.2.12](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.2.11...v1.2.12) (2021-08-04)
93
97
 
@@ -113,17 +117,15 @@ All notable changes to this project will be documented in this file. See [standa
113
117
 
114
118
  ### [1.2.1](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.2.0...v1.2.1) (2021-07-23)
115
119
 
116
-
117
120
  ### Bug Fixes
118
121
 
119
- * 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))
122
+ - 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
123
 
121
124
  ## [1.2.0](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.1.5...v1.2.0) (2021-07-23)
122
125
 
123
-
124
126
  ### Features
125
127
 
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))
128
+ - support typings for sf ([#157](https://github.com/salesforcecli/cli-plugins-testkit/issues/157)) ([81d2204](https://github.com/salesforcecli/cli-plugins-testkit/commit/81d22040f3506da115d0bfc68c51a80b8a7f6f91))
127
129
 
128
130
  ### [1.1.5](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.1.4...v1.1.5) (2021-05-28)
129
131
 
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.24",
4
+ "version": "1.4.28",
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": {