baidu / baidu/amis

package.json 中更新 amis 版本到 6.6.0 并安装后,部分下载的 amis 组件版本还是 6.5.0

Open
#10,552 3 comments 0 reactions 0 assignees View on GitHub
need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 描述问题:
在 6.5.0 版本时,package.json 中只引用如下依赖:
```
"amis" : "6.5.0",
"amis-editor" : "6.5.0"
```
执行 pnpm install 后,下载的 amis 相关版本均为 6.5.0

将依赖升级为 6.6.0
```
"amis" : "6.6.0",
"amis-editor" : "6.6.0"
```
执行 pnpm install 后,部分下载的 amis 依赖仍是旧版本 6.5.0

临时解决方案:将版本不一致的依赖也定义在 package.json 中。

#### 截图或视频:
版本未更新到 6.6.0 的组件共有3个:
![image](https://github.com/baidu/amis/assets/127393297/73e12a6d-a396-4038-9fa9-4933863540ae)
![image](https://github.com/baidu/amis/assets/127393297/9dca42e9-1ee8-4294-975d-0171ad5df95f)
![image](https://github.com/baidu/amis/assets/127393297/ac0136af-19c5-4fab-9e92-8ff7735b676f)

#### 如何复现(请务必完整填写下面内容):

1. 你是如何使用 amis 的?
`sdk`、`npm` 或`其他`...

2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在

3. 粘贴有问题的完整 `amis schema` 代码:
```
code here...
```

4. 操作步骤
请简单描述一下复现的操作步骤...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with package.json and the pnpm install step described in the report, then inspect the dependency entries shown in the screenshots to identify which packages remain at 6.5.0. Reproduce the install with amis and amis-editor at 6.6.0 and confirm that all reported amis components resolve to the intended version.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.