-
Notifications
You must be signed in to change notification settings - Fork 7
Add supports for Typecho migration #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Nice Work!非常感谢你的贡献。
开启这个主要是因为防止样式污染,之前其实可以不用 transformerCompileClass,直接使用 vue-scoped 即可,但换到 Rsbuild 之后,UnoCSS 还不支持 vue-scoped mode。 目前在编写的时候不用手动添加
意思是单独迁移附件吗?可以展开一下,不过这个应该与当前 PR 的实现无关,可以新建一个 issue 进行讨论。 |
ruibaby
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ruibaby The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
目前功能已经经过了我自己的测试: https://blog.3gxk.net/
修改说明
@halo-dev/api-client: 为了使用consoleApiClient.storage.attachment.externalTransferAttachmentAPI@vue/tsconfig:importsNotUsedAsValues已经弃用TypeSctipt报错有关typecho-data-parser.ts内容由Gemini 2.5 Pro+Roo Code分析Typecho 1.2.1 LTS代码生成, 因此从原理上来说解析备份文件的效果和Typecho相同此功能AI参与度50%+
现有问题
transformerCompileClass功能, 不知为何样式不会生成, 因此没有添加:uno:modules中实现, 实际或许应该新建一个类似MigrateAttachment的字段并在到use-migrate-task.ts中处理?迁移需要关注的问题
1panel部署, 需要关闭WAF再迁移, 否则大概率会被拦截导致迁移失败Halo的通知功能(导入评论时会发起通知)