feat(global-link): 支持修改编译后的链接指向
All checks were successful
/ release (push) Successful in 36s

This commit is contained in:
zhaoyingbo 2024-08-21 02:05:44 +00:00
parent fbc187517a
commit 4f787c01c0
8 changed files with 126 additions and 126 deletions

170
package-lock.json generated
View File

@ -12,26 +12,26 @@
"packages/*"
],
"dependencies": {
"lodash": "^4.17.21",
"winston": "^3.14.2",
"winston-daily-rotate-file": "^5.0.0"
"lodash": "4.17.21",
"winston": "3.14.2",
"winston-daily-rotate-file": "5.0.0"
},
"devDependencies": {
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@eslint/js": "^9.9.0",
"@lerna/conventional-commits": "^6.4.1",
"@types/lodash": "^4.17.7",
"@types/node": "^22.4.0",
"eslint": "^9.9.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^15.9.0",
"husky": "^9.1.4",
"lerna": "^8.1.8",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"typescript-eslint": "^8.1.0"
"@commitlint/cli": "19.4.0",
"@commitlint/config-conventional": "19.2.2",
"@eslint/js": "9.9.0",
"@lerna/conventional-commits": "6.4.1",
"@types/lodash": "4.17.7",
"@types/node": "22.4.0",
"eslint": "9.9.0",
"eslint-plugin-simple-import-sort": "12.1.1",
"globals": "15.9.0",
"husky": "9.1.4",
"lerna": "8.1.8",
"lint-staged": "15.2.9",
"prettier": "3.3.3",
"typescript": "5.5.4",
"typescript-eslint": "8.1.0"
}
},
"node_modules/@babel/code-frame": {
@ -1859,23 +1859,23 @@
}
},
"node_modules/@nrwl/devkit": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-19.6.0.tgz",
"integrity": "sha512-WKvuShei1dmjUhbY1J62vkNhvIkcFIc4MPo0YnYzuBbxvNKWB6r3ICRc1BZuFYL3L7pPIEHUcdExyTdIZRDVqQ==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-19.6.1.tgz",
"integrity": "sha512-aoS5RwtUqd8gUWgubOtQ4kzqO8UVjYxtecutvSnDN6gKyG2ylZcDR2OnWL+AB7HbVgRjm/6/QALdcaev9Ljd8w==",
"dev": true,
"license": "MIT",
"dependencies": {
"@nx/devkit": "19.6.0"
"@nx/devkit": "19.6.1"
}
},
"node_modules/@nrwl/tao": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-19.6.0.tgz",
"integrity": "sha512-DlFtKjPtOv401XnRjnIxMaaKUcdyGulCINmQGlrnqJuUA7ABr2uFSuOqOFJS6uGA1QFa+vKU1GhxhefUiTHOaw==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-19.6.1.tgz",
"integrity": "sha512-nl/NcBRkHr5r0drCq9ROPcKx/Q7SioPvNMl7edo/PdjdKcmJ3gXqvgTxPjwbYH2/ScNX2yjm353qrNyffSs6Rw==",
"dev": true,
"license": "MIT",
"dependencies": {
"nx": "19.6.0",
"nx": "19.6.1",
"tslib": "^2.3.0"
},
"bin": {
@ -1883,13 +1883,13 @@
}
},
"node_modules/@nx/devkit": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-19.6.0.tgz",
"integrity": "sha512-sFDnP+KkR6m5VRi3ThS4Aymfo7squ48Qhkvpwkj3Y0W4q577+QrXlAS4tR9GZM0FAgQeF63kdZ1cLy39ZlGaWA==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-19.6.1.tgz",
"integrity": "sha512-FGfPM9R7QdEGllNr7Jlx81QbiufNNRHehrJ/4aqftzHWT5ptYmH45bPnd/Wu0qDK4rg1c4PMrjEOLpyCAFXg1Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"@nrwl/devkit": "19.6.0",
"@nrwl/devkit": "19.6.1",
"ejs": "^3.1.7",
"enquirer": "~2.3.6",
"ignore": "^5.0.4",
@ -1930,9 +1930,9 @@
}
},
"node_modules/@nx/nx-darwin-arm64": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-19.6.0.tgz",
"integrity": "sha512-8dudAe2HBRwp2P5AxhjinoVqXH5hueZ8bpjNJ2DquBr4dm/ZE62dSoSqURDg/ZnY/XmivByHiyklkDLaXxdkig==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-19.6.1.tgz",
"integrity": "sha512-xxAdyIUckvsIID0BnYCHM86s35n0tDsBYuoqpOFG+22PEk0bzoSVOyxeJQ5UKDCvXe5wa2MbcgyhbHKhj7Osnw==",
"cpu": [
"arm64"
],
@ -1947,9 +1947,9 @@
}
},
"node_modules/@nx/nx-darwin-x64": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-19.6.0.tgz",
"integrity": "sha512-dGvh0sTFTSN387yEAEGUQIVPAX/I2OwiukcZOns704aKr9yzNpwWWgnhlutvkCFj9A+I3lUJLmt8eHehLDhprg==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-19.6.1.tgz",
"integrity": "sha512-ISwb09KKtAydrAbyxwOjce8pdVzOSuzC068Uo8TcHp2Xao2b+N9zmkQquLzC+G4dgwxDxxVYoZcuZ6urRFV7Cg==",
"cpu": [
"x64"
],
@ -1964,9 +1964,9 @@
}
},
"node_modules/@nx/nx-freebsd-x64": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-19.6.0.tgz",
"integrity": "sha512-sGISTXQz7rH+C2xiGn2MtSI+1qAw/JGxFfqDwhZYTUzP9Yx+0tnUwDCbUt0PJ7d1nnxVY2X6osPcoDsgcShAvg==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-19.6.1.tgz",
"integrity": "sha512-IzR+K0tW8A6kl95V6k8Pp8tknjiDGOUB+E2p8YN7UlYPP7gaBK+rojERF4V7jD5pEvSxrKMwuJoD+WH/b52TNA==",
"cpu": [
"x64"
],
@ -1981,9 +1981,9 @@
}
},
"node_modules/@nx/nx-linux-arm-gnueabihf": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-19.6.0.tgz",
"integrity": "sha512-rhdpenJOuxQd5gEh5klIsuR2Dsavz2HOYQhxdsP5Yi/L8NSu6wFJO/D+e1YOlQ620NeKIgb5C5eY9BPrcAyLVg==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-19.6.1.tgz",
"integrity": "sha512-8mHceXwpBIp1gF+hSKGg7XRYpcB9QN8YROSn4dzvDoUMEusOE27jzXKKS9dRkjdULYENKDkv0NbuhcoxoWx+KA==",
"cpu": [
"arm"
],
@ -1998,9 +1998,9 @@
}
},
"node_modules/@nx/nx-linux-arm64-gnu": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-19.6.0.tgz",
"integrity": "sha512-cNQ2Gg+kPOGMAghFxox65sPWq+7qRxmLQVdmZIbcUvnng8zI8yaD2VCNNKfBAooAVNlFhTNAlK9JBhi00KPz+A==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-19.6.1.tgz",
"integrity": "sha512-eqxWqhUrFEz3Rnoz9RKhMlrCY6AF0AVGgTGto5TdB16kIgTA53i18bf9jaq2MSBZQHE1kySVUgPfxQQxPzWKaA==",
"cpu": [
"arm64"
],
@ -2015,9 +2015,9 @@
}
},
"node_modules/@nx/nx-linux-arm64-musl": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-19.6.0.tgz",
"integrity": "sha512-8vo/NYua0AlIapLEQxI5HUKooQrWoXOKOV0vDb3IDsOF3PWna8jjTrYim2+HbXiPIynh+R+dAaS+aG6kK07uOA==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-19.6.1.tgz",
"integrity": "sha512-3lfazErzsJgO8G2dEcuGmtJoi9fQ3CPvLA+RiE7CKBQ4a/5Zb1o2rqlZ1YTfnfiUcOh4knt7gWcXm16eSKbLoQ==",
"cpu": [
"arm64"
],
@ -2032,9 +2032,9 @@
}
},
"node_modules/@nx/nx-linux-x64-gnu": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-19.6.0.tgz",
"integrity": "sha512-8PPYt63WjvvwY45EE71HczMkhuUSTWeM+RnwaN/Mr6/PiAuIAhNlqeROyAq0v6+ixNumNPuTt8ao1cmSt3PQ5A==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-19.6.1.tgz",
"integrity": "sha512-Rt4NkuJZpRyVunRoCC5shaUqPk6wrMH3x55WEb0HBzlKjkItgrFpPInPS4hp9hFsJ8vX2AkBX2qrTWRaLMbOyQ==",
"cpu": [
"x64"
],
@ -2049,9 +2049,9 @@
}
},
"node_modules/@nx/nx-linux-x64-musl": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-19.6.0.tgz",
"integrity": "sha512-0Scr/6Ipuj9RLpCZF37xriNzmL84XAWQcuH1a+oDGGLwF3xWBuxCDwyANNOzD7B+KSqwqUjq67Pg4L5jJMD8+w==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-19.6.1.tgz",
"integrity": "sha512-P0RnxCfcgb6t4l+WWVNlTDzqpcM/Du77EfgvNc3Z1mRLQMP4E5TkLt8J/aTTjh2GwtnP95oxQSOYBzg+sJwNPQ==",
"cpu": [
"x64"
],
@ -2066,9 +2066,9 @@
}
},
"node_modules/@nx/nx-win32-arm64-msvc": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-19.6.0.tgz",
"integrity": "sha512-dDXJfEbJs9g17NzZlfKBF67YxhlBMXkIMYBDqhY2HhX6aE8nWhG9l2D3PN6izySXzY29jfwsJaU/tmakDPKXDg==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-19.6.1.tgz",
"integrity": "sha512-CFaRqK+Sv7Gi7d+WUJqFLV0t4D2ImnO7BoeZWnT6oEfIl94hikCtbu4693Fsu7eg37JMa+4xwdAUvOOq1rFhJg==",
"cpu": [
"arm64"
],
@ -2083,9 +2083,9 @@
}
},
"node_modules/@nx/nx-win32-x64-msvc": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-19.6.0.tgz",
"integrity": "sha512-sU2LD8qSO+4pZ7glrnuDabfpmOSog3VIBf9L+bLAHNFaVa8Ut3FE3O2P7FjrZ1eA3veEJcGfKFsCqPGiKFp57w==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-19.6.1.tgz",
"integrity": "sha512-l2vAK0/2c9oEAqI0KdeJkkkZlr72LeWV5zds/FIuFHBRyweJanplRelhD7t199BnGr2FfulOpFrc1TyYzvntkg==",
"cpu": [
"x64"
],
@ -2997,9 +2997,9 @@
}
},
"node_modules/async": {
"version": "3.2.5",
"resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz",
"integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==",
"version": "3.2.6",
"resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz",
"integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==",
"license": "MIT"
},
"node_modules/asynckit": {
@ -9181,19 +9181,19 @@
}
},
"node_modules/nx": {
"version": "19.6.0",
"resolved": "https://registry.npmjs.org/nx/-/nx-19.6.0.tgz",
"integrity": "sha512-vWpmLna/MRk772ichxPlwUmWpJu5FImBXLfii4sFj0KIFA8lG7YiKiK7jiiog0TQXE/B3m7VYvrn2/RuPpLsmg==",
"version": "19.6.1",
"resolved": "https://registry.npmjs.org/nx/-/nx-19.6.1.tgz",
"integrity": "sha512-F7NH8/lMwd2ogPjvjMDGUJMaRuEc60DEmpd8U/3R7WgFRHWuF5ily1AKQiLfQg6V5ArQUrkBJesulTAnlHR7+g==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
"@napi-rs/wasm-runtime": "0.2.4",
"@nrwl/tao": "19.6.0",
"@nrwl/tao": "19.6.1",
"@yarnpkg/lockfile": "^1.1.0",
"@yarnpkg/parsers": "3.0.0-rc.46",
"@zkochan/js-yaml": "0.0.7",
"axios": "^1.7.2",
"axios": "^1.7.4",
"chalk": "^4.1.0",
"cli-cursor": "3.1.0",
"cli-spinners": "2.6.1",
@ -9229,16 +9229,16 @@
"nx-cloud": "bin/nx-cloud.js"
},
"optionalDependencies": {
"@nx/nx-darwin-arm64": "19.6.0",
"@nx/nx-darwin-x64": "19.6.0",
"@nx/nx-freebsd-x64": "19.6.0",
"@nx/nx-linux-arm-gnueabihf": "19.6.0",
"@nx/nx-linux-arm64-gnu": "19.6.0",
"@nx/nx-linux-arm64-musl": "19.6.0",
"@nx/nx-linux-x64-gnu": "19.6.0",
"@nx/nx-linux-x64-musl": "19.6.0",
"@nx/nx-win32-arm64-msvc": "19.6.0",
"@nx/nx-win32-x64-msvc": "19.6.0"
"@nx/nx-darwin-arm64": "19.6.1",
"@nx/nx-darwin-x64": "19.6.1",
"@nx/nx-freebsd-x64": "19.6.1",
"@nx/nx-linux-arm-gnueabihf": "19.6.1",
"@nx/nx-linux-arm64-gnu": "19.6.1",
"@nx/nx-linux-arm64-musl": "19.6.1",
"@nx/nx-linux-x64-gnu": "19.6.1",
"@nx/nx-linux-x64-musl": "19.6.1",
"@nx/nx-win32-arm64-msvc": "19.6.1",
"@nx/nx-win32-x64-msvc": "19.6.1"
},
"peerDependencies": {
"@swc-node/register": "^1.8.0",
@ -11098,9 +11098,9 @@
}
},
"node_modules/spdx-license-ids": {
"version": "3.0.18",
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.18.tgz",
"integrity": "sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ==",
"version": "3.0.20",
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz",
"integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==",
"dev": true,
"license": "CC0-1.0"
},
@ -11675,9 +11675,9 @@
}
},
"node_modules/undici-types": {
"version": "6.19.6",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.6.tgz",
"integrity": "sha512-e/vggGopEfTKSvj4ihnOLTsqhrKRN3LeO6qSN/GxohhuRv8qH9bNQ4B8W7e/vFL+0XTnmHPB4/kegunZGA4Org==",
"version": "6.19.8",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"dev": true,
"license": "MIT"
},
@ -12275,7 +12275,7 @@
"version": "1.3.0",
"license": "ISC",
"dependencies": {
"@egg/logger": "^1.2.1",
"@egg/logger": "*",
"winston": "*"
}
},

View File

@ -22,25 +22,25 @@
]
},
"devDependencies": {
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@eslint/js": "^9.9.0",
"@lerna/conventional-commits": "^6.4.1",
"@types/lodash": "^4.17.7",
"@types/node": "^22.4.0",
"eslint": "^9.9.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^15.9.0",
"husky": "^9.1.4",
"lerna": "^8.1.8",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"typescript-eslint": "^8.1.0"
"@commitlint/cli": "19.4.0",
"@commitlint/config-conventional": "19.2.2",
"@eslint/js": "9.9.0",
"@lerna/conventional-commits": "6.4.1",
"@types/lodash": "4.17.7",
"@types/node": "22.4.0",
"eslint": "9.9.0",
"eslint-plugin-simple-import-sort": "12.1.1",
"globals": "15.9.0",
"husky": "9.1.4",
"lerna": "8.1.8",
"lint-staged": "15.2.9",
"prettier": "3.3.3",
"typescript": "5.5.4",
"typescript-eslint": "8.1.0"
},
"dependencies": {
"lodash": "^4.17.21",
"winston": "^3.14.2",
"winston-daily-rotate-file": "^5.0.0"
"lodash": "4.17.21",
"winston": "3.14.2",
"winston-daily-rotate-file": "5.0.0"
}
}
}

View File

@ -3,11 +3,11 @@
"version": "1.1.0",
"description": "Hooks for Egg projects",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "src/index.ts",
"types": "src/index.ts",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build && sed -i 's/\"main\": \"src\\/index.ts\"/\"main\": \"dist\\/index.js\"/' package.json && sed -i 's/\"types\": \"src\\/index.ts\"/\"types\": \"dist\\/index.d.ts\"/' package.json"
},
"keywords": [
"egg",
@ -21,4 +21,4 @@
"dependencies": {
"lodash": "*"
}
}
}

View File

@ -3,11 +3,11 @@
"version": "1.1.0",
"description": "Lark Msg Tools for Egg projects",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "src/index.ts",
"types": "src/index.ts",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build && sed -i 's/\"main\": \"src\\/index.ts\"/\"main\": \"dist\\/index.js\"/' package.json && sed -i 's/\"types\": \"src\\/index.ts\"/\"types\": \"dist\\/index.d.ts\"/' package.json"
},
"keywords": [
"egg",
@ -17,4 +17,4 @@
],
"author": "RainSun <zhaoyingbo@live.cn>",
"license": "ISC"
}
}

View File

@ -3,11 +3,11 @@
"version": "1.2.1",
"description": "Logger for Egg projects",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "src/index.ts",
"types": "src/index.ts",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build && sed -i 's/\"main\": \"src\\/index.ts\"/\"main\": \"dist\\/index.js\"/' package.json && sed -i 's/\"types\": \"src\\/index.ts\"/\"types\": \"dist\\/index.d.ts\"/' package.json"
},
"keywords": [
"egg",
@ -20,4 +20,4 @@
"winston": "*",
"winston-daily-rotate-file": "*"
}
}
}

View File

@ -3,11 +3,11 @@
"version": "1.3.0",
"description": "Net Tools for Egg projects",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "src/index.ts",
"types": "src/index.ts",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build && sed -i 's/\"main\": \"src\\/index.ts\"/\"main\": \"dist\\/index.js\"/' package.json && sed -i 's/\"types\": \"src\\/index.ts\"/\"types\": \"dist\\/index.d.ts\"/' package.json"
},
"keywords": [
"egg",
@ -17,7 +17,7 @@
"author": "RainSun <zhaoyingbo@live.cn>",
"license": "ISC",
"dependencies": {
"@egg/logger": "^1.2.1",
"@egg/logger": "*",
"winston": "*"
}
}
}

View File

@ -419,7 +419,7 @@ class NetTool extends NetToolBase {
/**
* 200 OK的健康检查响应对象
*
*
* @returns 200 OK的健康检查响应对象
*/
healthCheck() {

View File

@ -3,11 +3,11 @@
"version": "1.2.1",
"description": "Path Tools for Egg projects",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "src/index.ts",
"types": "src/index.ts",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build && sed -i 's/\"main\": \"src\\/index.ts\"/\"main\": \"dist\\/index.js\"/' package.json && sed -i 's/\"types\": \"src\\/index.ts\"/\"types\": \"dist\\/index.d.ts\"/' package.json"
},
"keywords": [
"egg",
@ -16,4 +16,4 @@
],
"author": "RainSun <zhaoyingbo@live.cn>",
"license": "ISC"
}
}