@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.
- package/dist/commands/add.js +1 -1
- package/dist/commands/init.js +1 -1
- package/package.json +1 -1
package/dist/commands/add.js
CHANGED
|
@@ -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 =
|
|
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
|
}
|
package/dist/commands/init.js
CHANGED
|
@@ -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 =
|
|
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
|
}
|