Skip to content

Commit

Permalink
Add :parent path modifier (#1160)
Browse files Browse the repository at this point in the history
* Add ':parent' path modifier

Add a new `:parent` modifier for path. This can be specified any numbers
of times, with each addition stripping one level from the path.

This is useful in the context of a monorepo to help normalise paths
between sibling packages.

Resolves: #825

Signed-off-by: JP-Ellis <[email protected]>

* update

---------

Signed-off-by: JP-Ellis <[email protected]>
Co-authored-by: Ofek Lev <[email protected]> 2aa3018
  • Loading branch information
ofek committed Dec 18, 2023
1 parent 28a4212 commit 8fd4a79
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
Loading

0 comments on commit 8fd4a79

Please sign in to comment.