Skip to content
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

feat(ui): bump deps #679

Merged
merged 10 commits into from
Dec 19, 2023
Merged

feat(ui): bump deps #679

merged 10 commits into from
Dec 19, 2023

Conversation

Mister-Hope
Copy link
Contributor

@Mister-Hope Mister-Hope commented Dec 18, 2023

  • Bump all non-major deps
  • Bump rollup v4 and vite v5
  • use marked@v11, could be a possible breaking change

@qwqcode
Copy link
Member

qwqcode commented Dec 18, 2023

我尝试在 Windows 环境下编译无法通过,有一个来自 eslint-import-resolver-typescript 依赖的错误:都是关于 alias 别名的错误

之前的解决方法是降级到 "2.7.0" 版本: 8cc39f3

我看到它 v3.0.0 的新版 Release notes:use get-tsconfig to replace tsconfig-paths (78a08e0)

可能换了 https://github.com/privatenumber/get-tsconfig 的 eslint-import-resolver-typescript 在 win 环境下有 bug。

暂时还没明确具体原因。但是降级到 2.7.0 就能跑了。

#621 (reply in thread)

不知道是不是我配置的问题:https://github.com/ArtalkJS/Artalk/blob/master/ui/.eslintrc.js#L38-L47

可以帮忙看看吗,谢谢!

@qwqcode
Copy link
Member

qwqcode commented Dec 18, 2023

fixes #674

@@ -3,6 +3,7 @@
"version": "2.7.1",
"license": "MIT",
"description": "A Selfhosted Comment System",
"type": "module",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this will introduce new issues in esm strict env, see my new opened discussion, a in time discussion would help.

Comment on lines +27 to +35
"./dist/*": "./dist/*",
"./dist/Artalk": "./dist/Artalk.js",
"./dist/Artalk.es": "./dist/Artalk.es.js",
"./dist/Artalk.iife": "./dist/Artalk.iife.js",
"./dist/ArtalkLite": "./dist/ArtalkLite.js",
"./dist/ArtalkLite.es": "./dist/ArtalkLite.es.js",
"./dist/ArtalkLite.iife": "./dist/ArtalkLite.iife.js",
"./dist/i18n/jp": "./dist/i18n/jp.js",
"./dist/i18n/zh-TW": "./dist/i18n/zh-TW.js",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be removed in v3, ref in #690

@Mister-Hope
Copy link
Contributor Author

cc @qwqcode

@Mister-Hope Mister-Hope linked an issue Dec 19, 2023 that may be closed by this pull request
@qwqcode qwqcode merged commit da42676 into ArtalkJS:master Dec 19, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bump dependencies
2 participants