aa2eda565a
* Add Node JS Generic This creates a generic template that can be used for Node JS applications. There are no known limitations at this time. Feature requests are welcome. * PATH step for scripts that need it. * Greelan's review * One day, glasses will be used.
150 lines
6.0 KiB
JSON
150 lines
6.0 KiB
JSON
[
|
|
{
|
|
"DisplayName":"Application Download Type",
|
|
"Category":"Node - Settings",
|
|
"Description":"Sets where to download the application from. Be sure to enter the \"Application Download Source\", \"GitHub Release Filename\", and \"GitHub Release Version\" where applicable. Update the application after setting this value.",
|
|
"Keywords":"download,type",
|
|
"FieldName":"DownloadType",
|
|
"InputType":"enum",
|
|
"IsFlagArgument":false,
|
|
"ParamFieldName":"DownloadType",
|
|
"IncludeInCommandLine":false,
|
|
"DefaultValue":"GitRepo",
|
|
"EnumValues":{
|
|
"DownloadURL":"Download URL",
|
|
"GithubRelease":"GitHub Release",
|
|
"GitRepo":"GitHub Repo",
|
|
"None":"None"
|
|
}
|
|
},
|
|
{
|
|
"DisplayName":"Application Download Source",
|
|
"Category":"Node - Settings",
|
|
"Description":"Sets the source for the \"Application Download Type\". Enter the values based on the type you chose in the previous input. GitHub Repo = URL that ends in .git. GitHub Release = User/Repo. Download URL = URL to a zip file to download. Update the application after setting this value.",
|
|
"Keywords":"download,source",
|
|
"FieldName":"DownloadSource",
|
|
"InputType":"text",
|
|
"IsFlagArgument":false,
|
|
"ParamFieldName":"DownloadSource",
|
|
"IncludeInCommandLine":false,
|
|
"DefaultValue":"",
|
|
"Placeholder":"https://github.com/IceOfWraith/IceBot.git",
|
|
"EnumValues":{}
|
|
},
|
|
{
|
|
"DisplayName":"GitHub Release Filename",
|
|
"Category":"Node - Settings",
|
|
"Description":"If you chose \"GitHub Release\" for the \"Application Download Type\", you need to enter the file from the release to download.",
|
|
"Keywords":"github,release,filename",
|
|
"FieldName":"DownloadFilename",
|
|
"InputType":"text",
|
|
"IsFlagArgument":false,
|
|
"ParamFieldName":"DownloadFilename",
|
|
"IncludeInCommandLine":false,
|
|
"DefaultValue":"",
|
|
"Placeholder":"discordbot.zip",
|
|
"EnumValues":{}
|
|
},
|
|
{
|
|
"DisplayName":"GitHub Release Version",
|
|
"Category":"Node - Settings",
|
|
"Description":"If you chose \"GitHub Release\" for the \"Application Download Type\", you may enter the release version to download. Leave this blank to download the latest.",
|
|
"Keywords":"github,release,version",
|
|
"FieldName":"DownloadVersion",
|
|
"InputType":"text",
|
|
"IsFlagArgument":false,
|
|
"ParamFieldName":"DownloadVersion",
|
|
"IncludeInCommandLine":false,
|
|
"DefaultValue":"",
|
|
"Placeholder":"1.0.0",
|
|
"EnumValues":{}
|
|
},
|
|
{
|
|
"DisplayName":"Node.js Version",
|
|
"Category":"Node - Settings",
|
|
"Description":"Sets the [Node.js release version](https://nodejs.org/download/release/) to install to run the application. NOTE: Specify a numbered version like v.18.16.0, rather than any \"latest\" version.",
|
|
"Keywords":"node,nodejs,version",
|
|
"FieldName":"NodeVersion",
|
|
"InputType":"text",
|
|
"IsFlagArgument":false,
|
|
"ParamFieldName":"NodeVersion",
|
|
"IncludeInCommandLine":false,
|
|
"DefaultValue":"v18.16.0",
|
|
"Placeholder":"v18.16.0",
|
|
"EnumValues":{}
|
|
},
|
|
{
|
|
"DisplayName":"Application Name",
|
|
"Category":"Node - Settings",
|
|
"Description":"Specify name of the Node application to execute Do not specify \"node\" in front.",
|
|
"Keywords":"app,application,name",
|
|
"FieldName":"ApplicationName",
|
|
"InputType":"text",
|
|
"IsFlagArgument":false,
|
|
"ParamFieldName":"ApplicationName",
|
|
"IncludeInCommandLine":false,
|
|
"DefaultValue":"",
|
|
"Placeholder":"index.js",
|
|
"EnumValues":{}
|
|
},
|
|
{
|
|
"DisplayName":"Application Installation Location",
|
|
"Category":"Node - Settings",
|
|
"Description":"If the app downloads in a subfolder of \"app\" you must specify the folders here.",
|
|
"Keywords":"app,application,location",
|
|
"FieldName":"ApplicationLocation",
|
|
"InputType":"text",
|
|
"IsFlagArgument":false,
|
|
"ParamFieldName":"ApplicationLocation",
|
|
"IncludeInCommandLine":false,
|
|
"DefaultValue":"",
|
|
"Placeholder":"IceBot-main",
|
|
"EnumValues":{}
|
|
},
|
|
{
|
|
"DisplayName":"Command Line Arguments",
|
|
"Category":"Node - Settings",
|
|
"Description":"Specify any command line arguments to include.",
|
|
"Keywords":"command,line,arguments,args",
|
|
"FieldName":"CommandLineArgs",
|
|
"InputType":"text",
|
|
"IsFlagArgument":false,
|
|
"ParamFieldName":"CommandLineArgs",
|
|
"IncludeInCommandLine":false,
|
|
"DefaultValue":"",
|
|
"Placeholder":"value1=foo value2=bar",
|
|
"EnumValues":{}
|
|
},
|
|
{
|
|
"DisplayName":"npm Install Type",
|
|
"Category":"Node - Settings",
|
|
"Description":"Specify \"npm i\" to use a packages.json or specify \"npm ci\" to use a packages-lock.json. If \"Specific Packages\" is chosen you must enter the packages in the \"Specific npm Packages\" input.",
|
|
"Keywords":"npm,install,type",
|
|
"FieldName":"NpmInstallType",
|
|
"InputType":"enum",
|
|
"IsFlagArgument":false,
|
|
"ParamFieldName":"NpmInstallType",
|
|
"IncludeInCommandLine":false,
|
|
"DefaultValue":"npmi",
|
|
"EnumValues":{
|
|
"none":"None",
|
|
"npmci":"npm ci",
|
|
"npmi":"npm i",
|
|
"specify":"Specific Packages"
|
|
}
|
|
},
|
|
{
|
|
"DisplayName":"Specific npm Packages",
|
|
"Category":"Node - Settings",
|
|
"Description":"Specify any additional npm packages to install separated by a space. Select \"Specific Packages\" for the \"npm Install Type\".",
|
|
"Keywords":"additional,npm,packages",
|
|
"FieldName":"NpmPackages",
|
|
"InputType":"text",
|
|
"IsFlagArgument":false,
|
|
"ParamFieldName":"NpmPackages",
|
|
"IncludeInCommandLine":false,
|
|
"DefaultValue":"",
|
|
"Placeholder":"express fastify socket.io",
|
|
"EnumValues":{}
|
|
}
|
|
] |