2 Commits

Author SHA1 Message Date
c5bf5c69b3 feat(cli): add support for different config file formats
Modified the 'loadConfig' method to support '.cjs' and '.mjs' config files. Also, a 'changeExtension' function is added to helpers/path.ts to manipulate file extensions. An error will be thrown if a specified user config file is not found. The application defaults to the default config file if no user config file is provided.
2024-06-07 00:33:52 +09:00
c59c80007a feat(cli): add configuration and path management functionality
This commit introduces configuration and path management functionality in the CLI by adding the helper functions to load and validate configuration. It also provides the logic to retrieve available components from a given registry. Additionally, it exposes these functionalities in public API.
2024-06-06 22:07:19 +09:00