瀏覽代碼

chore: add semi-next @types/next

linyan 3 年之前
父節點
當前提交
b441fdfa05
共有 3 個文件被更改,包括 4 次插入3 次删除
  1. 1 1
      content/start/changelog/index-en-US.md
  2. 1 1
      content/start/changelog/index.md
  3. 2 1
      packages/semi-next/package.json

+ 1 - 1
content/start/changelog/index-en-US.md

@@ -19,7 +19,7 @@ Version:Major.Minor.Patch (follow the **Semver** specification)
 - 【Feat】
 - 【Feat】
     - Add type API for Checkbox & Radio
     - Add type API for Checkbox & Radio
 - 【Chore】
 - 【Chore】
-    - Remove semi-animation-react's peerDependences : react-dom, react, prop-type; remove semi-next dependence: @types/next
+    - Remove semi-animation-react's peerDependences : react-dom, react, prop-type
 - 【Fix】
 - 【Fix】
     - Fix tabs collapse mode will flush in some screen  [#1039 ](https://github.com/DouyinFE/semi-design/issues/1039)
     - Fix tabs collapse mode will flush in some screen  [#1039 ](https://github.com/DouyinFE/semi-design/issues/1039)
     - Fix the left of the emptyContent parameter of Transfer does not take effect  [#1068 ](https://github.com/DouyinFE/semi-design/issues/1068)
     - Fix the left of the emptyContent parameter of Transfer does not take effect  [#1068 ](https://github.com/DouyinFE/semi-design/issues/1068)

+ 1 - 1
content/start/changelog/index.md

@@ -20,7 +20,7 @@ Semi 版本号遵循 **Semver** 规范(主版本号-次版本号-修订版本
 - 【Feat】
 - 【Feat】
     - Checkbox & Radio 增加 type API
     - Checkbox & Radio 增加 type API
 - 【Chore】
 - 【Chore】
-    - 移除semi-animation-react 的 peerDependences : react-dom、react、prop-type;移除 semi-next的 dependence: @types/next
+    - 移除semi-animation-react 的 peerDependences : react-dom、react、prop-type
 - 【Fix】
 - 【Fix】
     - 修复 Tabs collapse模式在某些宽度下会反复横跳,导致闪烁不停的问题  [#1039 ](https://github.com/DouyinFE/semi-design/issues/1039)
     - 修复 Tabs collapse模式在某些宽度下会反复横跳,导致闪烁不停的问题  [#1039 ](https://github.com/DouyinFE/semi-design/issues/1039)
     - 修复Transfer的emptyContent参数的left不生效  [#1068 ](https://github.com/DouyinFE/semi-design/issues/1068)
     - 修复Transfer的emptyContent参数的left不生效  [#1068 ](https://github.com/DouyinFE/semi-design/issues/1068)

+ 2 - 1
packages/semi-next/package.json

@@ -18,6 +18,7 @@
         "prepublishOnly": "npm run build:lib"
         "prepublishOnly": "npm run build:lib"
     },
     },
     "devDependencies": {
     "devDependencies": {
+        "@types/next": "^9.0.0",
         "rimraf": "^3.0.2",
         "rimraf": "^3.0.2",
         "typescript": "^4"
         "typescript": "^4"
     },
     },
@@ -25,4 +26,4 @@
         "@douyinfe/semi-webpack-plugin": "2.18.0-beta.0"
         "@douyinfe/semi-webpack-plugin": "2.18.0-beta.0"
     },
     },
     "gitHead": "eb34a4f25f002bb4cbcfa51f3df93bed868c831a"
     "gitHead": "eb34a4f25f002bb4cbcfa51f3df93bed868c831a"
-}
+}