дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 09:41:34 +02:00
New Project › JavaScript gains Fastify, generated with the official create-fastify package, with the package manager choice and the optional dependency install the other Node generators have. Co-authored-by: arookieofc-ai <[email protected]>
43 рядки
809 B
TOML
43 рядки
809 B
TOML
id = "fastify"
|
|
name = "Fastify"
|
|
group = "JavaScript"
|
|
icon = "project-node"
|
|
order = 9
|
|
description = "A Fastify server from create-fastify."
|
|
|
|
[[requires]]
|
|
program = "node"
|
|
min = "20.19"
|
|
hint = "Install Node.js 20.19 or later: https://nodejs.org"
|
|
|
|
[[requires]]
|
|
program = "{{pm}}"
|
|
when = { pm = ["pnpm", "yarn", "bun"] }
|
|
hint = "Install it, or choose npm."
|
|
|
|
[[fields]]
|
|
id = "pm"
|
|
label = "Package manager:"
|
|
type = "choice"
|
|
segmented = true
|
|
options = ["npm", "pnpm", "yarn", "bun"]
|
|
default = "npm"
|
|
|
|
[[fields]]
|
|
id = "install"
|
|
label = "Install dependencies"
|
|
type = "checkbox"
|
|
default = "true"
|
|
|
|
[[steps]]
|
|
label = "Running create-fastify"
|
|
package = "create-fastify@latest"
|
|
cwd = "parent"
|
|
args = ["{{name}}"]
|
|
|
|
[[after]]
|
|
label = "Installing dependencies"
|
|
program = "{{pm}}"
|
|
args = ["install"]
|
|
when = { install = "true" }
|