evophp 1.0.23 → 1.0.25

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/new-plugin.js +2 -2
  2. package/package.json +1 -1
package/new-plugin.js CHANGED
@@ -60,7 +60,7 @@ const { readLineAsync, splitPluginName } = require(helpersPath);
60
60
 
61
61
  // Clone the newly created repositories
62
62
  cloneDir = path.join('EvoJsDev', 'Modules', pluginName);
63
- await cloneRepository(author, pluginName, cloneDir);
63
+ await cloneRepository(author, `${pluginName}.js`, cloneDir);
64
64
 
65
65
  var pluginPrefix = await readLineAsync("Enter Plugin Prefix?");
66
66
  while(!test(pluginPrefix, 3)) {
@@ -197,7 +197,7 @@ async function cloneRepository(author, pluginName, cloneDir) {
197
197
 
198
198
  const cloneUrl = `https://github.com/${author}/${pluginName}.git`;
199
199
 
200
- console.log(`Cloning the newly created repository from GitHub...`);
200
+ console.log(`Cloning ${author}/${pluginName}.git from GitHub...`);
201
201
  execSync(`git clone ${cloneUrl} ${cloneDir}`, { stdio: 'inherit' });
202
202
 
203
203
  console.log(`Cloned the repository ${pluginName} successfully.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evophp",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "Installer for the Evolution PHP project",
5
5
  "main": "installer.js",
6
6
  "scripts": {