Skip to content

Latest commit

 

History

History

preset-common

@solana-developers/preset-common

This library is a preset for create-solana-dapp with shared code for the other presets.

Supported generators

common-template

>  NX   generate @solana-developers/preset-common:common-template [name] [options,...]

From:  @solana-developers/preset-common (v0.0.1)
Name:  common-template

  Generate Common templates

Options:
    --directory                                                        [string]
    --name                                                             [string]
    --npmScope         The npm scope to use                            [string]
    --template         The template to use                   [string] [choices:
                                                           "license", "readme"]
    --webName          Name of the web application                     [string]
                       (overrides name)
    --anchor           Anchor template to use        [string] [choices: "none",
                                                      "counter", "hello-world"]
                                                              [default: "none"]
    --anchorName       Anchor project name         [string] [default: "anchor"]
    --licenseAuthor    The author to use in the                        [string]
                       license
    --preset           The preset to use             [string] [choices: "next",
                                                                       "react"]

More information