Skip to content

API reference / @backpack/cli / ProjectOptions

Interface: ProjectOptions

Properties

appName

ts
appName: string;

Name of the app.


components

ts
components: object;

Components to include.

NameType
appConfigRequiredIfEnabled<{ enabled: boolean; }>
appSecretsRequiredIfEnabled<{ awsProfileDev?: string; createDevSecret: boolean; enabled: boolean; }>
datadogMonitoringRequiredIfEnabled<{ enabled: boolean; }>
dynamoDbRequiredIfEnabled<{ enabled: boolean; tableName: string; }>
restApiRequiredIfEnabled<{ enabled: boolean; }>

environments

ts
environments: object;

Environment config.

NameType
awsAccountIdsRecord<"dev" | "stg" | "prd", string | undefined>
onlyDevboolean

gitInit

ts
gitInit: boolean;

Whether to initialize Git.


npmInstall

ts
npmInstall: boolean;

Whether to run NPM install.


targetDirectory

ts
targetDirectory: string;

Where to create the project.


teamName?

ts
optional teamName: string;

Name of the team.