Skip to content

Commit b4e8ff9

Browse files
committed
Merge remote-tracking branch 'upstream/v4' into v4
2 parents 5e35625 + 45ba047 commit b4e8ff9

57 files changed

Lines changed: 2040 additions & 1497 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
with:
2222
version: 9
2323

24+
- uses: actions/setup-node@v4
25+
with:
26+
node-version: '20'
27+
cache: 'pnpm'
28+
2429
- name: Install dependencies
2530
run: pnpm install
2631

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"proseWrap": "preserve",
99
"htmlWhitespaceSensitivity": "strict",
1010
"trailingComma": "none",
11-
"plugins": ["@nutui/prettier-plugin"]
11+
"plugins": ["prettier-markdown-table"]
1212
}

CHANGELOG.md

Lines changed: 192 additions & 146 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
| [@nutui/icons-vue](https://github.com/jdf2e/nutui-icons) | `@nutui/nutui` 使用的图标库 | ![nutui](https://img.shields.io/npm/v/@nutui/icons-vue.svg?label=%20) |
9595
| [@nutui/icons-vue-taro](https://github.com/jdf2e/nutui-icons) | `@nutui/nutui-taro` 使用的图标库 | ![nutui](https://img.shields.io/npm/v/@nutui/icons-vue-taro.svg?label=%20) |
9696
| [@nutui/touch-emulator](packages/nutui-touch-emulator) | 在桌面端使用 NutUI 的辅助库 | ![nutui](https://img.shields.io/npm/v/@nutui/touch-emulator.svg?label=%20) |
97-
| [@nutui/auto-import-resolver](packages/nutui-auto-import-resolver) | `unplugin-auto-import` 插件的 reolver 配置 | ![nutui](https://img.shields.io/npm/v/@nutui/auto-import-resolver.svg?label=%20) |
97+
| [@nutui/auto-import-resolver](packages/nutui-auto-import-resolver) | `unplugin-auto-import` 插件的 resolver 配置 | ![nutui](https://img.shields.io/npm/v/@nutui/auto-import-resolver.svg?label=%20) |
9898
| [@nutui/playground](packages/nutui-playground) | NutUI 在线 Playground | - |
9999
| [nutui-demo](https://github.com/jdf2e/nutui-demo) | NutUI 官方示例合集 | - |
100100

@@ -106,6 +106,7 @@
106106
| --- | --- |
107107
| [nutui-uniapp](https://github.com/nutui-uniapp/nutui-uniapp) | 基于 NutUI 4.x 版本开发的 uni-app 组件库 |
108108
| [jwaterwater/uni-nutui](https://github.com/jwaterwater/uni-nutui) | 基于 NutUI 3.x 版本开发的 uni-app 组件库 |
109+
| [common-intellisense](https://github.com/Simon-He95/common-intellisense) | 提供 NutUI 4.x 版本智能提示的 vscode 插件 |
109110

110111
## 项目状态
111112

README_EN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ Site: [nutui.jd.com](https://nutui.jd.com)
102102
| --- | --- |
103103
| [nutui-uniapp](https://github.com/nutui-uniapp/nutui-uniapp) | uni-app UI Components based on NutUI 4.x |
104104
| [jwaterwater/uni-nutui](https://github.com/jwaterwater/uni-nutui) | uni-app UI Components based on NutUI 3.x |
105+
| [common-intellisense](https://github.com/Simon-He95/common-intellisense) | vscode extension for NutUI 4.x Intellisense |
105106

106107
## Status
107108

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nutui/nutui",
3-
"version": "4.3.10",
3+
"version": "4.3.13",
44
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
55
"main": "dist/nutui.umd.js",
66
"module": "dist/nutui.es.js",
@@ -84,15 +84,14 @@
8484
"@eslint/config-inspector": "^0.5.1",
8585
"@eslint/eslintrc": "^3.1.0",
8686
"@nutui/eslint-config": "workspace:*",
87-
"@nutui/prettier-plugin": "workspace:*",
8887
"@nutui/vite-plugins": "workspace:*",
89-
"@tarojs/taro": "3.6.30",
88+
"@tarojs/taro": "3.6.34",
9089
"@types/node": "^20.14.9",
9190
"@vitejs/plugin-vue": "^5.0.5",
9291
"@vitejs/plugin-vue-jsx": "^4.0.0",
93-
"@vitest/coverage-istanbul": "^1.6.0",
94-
"@vitest/coverage-v8": "^1.6.0",
95-
"@vitest/ui": "^1.6.0",
92+
"@vitest/coverage-istanbul": "^2.0.1",
93+
"@vitest/coverage-v8": "^2.0.1",
94+
"@vitest/ui": "^2.0.1",
9695
"@vue/test-utils": "^2.4.6",
9796
"autoprefixer": "^10.4.19",
9897
"codesandbox": "^2.2.3",
@@ -101,19 +100,20 @@
101100
"fs-extra": "^11.2.0",
102101
"happy-dom": "^14.12.3",
103102
"husky": "^9.0.11",
104-
"inquirer": "^9.3.2",
103+
"inquirer": "^10.0.1",
105104
"lzutf8": "^0.6.3",
106105
"markdown-it": "^14.1.0",
107106
"nano-staged": "^0.8.0",
108107
"prettier": "^3.3.2",
109-
"rimraf": "^5.0.7",
108+
"prettier-markdown-table": "^1.0.2",
109+
"rimraf": "^6.0.0",
110110
"typescript": "^5.4.5",
111111
"unplugin-vue-components": "^0.27.2",
112112
"vite": "^5.3.2",
113113
"vite-plugin-vue-devtools": "^7.2.1",
114-
"vitest": "^1.6.0",
114+
"vitest": "^2.0.1",
115115
"vitest-canvas-mock": "^0.3.3",
116-
"vue": "^3.4.31",
116+
"vue": "^3.5.10",
117117
"vue-tsc": "^1.8.27"
118118
},
119119
"engines": {

packages/nutui-auto-import-resolver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"author": "jdf2e",
4646
"license": "MIT",
4747
"devDependencies": {
48-
"rimraf": "^5.0.7",
48+
"rimraf": "^6.0.0",
4949
"typescript": "^5.4.5",
5050
"vite": "^5.3.2"
5151
}

packages/nutui-eslint-config/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ export default [
1717
...pluginVue.configs['flat/recommended'],
1818
{
1919
rules: {
20+
'no-empty': ['error', {
21+
allowEmptyCatch: true
22+
}],
2023
// typescript-eslint
2124
'@typescript-eslint/no-explicit-any': 'off',
2225
'@typescript-eslint/ban-types': 'off',

packages/nutui-playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"devDependencies": {
1818
"@types/node": "^20.14.9",
1919
"@vitejs/plugin-vue": "^5.0.5",
20-
"rimraf": "^5.0.7",
20+
"rimraf": "^6.0.0",
2121
"vite": "^5.3.2",
2222
"vue": "^3.4.31"
2323
},

packages/nutui-prettier-plugin/index.js

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)