Closed ZenVoich closed 1 month ago
This update introduces significant enhancements to the Mops ecosystem, focusing on dependency management and user experience improvements. Key features include error handling for GitHub dependencies to avoid conflicts, enhancements to the Mops CLI for better control, and improved documentation. New options for verbose logging during publishing provide better feedback, while the user interface of the front-end has been refined for clarity. Overall, these changes aim to boost stability and usability within the package management framework.
File Path | Change Summary |
---|---|
backend/main/PackagePublisher.mo | Added a check for non-empty GitHub dependencies and conflicts with existing packages, enhancing conflict resolution. |
blog/blog/2024-07-30/index.md | Added a summary section and enhanced content, including updates on Mops CLI version, new flags, and improved documentation. |
cli/CHANGELOG.md | Updated for version 0.45.0 with new command-line flags --no-install and --verbose , and improved error handling in moc-wrapper . |
cli/bin/moc-wrapper.sh | Added directory creation for cache before writing, improving script robustness. |
cli/cli.ts | Introduced --verbose option for enhanced output in CLI commands. |
cli/commands/publish.ts | Modified publish function to include a verbose option and changed error handling to use process.exit(1) . |
cli/vessel.ts | Updated deletion process to include a force option, making it more aggressive. |
dfx.json | Incremented dfx version from 0.20.2 to 0.21.0 , reflecting tool updates. |
docs/docs/cli/2-publish/01-mops-publish.md | Added --verbose option to documentation for clearer publishing feedback. |
frontend/components/package/Package.svelte | Introduced a new <div> to display GitHub dependency names, enhancing UI clarity. |
package.json | Reordered arguments in the deploy-local script command, potentially changing deployment behavior. |
sequenceDiagram
participant User
participant CLI
participant PublishFunction
participant Logger
User->>CLI: Execute publish command with --verbose
CLI->>PublishFunction: Call publish(options)
PublishFunction->>Logger: Log files being processed
PublishFunction->>PublishFunction: Handle errors
alt On Error
PublishFunction-->>User: Exit with status 1
else Success
PublishFunction-->>User: Publish successful
end
🐰 In the meadow, changes bloom bright,
With dependencies managed, all feels right.
Mops now dances, CLI's a delight,
A rabbit's cheer for the new height!
Hop, hop, hooray, for improvements in sight! 🎉
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
0.45.0
, including new command-line flags for better user control (--no-install
and--verbose
).Bug Fixes
moc-wrapper
script for better stability..mops
folder absence during operations.Documentation