Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Can't export a generated module from a library package #42825

Open
sameerajayasoma opened this issue May 30, 2024 · 2 comments
Open

[Bug]: Can't export a generated module from a library package #42825

sameerajayasoma opened this issue May 30, 2024 · 2 comments
Assignees
Labels
Area/CLI-BuildTools Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Bug

Comments

@sameerajayasoma
Copy link
Contributor

Description

My requirement is to export a module to a library package. However, this module is not in the normal source directory. It is inside the generated directory.

Steps to Reproduce

No response

Affected Version(s)

No response

OS, DB, other environment details and versions

No response

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@ballerina-bot ballerina-bot added needTriage The issue has to be inspected and labeled manually userCategory/Compilation labels May 30, 2024
@azinneera azinneera added Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) and removed needTriage The issue has to be inspected and labeled manually userCategory/Compilation labels May 31, 2024
@azinneera
Copy link
Contributor

Checked this and I couldn't reproduce this locally. Generated modules specified in the Ballerinatoml are recorded in the package.json in the BALA.

However, I could see that the Module.md file of the generated module is not packaged in the BALA but it only affects if there is an overview to show for the module. API Docs should still be visible in the Central.

@azinneera
Copy link
Contributor

This issue can be addressed with #42981

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/CLI-BuildTools Team/DevTools Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs ) Type/Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants