create-expresss 1.0.0 → 1.0.1

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/cli.js +5 -6
  2. package/package.json +6 -3
package/bin/cli.js CHANGED
@@ -10,11 +10,10 @@ const rl = readline.createInterface({
10
10
  });
11
11
 
12
12
  const projects = {
13
- '2': { name: 'EPMS', fullName: 'worker', folder: 'epms' },
14
- '6': { name: 'SCMS', fullName: 'chain', folder: 'scms' },
15
- '7': { name: 'SMS', fullName: 'shipment', folder: 'sms' },
16
- '8': { name: 'SRMS', fullName: 'sales', folder: 'srms' },
17
-
13
+ '1': { name: 'EPMS', fullName: 'worker', folder: 'epms' },
14
+ '2': { name: 'SCMS', fullName: 'chain', folder: 'scms' },
15
+ '3': { name: 'SMS', fullName: 'shipment', folder: 'sms' },
16
+ '4': { name: 'SRMS', fullName: 'sales', folder: 'srms' }
18
17
  };
19
18
 
20
19
  function showBanner() {
@@ -73,7 +72,7 @@ async function handleSelection(choice) {
73
72
 
74
73
  try {
75
74
  const sourcePath = path.join(__dirname, '..', 'template', project.folder);
76
- const targetPath = path.join(process.cwd(), `mangoose-${project.folder}`);
75
+ const targetPath = path.join(process.cwd(), `express-${project.folder}`);
77
76
 
78
77
  await copyDir(sourcePath, targetPath);
79
78
 
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
-
2
1
  {
3
2
  "name": "create-expresss",
4
- "version": "1.0.0",
3
+ "version": "1.0.1",
5
4
  "description": "Install Express project templates",
6
- "keywords": ["express", "cli", "installer"],
5
+ "keywords": [
6
+ "express",
7
+ "cli",
8
+ "installer"
9
+ ],
7
10
  "license": "ISC",
8
11
  "author": "anivad",
9
12
  "type": "commonjs",