plum-e2e 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/bin/plum.js +14 -14
  2. package/package.json +1 -1
package/bin/plum.js CHANGED
@@ -78,7 +78,7 @@ function copyEnvFile() {
78
78
  switch (command) {
79
79
  case 'init':
80
80
  console.log('--------------------------------------\n');
81
- console.log('🟣 Initializing Plum...\n');
81
+ console.log('🟣 Preparing Plum...\n');
82
82
 
83
83
  if (fs.existsSync(userTestsPath)) {
84
84
  console.log('⚠️ A `tests/` folder already exists.\n');
@@ -90,25 +90,25 @@ switch (command) {
90
90
 
91
91
  // Create .env file with default values
92
92
  createEnvFile();
93
- console.log(
94
- '🟣 Plum is now ready!\n\n Scaffold test cases are included in the `tests/` folder.\n For more information about Cucumber, visit: https://cucumber.io/\n\n - To start the server, run:\n `plum start` \n\n - If you are developing locally, run:\n `plum local <@tag/blank if you want to run all tests>`'
95
- );
96
- console.log('--------------------------------------\n');
97
- break;
98
-
99
- case 'start':
100
- console.log('--------------------------------------\n');
101
93
 
102
94
  // Initialize project
103
- console.log('🚀 Initializing plum...');
95
+ console.log('--------------------------------------\n');
96
+ console.log('🚀 Initializing Plum...');
104
97
  execSync('npm run init', {
105
98
  cwd: plumRoot,
106
99
  stdio: 'inherit'
107
100
  });
108
101
 
102
+ console.log(
103
+ '🟣 Plum is now ready!\n\n Scaffold test cases are included in the `tests/` folder.\n For more information about Cucumber, visit: https://cucumber.io/\n\n - To start the server, run:\n `plum start` \n\n - If you are developing locally, run:\n `plum dev <@tag/blank if you want to run all tests>`'
104
+ );
105
+ console.log('--------------------------------------\n');
106
+ break;
107
+
108
+ case 'start':
109
109
  console.log('--------------------------------------\n');
110
110
 
111
- console.log('🚀 Running plum via Docker Compose...');
111
+ console.log('🚀 Running Plum via Docker Compose...');
112
112
 
113
113
  // Copy .env file from root to backend
114
114
  copyEnvFile();
@@ -137,9 +137,9 @@ switch (command) {
137
137
  console.log('--------------------------------------\n');
138
138
  break;
139
139
 
140
- case 'local': {
140
+ case 'dev': {
141
141
  console.log('--------------------------------------\n');
142
- console.log('🚀 Running Plum locally...');
142
+ console.log('🚀 Running Plum in Development Mode...');
143
143
 
144
144
  // Copy .env file from root to backend
145
145
  copyEnvFile();
@@ -193,6 +193,6 @@ switch (command) {
193
193
 
194
194
  default:
195
195
  console.log('--------------------------------------\n');
196
- console.log('Usage: plum <init|start|local>');
196
+ console.log('Usage: plum <init|start|dev>');
197
197
  console.log('--------------------------------------\n');
198
198
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plum-e2e",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A detached test automation environment that combines Playwright and Cucumber with a Svelte frontend and an Express backend. It allows users to trigger tests, monitor reports, and schedule test runs through an intuitive UI.",
5
5
  "main": "index.js",
6
6
  "scripts": {