@ruan-cat/utils 4.18.0 → 4.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruan-cat/utils",
3
- "version": "4.18.0",
3
+ "version": "4.19.0",
4
4
  "description": "阮喵喵工具集合。默认提供js文件,也直接提供ts文件。",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
package/src/index.ts CHANGED
@@ -2,7 +2,6 @@ export * from "./conditions";
2
2
  export * from "./print";
3
3
  export * from "./define-promise-tasks";
4
4
  export * from "./simple-promise-tools";
5
- export * from "./monorepo";
6
5
 
7
6
  export * from "./types/pnpm-workspace.yaml.shim";
8
7
  export * from "./types/Prettify";
@@ -3,7 +3,7 @@ import * as fs from "node:fs";
3
3
  import { globSync } from "tinyglobby";
4
4
  import { load } from "js-yaml";
5
5
  import { isUndefined } from "lodash-es";
6
- import type { PnpmWorkspace } from "./types/pnpm-workspace.yaml.shim";
6
+ import type { PnpmWorkspace } from "../types/pnpm-workspace.yaml.shim";
7
7
 
8
8
  /**
9
9
  * 路径转换工具
@@ -2,3 +2,6 @@ export * from "./tools";
2
2
 
3
3
  // 将绝大多数的工具函数 以cjs的方式导出
4
4
  export * from "../index";
5
+
6
+ // 导出 monorepo 相关工具函数(仅限 Node.js 环境)
7
+ export * from "../monorepo";
@@ -2,3 +2,6 @@ export * from "./ruan-cat-pkg-info";
2
2
 
3
3
  export * from "./scripts/clean";
4
4
  export * from "./yaml-to-md";
5
+
6
+ // 导出 monorepo 相关工具函数(仅限 Node.js 环境)
7
+ export * from "../monorepo";