create-nolly-template 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.
- package/dist/index.js +9 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
import prompts from 'prompts';
|
|
3
3
|
import { registry } from './registry/index.js';
|
|
4
4
|
import { buildProject } from './builder.js';
|
|
5
|
+
import packageJSON from '../package.json';
|
|
5
6
|
async function printHelp() {
|
|
6
7
|
console.log(`
|
|
7
|
-
🚀 create-nolly-template
|
|
8
|
+
🚀 create-nolly-template v${packageJSON.version}
|
|
9
|
+
|
|
10
|
+
${packageJSON.description}
|
|
8
11
|
|
|
9
12
|
Usage:
|
|
10
13
|
create-nolly-template Interactive wizard
|
|
@@ -20,7 +23,9 @@ Examples:
|
|
|
20
23
|
}
|
|
21
24
|
async function printAbout() {
|
|
22
25
|
console.log(`
|
|
23
|
-
🚀 create-nolly-template
|
|
26
|
+
🚀 create-nolly-template v${packageJSON.version}
|
|
27
|
+
|
|
28
|
+
${packageJSON.description}
|
|
24
29
|
|
|
25
30
|
Nolly's templates. Zero-config, TypeScript-first.
|
|
26
31
|
|
|
@@ -28,8 +33,8 @@ Templates: Fastify, WebSocket, Swagger, MongoDB, Prisma, and even more !
|
|
|
28
33
|
Built with: TypeScript, ESM, fs-extra, prompts, and a lot of ❤️
|
|
29
34
|
|
|
30
35
|
Made by Nolly, a passionate full-stack developer and open-source enthusiast.
|
|
31
|
-
GitHub: thenolle
|
|
32
|
-
License:
|
|
36
|
+
GitHub: thenolle/${packageJSON.name}
|
|
37
|
+
License: ${packageJSON.license}
|
|
33
38
|
`);
|
|
34
39
|
process.exit(0);
|
|
35
40
|
}
|
package/package.json
CHANGED