Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .fatherrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import { defineConfig } from 'father';

export default defineConfig({
platform: 'browser',
cjs: { output: 'lib' },
esm: {
output: 'es',
alias: { 'rc-util/lib': 'rc-util/es' },
},
});
plugins: ['@rc-component/father-plugin'],
});
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rc-component/tour",
"version": "1.15.1",
"version": "2.0.0-0",
Copy link

Choose a reason for hiding this comment

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

💡 Codebase verification

建议完善 2.0.0 版本的更新文档

缺少以下关键文档:

  • 未找到 CHANGELOG 或 History 文件记录版本变更
  • 未在文档中说明 2.0.0 版本的重大变更内容
  • 未说明与 1.x 版本的兼容性差异

建议在发布 2.0.0 正式版之前:

  1. 创建 CHANGELOG.md 文件
  2. 详细记录所有破坏性变更
  3. 提供 1.x 到 2.0 的升级指南
🔗 Analysis chain

版本升级到 2.0.0-0 需要详细的更新日志

这是一个主版本号的升级(从 1.15.1 到 2.0.0-0),表明有破坏性更新。建议:

  1. 确保更新日志(CHANGELOG)中详细记录了所有破坏性变更
  2. 在发布前进行充分的测试
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# 描述:检查更新日志和相关文档

# 检查是否存在更新日志
fd -g 'CHANGELOG*' -x cat {} \;

# 检查提交记录中是否有破坏性更新的说明
git log --oneline | rg -i "break|breaking|major"

Length of output: 36


Script:

#!/bin/bash
# 检查其他可能的文档位置
echo "=== 检查 History 文件 ==="
fd -g 'History*' -x cat {} \;

echo "=== 检查 README 文件 ==="
fd -g 'README*' -x cat {} \;

echo "=== 检查 package.json 历史 ==="
git log -p package.json | rg "version|Version" -B 2 -A 2

echo "=== 检查其他 markdown 文档 ==="
fd -e md -x cat {} \;

Length of output: 13266

"description": "React tour Component",
"keywords": [
"react",
Expand Down Expand Up @@ -33,7 +33,7 @@
"lint:tsc": "tsc -p tsconfig.json --noEmit",
"now-build": "npm run docs:build",
"prepare": "dumi setup",
"prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish",
"prepublishOnly": "npm run compile && rc-np",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"start": "dumi dev",
"test": "umi-test",
Expand All @@ -47,22 +47,23 @@
"rc-util": "^5.24.4"
},
"devDependencies": {
"@rc-component/father-plugin": "^2.0.3",
"@rc-component/np": "^1.0.3",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^15.0.0",
"@types/jest": "^29.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@umijs/fabric": "^2.5.2",
"cheerio": "1.0.0-rc.12",
"dumi": "^2.1.2",
"eslint": "^7.18.0",
"father": "^4.0.0-rc.8",
"father": "^4.0.0",
"gh-pages": "^3.1.0",
"np": "^5.0.3",
"prettier": "^3.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.0.0",
"cheerio": "1.0.0-rc.12",
"umi-test": "^1.9.7"
},
"peerDependencies": {
Expand Down
Loading