create-node-advance-app 2.0.0 ā 2.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.
- package/bin/cli.js +2 -2
- package/lib/templates/index.js +1 -1
- package/package.json +6 -10
package/bin/cli.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const inquirer = require('inquirer');
|
|
4
4
|
const chalk = require('chalk');
|
|
@@ -10,7 +10,7 @@ async function main() {
|
|
|
10
10
|
const args = process.argv.slice(2);
|
|
11
11
|
const projectName = args[0] || 'my-backend';
|
|
12
12
|
|
|
13
|
-
console.log(chalk.cyan.bold('\nš„
|
|
13
|
+
console.log(chalk.cyan.bold('\nš„ create-node-advance-app\n'));
|
|
14
14
|
|
|
15
15
|
// Get configuration
|
|
16
16
|
const config = await inquirer.prompt([
|
package/lib/templates/index.js
CHANGED
|
@@ -1992,7 +1992,7 @@ ${isTS ? 'dist\n' : ''}logs
|
|
|
1992
1992
|
// ============================================================
|
|
1993
1993
|
const readmeContent = `# ${projectName}
|
|
1994
1994
|
|
|
1995
|
-
Backend API built with
|
|
1995
|
+
Backend API built with create-node-advance-app
|
|
1996
1996
|
|
|
1997
1997
|
## Features
|
|
1998
1998
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-node-advance-app",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Production-ready Node.js backend generator CLI with TypeScript support and best practices",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-node-advance-app": "./bin/cli.js",
|
|
7
|
-
"cnapp": "./bin/cli.js"
|
|
7
|
+
"cnapp": "./bin/cli.js"
|
|
8
|
+
},
|
|
8
9
|
"keywords": [
|
|
9
10
|
"backend",
|
|
10
11
|
"cli",
|
|
@@ -19,29 +20,24 @@
|
|
|
19
20
|
],
|
|
20
21
|
"author": "Ashish Pathak",
|
|
21
22
|
"license": "MIT",
|
|
22
|
-
|
|
23
|
-
"homepage": "https://github.com/YOUR_GITHUB_USERNAME/backend-forge",
|
|
23
|
+
"homepage": "hhttps://github.com/ashishpathak2/create-node-advance-app",
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
26
|
-
"url": "https://github.com/
|
|
26
|
+
"url": "https://github.com/ashishpathak2/create-node-advance-app"
|
|
27
27
|
},
|
|
28
28
|
"bugs": {
|
|
29
|
-
"url": "https://github.com/
|
|
29
|
+
"url": "https://github.com/ashishpathak2/create-node-advance-app"
|
|
30
30
|
},
|
|
31
|
-
|
|
32
31
|
"files": [
|
|
33
32
|
"bin",
|
|
34
33
|
"lib",
|
|
35
34
|
"README.md",
|
|
36
35
|
"LICENSE"
|
|
37
36
|
],
|
|
38
|
-
|
|
39
37
|
"preferGlobal": true,
|
|
40
|
-
|
|
41
38
|
"engines": {
|
|
42
39
|
"node": ">=16.0.0"
|
|
43
40
|
},
|
|
44
|
-
|
|
45
41
|
"dependencies": {
|
|
46
42
|
"chalk": "^4.1.2",
|
|
47
43
|
"inquirer": "^8.2.5"
|