Skip to Content

CLI Tool Changelog

v0.5.8 Update Notes

  1. Static Type Inference Support: New support for static type inference for PropData, StateData, and Event. You can now use extends to reuse common type definitions when declaring these types.

v0.5.0 Update Notes

  1. Array Type Support: Added support for array input and output for three basic types. PropData and StateData now 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

  1. Metadata Support: Added standardized metadata support for component projects, including project descriptions, demo addresses, etc.
  2. Resource File Directory: Added resources directory for customizing icons and preview images.
  3. Readme Support: Added support for project and component-level README.md files.

Developer Update Steps

All users need to perform the following operations to upgrade:

  1. Globally Update CLI:

    npm i -g momen-cli
  2. Verify installation:

    momen --help
  3. Upgrade existing projects:

    momen update # If using Git, ensure there are no uncommitted changes.
Last updated on