mirror of
https://github.com/element-plus/element-plus.git
synced 2025-12-19 09:09:40 +08:00
* chore: upgrade deps * chore: replace __ExtractPublicPropTypes with ExtractPublicPropTypes * fix: get rid of type errors * fix: resolve test errors with @vue/test-utils v2.4.6 * fix: resolve test errors with Vue 3.5.22 * ci: set pnpm flag * chore: update the Vue peer dependency version * Apply suggestion from @tolking Co-authored-by: qiang <qw13131wang@gmail.com> * docs: update example code Co-authored-by: warmthsea <2586244885@qq.com> * chore: remove csstype (#22487) * chore: fix merge code type error * chore: fix test:ssr error - Cannot read properties of undefined (reading 'getSSRProps') * chore: fix typecheck:vitest error * chore: update pnpm yaml file * test: fix collapse accordion error * chore: update deps * chore: fix type error * chore: lock file * chore: sync change sync with the remove of vue macro * refactor: use computed instead of eagerComputed * fix: timeline.test.tsx typecheck * chore: clean lock file try dont throw CodeFactor issues in ci did: - rm pnpm-lock.yaml - rm -rf ./**/node_modules - pnpm store prune - pnpm cache delete - pnpm install Also stay in 3.1.0 for vue-tsc in order to avoid the warnings of template refs, see https://github.com/vuejs/language-tools/issues/5815 * chore: format code --------- Co-authored-by: Dsaquel <291874700n@gmail.com> Co-authored-by: qiang <qw13131wang@gmail.com> Co-authored-by: warmthsea <2586244885@qq.com> Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com> Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com> Co-authored-by: btea <2356281422@qq.com>
123 lines
4.3 KiB
JSON
123 lines
4.3 KiB
JSON
{
|
|
"private": true,
|
|
"packageManager": "pnpm@10.18.2",
|
|
"workspaces": [
|
|
"packages/*",
|
|
"play",
|
|
"docs"
|
|
],
|
|
"scripts": {
|
|
"cz": "czg",
|
|
"test": "vitest",
|
|
"test:coverage": "vitest --coverage",
|
|
"test:ssr": "vitest --config ./ssr-testing/vitest.config.ts",
|
|
"prepare:e2e": "if [ ! -d \"docs/.vitepress/dist\" ]; then pnpm run docs:build; fi;",
|
|
"dev": "pnpm -C play dev",
|
|
"gen": "bash ./scripts/gc.sh",
|
|
"gen:version": "tsx scripts/gen-version.ts",
|
|
"diff:table": "tsx scripts/build-table.ts",
|
|
"update:version": "tsx scripts/update-version.ts",
|
|
"locale:sync": "tsx scripts/sync-locale.ts && pnpm run locale:lint",
|
|
"locale:lint": "eslint --ext .ts --max-warnings 0 --cache --fix packages/locale/lang",
|
|
"clean": "pnpm run clean:dist && pnpm run -r --parallel clean",
|
|
"clean:dist": "rimraf dist",
|
|
"build": "pnpm run -C internal/build start",
|
|
"build:theme": "pnpm run -C packages/theme-chalk build",
|
|
"format": "prettier --write --experimental-cli .",
|
|
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.md,.json --max-warnings 0 --cache --concurrency=auto",
|
|
"lint:fix": "pnpm run lint --fix",
|
|
"lint:commit": "commitlint",
|
|
"typecheck": "pnpm run \"/^typecheck:/\"",
|
|
"typecheck:web": "vue-tsc -p tsconfig.web.json --composite false --noEmit",
|
|
"typecheck:play": "vue-tsc -p tsconfig.play.json --composite false --noEmit",
|
|
"typecheck:node": "tsc -p tsconfig.node.json --noEmit",
|
|
"typecheck:vite-config": "vue-tsc -p tsconfig.vite-config.json --composite false --noEmit",
|
|
"typecheck:vitest": "vue-tsc -p tsconfig.vitest.json --composite false --noEmit",
|
|
"docs:dev": "pnpm run -C docs dev",
|
|
"docs:build": "pnpm run -C docs build",
|
|
"docs:serve": "pnpm run -C docs serve",
|
|
"docs:gen-locale": "pnpm run -C docs gen-locale",
|
|
"docs:crowdin-credentials": "pnpm run -C docs crowdin-credentials",
|
|
"stub": "pnpm run -r --parallel stub",
|
|
"prepare": "husky",
|
|
"postinstall": "pnpm stub && pnpm gen:version & pnpm run -C internal/metadata dev &"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/components": "workspace:*",
|
|
"@element-plus/constants": "workspace:*",
|
|
"@element-plus/directives": "workspace:*",
|
|
"@element-plus/hooks": "workspace:*",
|
|
"@element-plus/icons-vue": "^2.3.2",
|
|
"@element-plus/locale": "workspace:*",
|
|
"@element-plus/test-utils": "workspace:*",
|
|
"@element-plus/theme-chalk": "workspace:*",
|
|
"@element-plus/utils": "workspace:*",
|
|
"@floating-ui/dom": "^1.0.1",
|
|
"@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7",
|
|
"@types/lodash": "^4.17.20",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@vueuse/core": "catalog:",
|
|
"async-validator": "^4.2.5",
|
|
"dayjs": "^1.11.19",
|
|
"lodash": "^4.17.21",
|
|
"lodash-es": "^4.17.21",
|
|
"lodash-unified": "^1.0.3",
|
|
"memoize-one": "^6.0.0",
|
|
"normalize-wheel-es": "^1.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^20.2.0",
|
|
"@commitlint/config-conventional": "^20.2.0",
|
|
"@element-plus/build": "workspace:^0.0.1",
|
|
"@element-plus/build-utils": "workspace:^0.0.1",
|
|
"@element-plus/eslint-config": "workspace:*",
|
|
"@pnpm/find-workspace-packages": "^4.0.16",
|
|
"@pnpm/logger": "^4.0.0",
|
|
"@pnpm/types": "^8.4.0",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/gulp": "^4.0.9",
|
|
"@types/jsdom": "^16.2.14",
|
|
"@types/node": "^22.9.0",
|
|
"@vitest/coverage-v8": "^2.0.5",
|
|
"@vitest/ui": "^2.0.5",
|
|
"@vue/server-renderer": "catalog:",
|
|
"c8": "^7.11.3",
|
|
"chalk": "^5.0.1",
|
|
"consola": "^2.15.3",
|
|
"cz-git": "^1.11.1",
|
|
"czg": "^1.11.1",
|
|
"eslint": "^9.37.0",
|
|
"expect-type": "^0.13.0",
|
|
"happy-dom": "^17.4.4",
|
|
"husky": "^9.0.11",
|
|
"jsdom": "16.4.0",
|
|
"lint-staged": "^15.5.1",
|
|
"prettier": "^3.6.2",
|
|
"puppeteer": "^24.26.1",
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
"rimraf": "^4.4.1",
|
|
"sass": "^1.79.3",
|
|
"tinyglobby": "^0.2.15",
|
|
"tsx": "^4.19.3",
|
|
"typescript": "~5.5.4",
|
|
"vitest": "^2.0.5",
|
|
"vue": "catalog:",
|
|
"vue-router": "^4.0.16",
|
|
"vue-tsc": "=3.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 20"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-git"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{vue,js,ts,jsx,tsx,md,json,scss}": [
|
|
"eslint --fix --concurrency=auto",
|
|
"prettier --write --experimental-cli"
|
|
]
|
|
}
|
|
}
|