Skip to content

Commit ec6f1c3

Browse files
committed
add JS option to NestJS create project
1 parent a1f9b2c commit ec6f1c3

File tree

7 files changed

+23
-7
lines changed

7 files changed

+23
-7
lines changed

presets/adonis/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Which tags are related to this preset; used for branching the choices on preset wizard
2-
tags: [ 'JS' ]
2+
tags: [ 'Javascript' ]
33

44
name: 'AdonisJS'
55

presets/expressjs/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Which tags are related to this preset; used for branching the choices on preset wizard
2-
tags: [ 'JS' ]
2+
tags: [ 'Javascript' ]
33

44
name: 'ExpressJS'
55

presets/nestjs/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Which tags are related to this preset; used for branching the choices on preset wizard
2-
tags: [ 'Typescript' ]
2+
tags: [ 'Typescript', 'Javascript' ]
33

44
name: 'NestJS'
55

@@ -9,7 +9,7 @@ create:
99
actions:
1010
- scripts:
1111
- docker pull -q kooldev/node:20
12-
- kool docker kooldev/node:20 npx -y @nestjs/cli new -l Typescript -p npm $CREATE_DIRECTORY
12+
- recipe: create-nestjs
1313

1414
# Preset defines the workflow for installing this preset in the current working directory
1515
preset:

presets/nextjs/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Which tags are related to this preset; used for branching the choices on preset wizard
2-
tags: [ 'JS' ]
2+
tags: [ 'Javascript' ]
33

44
name: 'NextJS'
55

presets/nodejs/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Which tags are related to this preset; used for branching the choices on preset wizard
2-
tags: [ 'JS' ]
2+
tags: [ 'Javascript' ]
33

44
name: 'Hello World'
55

presets/nuxtjs/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Which tags are related to this preset; used for branching the choices on preset wizard
2-
tags: [ 'JS' ]
2+
tags: [ 'Javascript' ]
33

44
name: 'NuxtJS'
55

recipes/create-nestjs.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
title: "Creating NestJS Application"
2+
3+
actions:
4+
- prompt: 'Which language do you want to use?'
5+
ref: 'node-pick-ts-js'
6+
default: 'Typescript'
7+
options:
8+
- name: 'Typescript'
9+
actions:
10+
- scripts:
11+
- kool docker kooldev/node:20 npx -y @nestjs/cli new -l Typescript -p npm $CREATE_DIRECTORY
12+
- name: 'Javascript'
13+
actions:
14+
- scripts:
15+
- kool docker kooldev/node:20 npx -y @nestjs/cli new -l Javascript -p npm $CREATE_DIRECTORY
16+

0 commit comments

Comments
 (0)