File tree Expand file tree Collapse file tree 13 files changed +40
-19
lines changed
Expand file tree Collapse file tree 13 files changed +40
-19
lines changed Original file line number Diff line number Diff line change 11# Which tags are related to this preset; used for branching the choices on preset wizard
2- tags : [ 'JS ' ]
2+ tags : [ 'Typescript ' ]
33
44name : ' AdonisJS'
55
88 - name : Creating new Adonis Application
99 actions :
1010 - scripts :
11- - docker pull -q kooldev/node:18
12- - kool docker kooldev/node:18 npx -y @adonisjs/cli new $CREATE_DIRECTORY
13- - kool docker kooldev/node:18 npm --prefix=$CREATE_DIRECTORY i @adonisjs/cli
11+ - docker pull -q kooldev/node:20
12+ - kool docker kooldev/node:20 npm init -y adonis-ts-app@latest $CREATE_DIRECTORY
1413
1514# Preset defines the workflow for installing this preset in the current working directory
1615preset :
Original file line number Diff line number Diff line change 11# Which tags are related to this preset; used for branching the choices on preset wizard
2- tags : [ 'JS ' ]
2+ tags : [ 'Javascript ' ]
33
44name : ' ExpressJS'
55
Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ tags: [ 'Golang' ]
33
44name : ' CLI App'
55
6+ create :
7+ - name : Creating new Golang CLI Application
8+ actions :
9+ - scripts :
10+ - mkdir -p $CREATE_DIRECTORY
11+
612# Preset defines the workflow for installing this preset in the current working directory
713preset :
814 - name : ' Copy basic config files'
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ scripts:
55 - kool run install
66
77 # Runs go CLI with proper version for kool development
8- go : kool docker --volume=gopath :/go --env='GOOS=$GOOS' golang:1.16.0 go
8+ go : kool docker --volume=cli_gopath :/go --env='GOOS=$GOOS' golang:1.21 go
99
1010 # Compiling cli itself. In case you are on MacOS make sure to have your .env
1111 # file properly setting GOOS=darwin so you will be able to use the binary.
1212 compile : kool run go build -o my-cli
1313 install :
1414 - mv my-cli /usr/local/bin/my-cli
1515 fmt : kool run go fmt ./...
16- lint : kool docker --volume=gopath :/go golangci/golangci-lint:v1.31.0 golangci-lint run -v
16+ lint : kool docker --volume=cli_gopath :/go golangci/golangci-lint:v1.54.1 golangci-lint run -v
Original file line number Diff line number Diff line change 11# Which tags are related to this preset; used for branching the choices on preset wizard
2- tags : [ 'Typescript' ]
2+ tags : [ 'Typescript', 'Javascript' ]
33
44name : ' NestJS'
55
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
1515preset :
Original file line number Diff line number Diff line change 11# Which tags are related to this preset; used for branching the choices on preset wizard
2- tags : [ 'JS ' ]
2+ tags : [ 'Javascript ' ]
33
44name : ' NextJS'
55
Original file line number Diff line number Diff line change 11# Which tags are related to this preset; used for branching the choices on preset wizard
2- tags : [ 'JS ' ]
2+ tags : [ 'Javascript ' ]
33
4- name : ' Hello World '
4+ name : ' Vanilla Node.js '
55
66# Create defines the workflow for creating a new Project where this preset can then be installed
77create :
8- - name : Creating new Node application
8+ - name : Creating new Node.js application
99 actions :
1010 - scripts :
1111 - mkdir $CREATE_DIRECTORY
Original file line number Diff line number Diff line change 11# Which tags are related to this preset; used for branching the choices on preset wizard
2- tags : [ 'JS ' ]
2+ tags : [ 'Javascript ' ]
33
44name : ' NuxtJS'
55
Original file line number Diff line number Diff line change 22tags : [ 'PHP' ]
33
44# Name of the preset
5- name : ' Hello World (PHP+ Nginx)'
5+ name : ' Vanilla PHP ( Nginx+PHP-FPM )'
66
77# Create defines the workflow for creating a new Project where this preset can then be installed
88create :
Original file line number Diff line number Diff line change 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+
You can’t perform that action at this time.
0 commit comments