-
Notifications
You must be signed in to change notification settings - Fork 1
@142vip.utils.Variable.VipMonorepo
mmdapl edited this page Oct 17, 2025
·
1 revision
API 参考 / @142vip/utils / VipMonorepo
constVipMonorepo:object
Defined in: packages/utils/src/core/monorepo.ts:79
getPackageJSONPathList: () =>
string[]
获取monorepo下所有包的package.json,返回所有包的路径列表
string[]
getPkgJSONPath: (
pkgName,filter?) =>undefined|PackageJSONWithPath
获取某个包的PkgJSON信息
string
string | string[]
undefined | PackageJSONWithPath
getPkgNames: (
filter?) =>string[]
获取所有包名
- 仅仅支持pnpm
参考命令:
pnpm ls --json --only-projects ${filter} --depth -1
string | string[]
string[]
getReleasePkgJSON: (
filter?) =>PackageJSONWithPath[]
获取发布的包名 参考:
- pnpm 命令: https://pnpm.io/cli/list
- filter参数: https://pnpm.io/filtering
string | string[]
- @142vip/axios
- @142vip/changelog
- @142vip/commit-linter
- @142vip/copyright
- @142vip/data-source
- @142vip/eslint-config
- @142vip/fairy-cli
- @142vip/grpc
- @142vip/nest
- @142vip/nest-redis
- @142vip/nest-typeorm
- @142vip/oauth2.0
- @142vip/open-source
- @142vip/redis
- @142vip/release-version
- @142vip/typeorm
- @142vip/utils