Skip to content

feat: discover offers workspace init for monorepos#255

Merged
indaco merged 1 commit intomainfrom
feat/discover-monorepo-init
Apr 2, 2026
Merged

feat: discover offers workspace init for monorepos#255
indaco merged 1 commit intomainfrom
feat/discover-monorepo-init

Conversation

@indaco
Copy link
Copy Markdown
Owner

@indaco indaco commented Apr 2, 2026

Description

When no .version files or config exist, sley discover now detects monorepo workspace markers (go.work, pnpm-workspace.yaml, package.json workspaces, Cargo.toml [workspace]) and offers the full workspace initialization flow with plugin selection.

Also reorders generated .sley.yaml to place workspace section before plugins, matching the documented structure and following a logical mental flow: project structure first, then behavior configuration.

Related Issue

  • None

Notes for Reviewers

  • discover remains read-only by default.
  • If the user declines, it prints Run 'sley init --workspace' when ready.
  • Non-interactive mode (--no-interactive) skips the prompt and falls through to the existing "Run sley init" message.

When no .version files or config exist, sley discover now detects monorepo workspace markers and offers the full workspace initialization flow with plugin selection.

Also reorders generated .sley.yaml to place workspace section before plugins, matching the documented structure.
@indaco indaco added the enhancement New feature or request label Apr 2, 2026
@indaco indaco merged commit 0f4f5d3 into main Apr 2, 2026
7 checks passed
@indaco indaco deleted the feat/discover-monorepo-init branch April 2, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant