@testspectra/cli 1.0.30 → 1.0.31

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.
@@ -301,7 +301,7 @@ export async function addCommand(moduleNameArg, options = {}) {
301
301
  pObj.name = e2eProjectName;
302
302
  pObj.sourceRoot = path.relative(rootDir, targetE2eDir).replace(/\\/g, "/");
303
303
  pObj.targets.e2e.options.cwd = path.relative(rootDir, targetE2eDir).replace(/\\/g, "/");
304
- pObj.targets["type-check"].options.cwd = path.relative(rootDir, targetE2eDir).replace(/\\/g, "/");
304
+ pObj.targets["type-check"].options.cwd = ".";
305
305
  pObj.tags = [`scope:${featureName}`, "type:e2e"];
306
306
  fs.writeFileSync(projJsonPath, JSON.stringify(pObj, null, 2), "utf-8");
307
307
  }
@@ -416,7 +416,7 @@ export async function initCommand(options = {}) {
416
416
  pObj.name = e2eProjectName;
417
417
  pObj.sourceRoot = path.relative(cwd, targetE2eDir).replace(/\\/g, "/");
418
418
  pObj.targets.e2e.options.cwd = path.relative(cwd, targetE2eDir).replace(/\\/g, "/");
419
- pObj.targets["type-check"].options.cwd = path.relative(cwd, targetE2eDir).replace(/\\/g, "/");
419
+ pObj.targets["type-check"].options.cwd = ".";
420
420
  pObj.tags = [`scope:${featureName}`, "type:e2e"];
421
421
  fs.writeFileSync(projJsonPath, JSON.stringify(pObj, null, 2), "utf-8");
422
422
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testspectra/cli",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "description": "TestSpectra Zero-Config Cross-Platform Test Runner CLI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",