files

package
v0.0.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2025 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

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 Hooks added in v0.0.13

func Hooks(_ context.Context, input cmdtools.CommandInput) error

Hooks scaffolds lefthook configuration for git hooks.

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.

func TurboJSON

func TurboJSON(_ context.Context, input cmdtools.CommandInput) error

TurboJSON adds a boilerplate turbo.json file at the root of the project.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL