plum-e2e 1.2.1 → 1.2.3

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/bin/plum.js CHANGED
@@ -18,7 +18,6 @@
18
18
 
19
19
  import { execSync } from 'child_process';
20
20
  import fs from 'fs';
21
- import os from 'os';
22
21
  import path from 'path';
23
22
  import { fileURLToPath } from 'url';
24
23
  import fse from 'fs-extra';
@@ -306,22 +305,17 @@ switch (command) {
306
305
  }
307
306
  }
308
307
 
309
- // Copy config to ~/.plum/config so Docker can mount it without polluting the project
310
- const userConfigPath = path.join(os.homedir(), '.plum', 'config');
311
- fse.copySync(path.join(plumRoot, 'backend', 'config'), userConfigPath);
312
-
313
308
  // Convert Windows paths to safe format
314
309
  const userTestsAbs = path.resolve(process.cwd(), 'tests').replace(/\\/g, '/');
315
310
  const userReportsAbs = path.resolve(process.cwd(), 'reports').replace(/\\/g, '/');
316
- const userConfigAbs = userConfigPath.replace(/\\/g, '/');
317
311
 
318
312
  // Generate docker-compose.override.yml
313
+ // Config is served from the plum installation's backend/config directly via docker-compose.yml
319
314
  const overrideYAML = [
320
315
  'services:',
321
316
  ' backend:',
322
317
  ' volumes:',
323
318
  ` - "${userReportsAbs}:/app/reports"`,
324
- ` - "${userConfigAbs}:/app/config"`,
325
319
  ` - "${userTestsAbs}:/app/tests"`
326
320
  ].join('\n');
327
321
 
@@ -40,7 +40,6 @@ services:
40
40
  DATABASE_URL: 'postgresql://plum:plum@postgres:5432/plum'
41
41
  volumes:
42
42
  - ./backend/reports:/app/reports
43
- - ./backend/config:/app/config
44
43
  - ./backend/tests:/app/tests:rw
45
44
  depends_on:
46
45
  postgres:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plum-e2e",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/silverlunah/plum.git"