files

package
v0.7.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClaudeSettings added in v0.4.0

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

ClaudeSettings scaffolds the Claude Code settings files.

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 PublicFolder added in v0.0.40

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

PublicFolder creates a public folder with .gitkeep for Payload CMS apps. This ensures that Next.js builds do not fail due to missing public directory. The .gitkeep file is not tracked in the manifest as it's meant to be temporary and can be safely removed once actual files are added to the public folder.

func Schema added in v0.2.0

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

Schema copies the JSON schema to the .webkit folder.

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