Documentation
¶
Index ¶
- func CodeStyle(_ context.Context, input cmdtools.CommandInput) error
- func Definition(_ context.Context, input cmdtools.CommandInput) error
- func DockerIgnore(_ context.Context, input cmdtools.CommandInput) error
- func GitSettings(_ context.Context, input cmdtools.CommandInput) error
- func Manifest(_ context.Context, input cmdtools.CommandInput) error
- func PackageJSON(_ context.Context, input cmdtools.CommandInput) error
- func PackageJSONApp(_ context.Context, input cmdtools.CommandInput) error
- func PnpmWorkspace(_ context.Context, input cmdtools.CommandInput) error
- func TurboJSON(_ context.Context, input cmdtools.CommandInput) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeStyle ¶
func CodeStyle(_ context.Context, input cmdtools.CommandInput) error
CodeStyle scaffolds' developer and formatting files for the project, mainly dotfiles.
IDEA: Might be good in the AppDef if we could specify what files we want to generate or exclude from this.
func Definition ¶
func Definition(_ context.Context, input cmdtools.CommandInput) error
Definition updates the app.json file with the current CLI version. This ensures the webkit_version field stays in sync with the installed CLI.
func DockerIgnore ¶
func DockerIgnore(_ context.Context, input cmdtools.CommandInput) error
DockerIgnore scaffolds .dockerignore files for every app that's defined in the app manifest.
func GitSettings ¶
func GitSettings(_ context.Context, input cmdtools.CommandInput) error
GitSettings scaffolds the repo settings and ignore files.
TODO: Stale, Pull Request Template.
func Manifest ¶
func Manifest(_ context.Context, input cmdtools.CommandInput) error
Manifest generates a blank file manifest file if it doesn't exist yet.
func PackageJSON ¶
func PackageJSON(_ context.Context, input cmdtools.CommandInput) error
PackageJSON scaffolds a root JSON file to act as a starting point for repos.
func PackageJSONApp ¶ added in v0.0.9
func PackageJSONApp(_ context.Context, input cmdtools.CommandInput) error
PackageJSONApp manipulates each app's package.json file for apps that use NPM. Currently, adds Docker-related scripts while preserving existing scripts.
func PnpmWorkspace ¶
func PnpmWorkspace(_ context.Context, input cmdtools.CommandInput) error
PnpmWorkspace scaffolds the pnpm-workspace.yaml file with all apps that use NPM/pnpm.
Types ¶
This section is empty.