@salesforce/source-testkit 1.0.1 → 1.0.2

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/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.0.2](https://github.com/salesforcecli/source-testkit/compare/v1.0.1...v1.0.2) (2022-06-06)
6
+
5
7
  ### [1.0.1](https://github.com/salesforcecli/source-testkit/compare/v1.0.0...v1.0.1) (2022-05-31)
6
8
 
7
9
  ### Bug Fixes
package/lib/testkit.js CHANGED
@@ -382,8 +382,8 @@ class SourceTestkit extends kit_1.AsyncCreatable {
382
382
  this.metadataResolver = new source_deploy_retrieve_1.MetadataResolver();
383
383
  this.session = await this.createSession();
384
384
  this.projectDir = this.session.project.dir;
385
- const sfdxProject = await core_1.SfdxProject.resolve(this.projectDir);
386
- this.packages = sfdxProject.getPackageDirectories();
385
+ const sfProject = await core_1.SfProject.resolve(this.projectDir);
386
+ this.packages = sfProject.getPackageDirectories();
387
387
  this.packageNames = this.packages.map((p) => p.name);
388
388
  this.packagePaths = this.packages.map((p) => p.fullPath);
389
389
  this.packageGlobs = this.packages.map((p) => `${p.path}/**/*`);
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": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "author": "Salesforce",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "lib/index.js",
@@ -30,11 +30,11 @@
30
30
  "!lib/**/*.map"
31
31
  ],
32
32
  "dependencies": {
33
- "@salesforce/cli-plugins-testkit": "^2.0.0",
34
- "@salesforce/core": "^3.19.1",
35
- "@salesforce/kit": "^1.4.5",
33
+ "@salesforce/cli-plugins-testkit": "^2.1.3",
34
+ "@salesforce/core": "^3.19.4",
35
+ "@salesforce/kit": "^1.5.42",
36
36
  "@salesforce/source-deploy-retrieve": "^6.0.2",
37
- "@salesforce/ts-types": "^1.5.5",
37
+ "@salesforce/ts-types": "^1.5.20",
38
38
  "archiver": "^5.2.0",
39
39
  "chai-each": "^0.0.1",
40
40
  "debug": "^4.3.1",
@@ -55,14 +55,14 @@
55
55
  "chai": "^4.3.0",
56
56
  "copyfiles": "^2.4.1",
57
57
  "cz-conventional-changelog": "^3.3.0",
58
- "eslint": "^7.21.0",
58
+ "eslint": "^7.27.0",
59
59
  "eslint-config-prettier": "^8.1.0",
60
60
  "eslint-config-salesforce": "^0.1.6",
61
61
  "eslint-config-salesforce-license": "^0.1.6",
62
62
  "eslint-config-salesforce-typescript": "^0.2.8",
63
63
  "eslint-plugin-header": "^3.1.1",
64
- "eslint-plugin-import": "^2.22.1",
65
- "eslint-plugin-jsdoc": "^32.2.0",
64
+ "eslint-plugin-import": "2.24.2",
65
+ "eslint-plugin-jsdoc": "^35.1.2",
66
66
  "eslint-plugin-prettier": "^3.3.1",
67
67
  "husky": "^7.0.4",
68
68
  "mocha": "^9.1.3",