@halo-dev/convert-theme-config-to-next
将 Halo 1.5 的主题配置自动转换为 Halo 2.0 适用的主题配置。
使用
转换 theme.yaml 文件:
npx @halo-dev/convert-theme-config-to-next theme -i path/to/theme.yaml
或者
cd path/to/theme
npx @halo-dev/convert-theme-config-to-next theme
转换 settings.yaml 文件:
npx @halo-dev/convert-theme-config-to-next settings -i path/to/settings.yaml
或者
cd path/to/theme
npx @halo-dev/convert-theme-config-to-next settings