@salesforce/cli-plugins-testkit 1.4.24 → 1.4.25

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 +9 -13
  2. package/LICENSE.txt +12 -0
  3. package/package.json +10 -17
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
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.25](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.24...v1.4.25) (2022-01-01)
6
+
5
7
  ### [1.4.24](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.23...v1.4.24) (2021-12-02)
6
8
 
7
9
  ### [1.4.23](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.22...v1.4.23) (2021-12-02)
@@ -28,11 +30,10 @@ All notable changes to this project will be documented in this file. See [standa
28
30
 
29
31
  ### [1.4.12](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.11...v1.4.12) (2021-10-19)
30
32
 
31
-
32
33
  ### Bug Fixes
33
34
 
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))
35
+ - format update for lint ([12e3f9a](https://github.com/salesforcecli/cli-plugins-testkit/commit/12e3f9ac8dfa68c3d92c72d0a98dec4af97b7c81))
36
+ - format update for lint ([85838c8](https://github.com/salesforcecli/cli-plugins-testkit/commit/85838c89c6514d19a2ab8e519f9ca7097beb8ac8))
36
37
 
37
38
  ### [1.4.11](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.4.10...v1.4.11) (2021-10-12)
38
39
 
@@ -58,10 +59,9 @@ All notable changes to this project will be documented in this file. See [standa
58
59
 
59
60
  ## [1.4.0](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.3.7...v1.4.0) (2021-09-10)
60
61
 
61
-
62
62
  ### Features
63
63
 
64
- * update SfExecCmdResult ([#180](https://github.com/salesforcecli/cli-plugins-testkit/issues/180)) ([f5005d9](https://github.com/salesforcecli/cli-plugins-testkit/commit/f5005d9da1fdedbca916dee2e934638003fef454))
64
+ - update SfExecCmdResult ([#180](https://github.com/salesforcecli/cli-plugins-testkit/issues/180)) ([f5005d9](https://github.com/salesforcecli/cli-plugins-testkit/commit/f5005d9da1fdedbca916dee2e934638003fef454))
65
65
 
66
66
  ### [1.3.7](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.3.6...v1.3.7) (2021-09-02)
67
67
 
@@ -77,17 +77,15 @@ All notable changes to this project will be documented in this file. See [standa
77
77
 
78
78
  ### [1.3.1](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.3.0...v1.3.1) (2021-09-01)
79
79
 
80
-
81
80
  ### Bug Fixes
82
81
 
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))
82
+ - 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
83
 
85
84
  ## [1.3.0](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.2.12...v1.3.0) (2021-08-04)
86
85
 
87
-
88
86
  ### Features
89
87
 
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))
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))
91
89
 
92
90
  ### [1.2.12](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.2.11...v1.2.12) (2021-08-04)
93
91
 
@@ -113,17 +111,15 @@ All notable changes to this project will be documented in this file. See [standa
113
111
 
114
112
  ### [1.2.1](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.2.0...v1.2.1) (2021-07-23)
115
113
 
116
-
117
114
  ### Bug Fixes
118
115
 
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))
116
+ - 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
117
 
121
118
  ## [1.2.0](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.1.5...v1.2.0) (2021-07-23)
122
119
 
123
-
124
120
  ### Features
125
121
 
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))
122
+ - 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
123
 
128
124
  ### [1.1.5](https://github.com/salesforcecli/cli-plugins-testkit/compare/v1.1.4...v1.1.5) (2021-05-28)
129
125
 
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.25",
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.24.2",
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": {