@salesforce/source-testkit 2.0.18 → 2.0.19

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 (2) hide show
  1. package/lib/types.d.ts +9 -9
  2. package/package.json +5 -5
package/lib/types.d.ts CHANGED
@@ -1,25 +1,25 @@
1
1
  import { Connection } from '@salesforce/core';
2
2
  import { JsonCollection, JsonMap, Nullable } from '@salesforce/ts-types';
3
- export declare type Result<T = JsonCollection> = Nullable<JsonMap & {
3
+ export type Result<T = JsonCollection> = Nullable<JsonMap & {
4
4
  status: number;
5
5
  result: T;
6
6
  }>;
7
- export declare type Context = {
7
+ export type Context = {
8
8
  projectDir: string;
9
9
  connection: Nullable<Connection>;
10
10
  nut: string;
11
11
  commands: Record<string, string>;
12
12
  };
13
- export declare type Commands = Record<string, string>;
14
- export declare type ApexTestResult = {
13
+ export type Commands = Record<string, string>;
14
+ export type ApexTestResult = {
15
15
  TestTimestamp: string;
16
16
  ApexClassId: string;
17
17
  };
18
- export declare type ApexClass = {
18
+ export type ApexClass = {
19
19
  Id: string;
20
20
  Name: string;
21
21
  };
22
- export declare type SourceMember = {
22
+ export type SourceMember = {
23
23
  Id: string;
24
24
  MemberName: string;
25
25
  MemberType: string;
@@ -29,11 +29,11 @@ export declare type SourceMember = {
29
29
  * NOTICE: The following types are only sufficient for running the NUTs. They are likely incomplete and in some cases incorrect.
30
30
  * As we add commands to plugin-source, we should finalize the respective types and move them to the appropriate file location.
31
31
  */
32
- export declare type SourceState = 'Local Add' | 'Local Changed' | 'Remote Add' | 'Remote Changed' | 'Local Deleted';
33
- export declare type SourceInfo = {
32
+ export type SourceState = 'Local Add' | 'Local Changed' | 'Remote Add' | 'Remote Changed' | 'Local Deleted';
33
+ export type SourceInfo = {
34
34
  state: string;
35
35
  fullName: string;
36
36
  type: string;
37
37
  filePath: string;
38
38
  };
39
- export declare type StatusResult = SourceInfo[];
39
+ export type StatusResult = SourceInfo[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/source-testkit",
3
3
  "description": "testkit for running NUTs for source related commands",
4
- "version": "2.0.18",
4
+ "version": "2.0.19",
5
5
  "author": "Salesforce",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "lib/index.js",
@@ -30,7 +30,7 @@
30
30
  "!lib/**/*.map"
31
31
  ],
32
32
  "dependencies": {
33
- "@salesforce/cli-plugins-testkit": "^3.2.8",
33
+ "@salesforce/cli-plugins-testkit": "^3.2.9",
34
34
  "@salesforce/core": "^3.31.17",
35
35
  "@salesforce/kit": "^1.7.1",
36
36
  "@salesforce/source-deploy-retrieve": "^7.5.2",
@@ -51,7 +51,7 @@
51
51
  "@types/debug": "^4.1.5",
52
52
  "@types/shelljs": "^0.8.11",
53
53
  "@typescript-eslint/eslint-plugin": "^5.40.1",
54
- "@typescript-eslint/parser": "^5.40.1",
54
+ "@typescript-eslint/parser": "^5.43.0",
55
55
  "chai": "^4.3.7",
56
56
  "copyfiles": "^2.4.1",
57
57
  "eslint": "^8.26.0",
@@ -65,11 +65,11 @@
65
65
  "husky": "^7.0.4",
66
66
  "mocha": "^9.1.3",
67
67
  "nyc": "^15.1.0",
68
- "prettier": "^2.7.1",
68
+ "prettier": "^2.8.0",
69
69
  "pretty-quick": "^3.1.0",
70
70
  "sinon": "^10.0.0",
71
71
  "ts-node": "^10.0.0",
72
- "typescript": "^4.8.4"
72
+ "typescript": "^4.9.3"
73
73
  },
74
74
  "config": {},
75
75
  "publishConfig": {