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

chore: add pnpm-lock.yaml #4984

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open

chore: add pnpm-lock.yaml #4984

wants to merge 7 commits into from

Conversation

liweijie0812
Copy link
Collaborator

@liweijie0812 liweijie0812 commented Feb 4, 2025

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • fix(组件名称): 处理问题或特性描述 ...

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

Copy link
Contributor

github-actions bot commented Feb 4, 2025

完成

@liweijie0812 liweijie0812 changed the title chore: update MAIN_PULL_REQUEST chore: add pnpm-lock.yaml Feb 6, 2025
@uyarn uyarn added the monorepo monorepo label Feb 6, 2025
@uyarn
Copy link
Collaborator

uyarn commented Feb 6, 2025

image

dependencies可以改为固定版本

@liweijie0812
Copy link
Collaborator Author

liweijie0812 commented Feb 6, 2025

dayjs 版本大于 1.11.10 ,类型报错

Run pnpm run lint

> [email protected] lint /home/runner/work/tdesign-vue-next/tdesign-vue-next
> pnpm run lint:tsc && eslint --ext .vue,.js,.ts,.tsx ./packages --max-warnings 0 --cache


> [email protected] lint:tsc /home/runner/work/tdesign-vue-next/tdesign-vue-next
> tsc --emitDeclarationOnly

Error: packages/components/calendar/utils.ts(15,5): error TS2322: Type '7' is not assignable to type '0 | 1 | [6](https://github.com/Tencent/tdesign-vue-next/actions/runs/13180583850/job/36790107104?pr=4984#step:6:7) | 2 | 4 | 5 | 3'.

报错源头 iamkun/dayjs#2630

@uyarn
Copy link
Collaborator

uyarn commented Feb 7, 2025

dayjs 版本大于 1.11.10 ,类型报错

Run pnpm run lint

> [email protected] lint /home/runner/work/tdesign-vue-next/tdesign-vue-next
> pnpm run lint:tsc && eslint --ext .vue,.js,.ts,.tsx ./packages --max-warnings 0 --cache


> [email protected] lint:tsc /home/runner/work/tdesign-vue-next/tdesign-vue-next
> tsc --emitDeclarationOnly

Error: packages/components/calendar/utils.ts(15,5): error TS2322: Type '7' is not assignable to type '0 | 1 | [6](https://github.com/Tencent/tdesign-vue-next/actions/runs/13180583850/job/36790107104?pr=4984#step:6:7) | 2 | 4 | 5 | 3'.

报错源头 iamkun/dayjs#2630

固定1.11.10先

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
monorepo monorepo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants