This project is a convenience wrapper for invoking starter kits from sources
other than public packages named create-<X>.
It is most useful for conveniently invoking starter kits in private
repositories, from scoped packages, private packages or private registries.
# With npmnpx create-this git+ssh://git@github.com/user/repo.gitnpx create-this my-private-packagenpx create-this @myorg/some-packagenpx create-this ./path/to/my/package# With yarnyarn create this git+ssh://git@github.com/user/repo.gityarn create this my-private-packageyarn create this @myorg/some-packageyarn create this ./path/to/my/package# With pnpmpnpm create this git+ssh://git@github.com/user/repo.gitpnpm create this my-private-packagepnpm create this @myorg/some-packagepnpm create this ./path/to/my/package
Usage
# With NPMnpx create-this <options for create-this> <package-identifier> <options-and-arguments-for-the-invoked-starter-kit># With Yarnyarn create this <options for create-this> <package-identifier> <options-and-arguments-for-the-invoked-starter-kit># With pnpmpnpm create this <options for create-this> <package-identifier> <options-and-arguments-for-the-invoked-starter-kit># orpnpx create-this <
create-this will try to automatically infer which package manager you're using. If this fails or if you want to use
another package manager, then you can specify it using --use (npm|yarn|pnpm).
Any options and arguments passed to create-this after the package identifier are passed to the invoked starter kit.
This tool is most convenient for invoking unpublished starter kits in private (or public) git repositories, e.g
yarn create this git+ssh://git@github.com/user/repo.git -a -b --some-option --another-option 42 ./some-dir
You can also use it to invoke private packages or scoped packages
yarn create this my-private-package -a -b --some-option --another-option 42 ./some-diryarn create this @myorg/some-package -a -b --some-option --another-option 42 ./some-dir
Finally, you can also use a local directory as the source.
yarn create this ./path/to/my/package -a -b --some-option --another-option 42 ./some-dir