Skip to main content
fensu target add appends a SvelteKit target to an existing fensu.toml:
The generated target uses the native Svelte analyzer, framework = "sveltekit", roots = ["src"], a mirrored test layout, and select = ["FW"].

Requirements

  • fensu.toml must already contain explicit [targets.<name>] blocks. The command does not convert a legacy flat configuration or edit [tool.fensu].
  • NAME must be new and contain only ASCII letters, digits, -, or _.
  • PATH must be an existing repository-relative directory without symlinks or parent traversal, and it must contain a non-symlink src/ directory.
  • --preset sveltekit and --path PATH are both required.
Fensu validates the original and resulting documents and performs a guarded write. An invalid target, concurrent edit, or unsafe path leaves the file unchanged.

TypeScript and SvelteKit

Decide when to detect, add, and gradually adopt a web analyzer target.

Configuration

Configure Python and web projects under one repository policy.