plum-e2e 1.0.7 → 1.0.8
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/.claude/settings.local.json +2 -1
- package/bin/plum.js +4 -0
- package/package.json +1 -1
package/bin/plum.js
CHANGED
|
@@ -116,12 +116,16 @@ switch (command) {
|
|
|
116
116
|
// Convert Windows paths to safe format
|
|
117
117
|
const userTestsAbs = path.resolve(process.cwd(), 'tests').replace(/\\/g, '/');
|
|
118
118
|
const userModulesAbs = path.resolve(process.cwd(), 'node_modules').replace(/\\/g, '/');
|
|
119
|
+
const userReportsAbs = path.resolve(process.cwd(), 'reports').replace(/\\/g, '/');
|
|
120
|
+
const plumConfigAbs = path.join(plumRoot, 'backend', 'config').replace(/\\/g, '/');
|
|
119
121
|
|
|
120
122
|
// Generate docker-compose.override.yml
|
|
121
123
|
const overrideYAML = [
|
|
122
124
|
'services:',
|
|
123
125
|
' backend:',
|
|
124
126
|
' volumes:',
|
|
127
|
+
` - "${userReportsAbs}:/app/reports"`,
|
|
128
|
+
` - "${plumConfigAbs}:/app/config"`,
|
|
125
129
|
` - "${userTestsAbs}:/app/tests"`,
|
|
126
130
|
` - "${userModulesAbs}:/app/tests/node_modules"`
|
|
127
131
|
].join('\n');
|