17 Commits

Author SHA1 Message Date
4d33e78454 fix: fix errors with biomejs 2024-06-29 22:33:52 +09:00
bfb044fd43 fix(cli): eslint 2024-06-15 04:00:36 +09:00
0be21e2a8d refactor(cli): export RegistryComponent type 2024-06-15 02:15:33 +09:00
7d2453b4cf feat(cli): make getRegistry take custom branch 2024-06-15 01:45:00 +09:00
c1d5c5d06b refactor(cli): make config lib path to directory pattern 2024-06-15 01:44:06 +09:00
0072836bfc feat(registry): apply new structure of registry 2024-06-15 01:43:34 +09:00
aa074d16c1 fix: add everything for eslint fix 2024-06-14 22:47:39 +09:00
Shinwoo PARK
a966a85f62 fix: change registry url to githubusercontent 2024-06-13 19:37:44 +00:00
dd63fcb753 refactor(cli): remove unused lib array
Deleted the unused 'lib' array from within the 'const.ts' file in the 'cli' package to clean up the codebase.
2024-06-11 17:58:50 +09:00
07d9306dde refactor(cli): update registry path and remove libVersion
Removed the 'libVersion' field from the RegistryComponent interface and updated the 'lib' path in the DEFAULT_CONFIG and 'paths' field in Registry. The 'lib' path now includes the file extension '.tsx', aiming to improve clarity and accuracy.
2024-06-11 17:53:34 +09:00
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