evophp 1.0.18 → 1.0.19

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.
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env node
2
+
1
3
  const { execSync } = require('child_process');
2
4
  const fs = require('fs');
3
5
  const path = require('path');
package/new-plugin.js CHANGED
@@ -1,7 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- console.log("new-plugin.js is being executed...");
4
-
5
3
  const { execSync } = require('child_process');
6
4
  const path = require('path');
7
5
  const fs = require('fs');
@@ -120,7 +118,7 @@ async function cloneRepository(author, itemName, cloneDir) {
120
118
  try {
121
119
  // Ensure directories do not exist before cloning
122
120
  if (fs.existsSync(cloneDir)) {
123
- console.log(`The ${type} "${itemName}" already exists in the directory. Exiting.`);
121
+ console.log(`The plugin "${itemName}" already exists in the directory. Exiting.`);
124
122
  process.exit(0);
125
123
  }
126
124
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evophp",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Installer for the Evolution PHP project",
5
5
  "main": "installer.js",
6
6
  "scripts": {