@testspectra/cli 1.0.23 → 1.0.24
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/init.js +1 -4
- package/package.json +1 -1
package/dist/commands/init.js
CHANGED
|
@@ -382,12 +382,9 @@ export async function initCommand(options = {}) {
|
|
|
382
382
|
fs.unlinkSync(localConfig);
|
|
383
383
|
featureE2eDirs.push(targetE2eDir);
|
|
384
384
|
}
|
|
385
|
-
// 5. Ensure pnpm-workspace.yaml includes shared library
|
|
385
|
+
// 5. Ensure pnpm-workspace.yaml includes shared library (feature modules are already part of existing workspace globs)
|
|
386
386
|
const pnpmWorkspaceFilePath = path.join(cwd, "pnpm-workspace.yaml");
|
|
387
387
|
ensurePnpmWorkspaceIncludes(pnpmWorkspaceFilePath, sharedTestingRelPath);
|
|
388
|
-
for (const e2eDir of featureE2eDirs) {
|
|
389
|
-
ensurePnpmWorkspaceIncludes(pnpmWorkspaceFilePath, path.relative(cwd, e2eDir));
|
|
390
|
-
}
|
|
391
388
|
// 6. Update Root Solution tsconfig.json references
|
|
392
389
|
const rootTsConfigPath = path.join(cwd, "tsconfig.json");
|
|
393
390
|
const references = [];
|