@rkmodules/rules 0.0.129 → 0.0.131

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.
@@ -63,6 +63,7 @@ export declare function treeStats(tree: Tree<any>): {
63
63
  export declare function normalizePaths<T>(tree: Tree<T>): Tree<T>;
64
64
  export declare function forEachBranch<T>(tree: Tree<T>, fn: (branch: T[], path: string, index: number) => void): void;
65
65
  export declare function forEachItem<T>(tree: Tree<T>, fn: (item: T, path: string, pathIndex: number, index: number) => void): void;
66
+ export declare function ensureBranch<T>(tree: Tree<T>, path: string): void;
66
67
  export declare function pushItem<T>(tree: Tree<T>, path: string, item: T): void;
67
68
  /**
68
69
  * maps a tree, the tree branches are flatmapped, so if an array is returned for each item in the list, a flat list is returned
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rkmodules/rules",
3
- "version": "0.0.129",
3
+ "version": "0.0.131",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",