Skip to content

[New Feature]: Introduce multi-package workspace support #44144

Open
@azinneera

Description

@azinneera

Description

We should implement native support for managing multiple Ballerina packages in a single workspace. This feature enables developers to organize and build interdependent packages together in a monorepo-style structure.

Describe your problem(s)

Ballerina currently only supports a single package per project. This becomes limiting for projects developed in monorepo style when managing dependencies in the local filesystem.

Without workspace support, developers must either rely on a package repository (remote or local) for dependency management, which reduces development efficiency.

Describe your solution(s)

The solution is to enable developers to define a workspace that includes multiple Ballerina packages, allowing seamless dependency resolution between them. As a part of the solution, it enhances core package commands like new, build, and test to operate in a workspace context.

Related area

-> Other Area

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions