CLI Tool Changelog
v0.5.8 Update Notes
- Static Type Inference Support: New support for static type inference for
PropData,StateData, andEvent. You can now useextendsto reuse common type definitions when declaring these types.
v0.5.0 Update Notes
- Array Type Support: Added support for array input and output for three basic types.
PropDataandStateDatanow both support array binding.
v0.4.16 Update Notes
Update Date: September 8, 2025
To create a better code component development experience, older CLI releases are deprecated. Install the latest global CLI and run momen update on each project.
Update Content
- Metadata Support: Added standardized metadata support for component projects, including project descriptions, demo addresses, etc.
- Resource File Directory: Added
resourcesdirectory for customizing icons and preview images. - Readme Support: Added support for project and component-level
README.mdfiles.
Developer Update Steps
All users need to perform the following operations to upgrade:
-
Globally Update CLI:
npm i -g momen-cli -
Verify installation:
momen --help -
Upgrade existing projects:
momen update # If using Git, ensure there are no uncommitted changes.
Last updated on