Language scaffolder for JavaScript projects
- Arguments
projectRootstring (required)projectNamestring (required)descriptionstring (optional)pathWithinParentstring (optional)licensestring (required)decisionsobject (optional)visibilitystring (required)vcsobject (required)registriesobject (optional)ciServicesobject (optional)hostsobject (optional)applicationTypesobject (optional)packageTypesobject (optional)monorepoTypesobject (optional)packageBundlersobject (optional)unitTestFrameworksobject (required)configsobject (optional)
Takes a single options object as an argument, containing:
path to the root of the project
name of the project (w/o a scope)
short summary of the project
path within a parent project when scaffolding a sub-project
SPDX License Identifier.
UNLICENSED should be used for proprietary projects that are not being
licensed for use by others.
Answers for prompt questions so that the prompt is skipped at execution time
- keys: string Name of the prompt question
- values: Hard-coded answer for the prompt question
visibility of the project (Public or Private)
hoststring (required) VCS hosting serviceownerstring (required) account name on the host service for the repositorynamestring (required) repository name
- keys: string Description of the registry to be configured, which can be
one of three categories:
- Scope of packages related to this registry (without the
@) registryoverrides the default registrypublishdefines the registry to which a package should be published
- Scope of packages related to this registry (without the
- values: string URL for the registry
A choices object
for defining CI-service plugin options
A choices object
for defining hosting-service plugin options
A choices object
for defining application-type plugin options
A choices object
for defining package-type plugin options
A choices object
for defining monorepo-type plugin options
A choices object
for defining package bundler options
A choices object
for defining unit-testing framework options
to be passed to the unit-testing scaffolder
scopestring (required) scope to be used for shareable configs added as dependencies by the scaffolder
details about the shareable config to be used for the project
packageNamestring (required) name of thenpmpackagenamestring (required) name to be used when referring to the config within the.commitlintrc.jsfile
details about the preset to be used for the project
packageNamestring (required) name of thenpmpackagenamestring (required) shorthand name to be used when referring to the config
scopestring (required) scope to be used for shareable configs added as dependencies by the scaffolder
name of the package to use as a preset for configuring remark in the scaffolded project