diff --git a/CHANGELOG.md b/CHANGELOG.md index ce28f0a..73525c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [1.2.1](https://gitee.com/codice_fabbrica/r-util-js/compare/v1.2.0...v1.2.1) (2026-03-26) + ## [1.2.0](https://gitee.com/codice_fabbrica/r-util-js/compare/v1.1.0...v1.2.0) (2026-03-18) diff --git a/package.json b/package.json index 0245cfe..87e8f6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@r-utils/root", - "version": "1.2.0", + "version": "1.2.1", "private": true, "description": "前端工具库", "keywords": [ @@ -27,18 +27,20 @@ }, "license": "ISC", "engines": { - "node": ">=18.12.0" + "node": ">=18.12.0", + "pnpm": ">=10.0.0" }, - "packageManager": "pnpm@8.15.6", + "packageManager": "pnpm@10.32.1", "type": "module", "workspaces": [ "packages/*" ], "scripts": { + "preinstall": "npx only-allow pnpm", "build": "pnpm -r run build", "prepare": "husky install", - "lint": "eslint --ext .js,ts --fix src", - "format": "prettier --write src", + "lint": "eslint --fix packages/*/src", + "format": "prettier --write packages/*/src", "release": "standard-version", "commit": "cz", "lint-staged": "lint-staged", @@ -59,6 +61,8 @@ "eslint": "^10.0.3", "eslint-config-prettier": "^10.1.8", "eslint-define-config": "^1.18.0", + "eslint-import-resolver-typescript": "^4.4.4", + "eslint-plugin-import-x": "^4.16.2", "eslint-plugin-prettier": "^5.5.5", "globals": "^17.4.0", "husky": "^9.1.7", diff --git a/packages/common/package.json b/packages/common/package.json index 2b53642..17fc278 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@r-utils/common", - "version": "1.2.0", + "version": "1.2.1", "private": false, "description": "js通用工具库", "type": "module", @@ -23,6 +23,24 @@ "publishConfig": { "registry": "http://npm.nps.yunvip123.cn" }, + "author": { + "name": "CodiceFabbrica", + "email": "randy1924@163.com", + "url": "https://gitee.com/codice_fabbrica" + }, + "homepage": "https://gitee.com/codice_fabbrica/r-util-js", + "repository": { + "url": "https://gitee.com/codice_fabbrica/r-util-js.git", + "type": "git" + }, + "bugs": { + "url": "https://gitee.com/codice_fabbrica/r-util-js/issues" + }, + "engines": { + "node": ">=18.12.0", + "pnpm": ">=10.0.0" + }, + "packageManager": "pnpm@10.32.1", "scripts": { "build": "vite build", "watch": "vite build --watch", @@ -35,11 +53,14 @@ }, "dependencies": { "dayjs": "^1.11.13", + "js-easing-functions": "^1.0.3", "lodash-es": "^4.17.21", "text-encoding": "^0.7.0" }, "devDependencies": { "@types/lodash": "^4.17.16", - "@types/lodash-es": "^4.17.12" + "@types/lodash-es": "^4.17.12", + "vite": "catalog:", + "vite-plugin-dts": "catalog:" } } diff --git a/packages/uni-app/package.json b/packages/uni-app/package.json index adb9eef..31c2ea6 100644 --- a/packages/uni-app/package.json +++ b/packages/uni-app/package.json @@ -1,6 +1,6 @@ { "name": "@r-utils/uni-app", - "version": "1.2.0", + "version": "1.2.1", "private": false, "description": "uni-app工具库", "type": "module", @@ -22,6 +22,24 @@ "publishConfig": { "registry": "http://npm.nps.yunvip123.cn" }, + "author": { + "name": "CodiceFabbrica", + "email": "randy1924@163.com", + "url": "https://gitee.com/codice_fabbrica" + }, + "homepage": "https://gitee.com/codice_fabbrica/r-util-js", + "repository": { + "url": "https://gitee.com/codice_fabbrica/r-util-js.git", + "type": "git" + }, + "bugs": { + "url": "https://gitee.com/codice_fabbrica/r-util-js/issues" + }, + "engines": { + "node": ">=18.12.0", + "pnpm": ">=10.0.0" + }, + "packageManager": "pnpm@10.32.1", "scripts": { "build": "vite build", "watch": "vite build --watch", @@ -32,13 +50,28 @@ "test": "jest" }, "dependencies": { - "@r-utils/common": "workspace:^" + "@r-utils/common": "workspace:^", + "chroma-js": "^3.2.0", + "lodash-es": "^4.17.21", + "qs": "^6.15.0" }, "peerDependencies": { + "@dcloudio/uni-app": ">=3.0.0", "vue": "^3.3.0" }, + "peerDependenciesMeta": { + "@dcloudio/uni-app": { + "optional": true + } + }, "devDependencies": { "@dcloudio/types": "^3.0.7", + "@dcloudio/uni-app": "3.0.0-4070520250711001", + "@types/chroma-js": "^3.1.2", + "@types/lodash-es": "^4.17.12", + "@types/qs": "^6.15.0", + "vite": "catalog:", + "vite-plugin-dts": "catalog:", "vue": "^3.3.0" } } diff --git a/packages/vue2/package.json b/packages/vue2/package.json index 2c7e8f0..5ab20a5 100644 --- a/packages/vue2/package.json +++ b/packages/vue2/package.json @@ -1,6 +1,6 @@ { "name": "@r-utils/vue2", - "version": "1.2.0", + "version": "1.2.1", "private": false, "description": "Vue2工具库", "type": "module", @@ -22,6 +22,24 @@ "publishConfig": { "registry": "http://npm.nps.yunvip123.cn" }, + "author": { + "name": "CodiceFabbrica", + "email": "randy1924@163.com", + "url": "https://gitee.com/codice_fabbrica" + }, + "homepage": "https://gitee.com/codice_fabbrica/r-util-js", + "repository": { + "url": "https://gitee.com/codice_fabbrica/r-util-js.git", + "type": "git" + }, + "bugs": { + "url": "https://gitee.com/codice_fabbrica/r-util-js/issues" + }, + "engines": { + "node": ">=18.12.0", + "pnpm": ">=10.0.0" + }, + "packageManager": "pnpm@10.32.1", "scripts": { "build": "vite build", "watch": "vite build --watch", @@ -35,6 +53,8 @@ "vue": "^2.7.0" }, "devDependencies": { + "vite": "catalog:", + "vite-plugin-dts": "catalog:", "vue": "^2.7.0" } } diff --git a/packages/vue3/package.json b/packages/vue3/package.json index a61e40f..0ca3dea 100644 --- a/packages/vue3/package.json +++ b/packages/vue3/package.json @@ -1,6 +1,6 @@ { "name": "@r-utils/vue3", - "version": "1.2.0", + "version": "1.2.1", "private": false, "description": "Vue3 工具", "type": "module", @@ -22,6 +22,23 @@ "publishConfig": { "registry": "http://npm.nps.yunvip123.cn" }, + "author": { + "name": "CodiceFabbrica", + "email": "randy1924@163.com", + "url": "https://gitee.com/codice_fabbrica" + }, + "homepage": "https://gitee.com/codice_fabbrica/r-util-js", + "repository": { + "url": "https://gitee.com/codice_fabbrica/r-util-js.git", + "type": "git" + }, + "bugs": { + "url": "https://gitee.com/codice_fabbrica/r-util-js/issues" + }, + "engines": { + "node": ">=18.12.0", + "pnpm": ">=10.0.0" + }, "scripts": { "build": "vite build", "watch": "vite build --watch", @@ -36,7 +53,12 @@ "vue": "^3.3.0" }, "devDependencies": { - "vue": "^3.3.0" + "vite": "catalog:", + "vite-plugin-dts": "catalog:", + "vue": "^3.5.13" }, - "packageManager": "pnpm@8.15.6" + "packageManager": "pnpm@10.32.1", + "dependencies": { + "@r-utils/common": "workspace:^" + } }