@sridharkikkeri/playwright-common 1.0.42 ā 1.0.43
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.
|
@@ -305,14 +305,14 @@ npm run test:prod # Uses config/prod.json
|
|
|
305
305
|
fs.writeFileSync(path.join(projectPath, 'README.md'), readme);
|
|
306
306
|
|
|
307
307
|
// Copy framework source files from package
|
|
308
|
-
const frameworkSrc = path.join(__dirname, 'src', '
|
|
308
|
+
const frameworkSrc = path.join(__dirname, 'src', 'core');
|
|
309
309
|
if (fs.existsSync(frameworkSrc)) {
|
|
310
310
|
console.log('\nš Copying framework source files...\n');
|
|
311
311
|
|
|
312
312
|
// Copy core modules to src/main/
|
|
313
313
|
const modules = ['api', 'config', 'fixtures', 'i18n', 'pages', 'reporting', 'selfhealing', 'utils', 'visual', 'wrappers'];
|
|
314
314
|
modules.forEach(module => {
|
|
315
|
-
const src = path.join(frameworkSrc,
|
|
315
|
+
const src = path.join(frameworkSrc, module);
|
|
316
316
|
const dest = path.join(projectPath, 'src', 'main', module);
|
|
317
317
|
if (fs.existsSync(src)) {
|
|
318
318
|
copyDir(src, dest);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sridharkikkeri/playwright-common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.43",
|
|
4
4
|
"description": "Production-grade Playwright framework with AI-powered self-healing, visual regression, and enterprise features",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|