-
Notifications
You must be signed in to change notification settings - Fork 801
Open
Labels
Area/CLI-BuildToolsCredits/20HacktoberfestTeam/DevToolsBallerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs )Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs )Type/Improvementgood first issue
Description
Description
Currently, we can pack a package without having a Package.md file. However when we try to push it to local repo or to the central, it throws an error asking us to have a Package.md.
Moreover, when pushing to the central we cannot have an empty Package.md but we can pack an empty Package.md during bal pack.
Describe your problem(s)
The user realizes that they have not packed a Package.md only when they try to push the package. He has to again add a md file, pack it and push which is cumbersome.
Describe your solution(s)
Introducing a warning diagnostic that warns,
- if there is no
Package.mdwhen calling bal pack, - if Package.md is empty
would be helpful as the user can identify and take corrective measures.
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
Labels
Area/CLI-BuildToolsCredits/20HacktoberfestTeam/DevToolsBallerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs )Ballerina Developer Tooling ( CLI, Test FW, Package Management, OpenAPI, APIDocs )Type/Improvementgood first issue
Type
Projects
Status
Todo