7 Commits

Author SHA1 Message Date
397210462f feat(cli): update components in Registry interface
The Registry interface in the 'const.ts' file within the cli package has been updated. The 'components' property is now a record of RegistryComponent objects, which includes 'name' and 'libVersion' properties, previously it was a record of strings.
2024-06-11 13:25:36 +09:00
fb0c33a6cb refactor(cli): update Registry interface in const.ts
The Registry interface has been refactored to include "paths" field, which is an object containing "components" and "lib" paths. Also, "lib" field is now a string array instead of a record.
2024-06-11 13:03:15 +09:00
274016035f refactor(cli): replace shared with lib in Registry
Changed the 'shared' property in the Registry interface to 'lib'. This update in 'packages/cli/src/const.ts' provides a more generic way to manage libraries with a key-value pair notation.
2024-06-11 13:00:33 +09:00
b962b02690 refactor(cli): rename shared path and import properties to lib
The commit includes an update in the cli package where we've changed the properties in paths and import objects from 'shared' to 'lib'. This refactoring also applies to the DEFAULT_CONFIG object and the configZod object, ensuring consistency across all configurations.
2024-06-11 12:52:25 +09:00
1cecc6fb72 refactor(cli): update shared file extension
The shared file extension has been updated from .ts to .tsx in the path constants and the default configuration within the CLI package. This change aligns with our efforts to standardize the file types across the project.
2024-06-07 00:49:25 +09:00
36c5def5a6 feat(cli): add shared field to Registry interface
A new field "shared" has been added to the Registry interface within the const.ts file located in the cli package. This extends the existing interface to hold more diverse data.
2024-06-06 23:55:43 +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