Skip to content

Commit

Permalink
Fix tag plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding authored and DavieReid committed Mar 14, 2024
1 parent c21f28e commit 30a1914
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .changeset/silly-bananas-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@jpmorganchase/mosaic-plugins': patch
---

Fixed tags being broken when using fast-glob@^3.3.0
2 changes: 1 addition & 1 deletion packages/plugins/src/$TagPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const $TagPlugin: PluginType<TagPluginPage, unknown, TagPluginConfigData> = {
config.setGlobalRef(
page.fullPath,
ref.$$path,
`${path.posix.join('/.tags', tag, '**')}#${fragment}`
`${path.posix.join('/.tags', tag, '**', '*')}#${fragment}`
);
});
config.setData({ subscribedTags: Array.from(tags) });
Expand Down
19 changes: 4 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6725,21 +6725,10 @@ fast-diff@^1.1.2:
resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03"
integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==

fast-glob@*, fast-glob@^3.2.9:
version "3.2.11"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9"
integrity sha1-oRcq2VzrihbiDKpcXlZIDlEpwdk=
dependencies:
"@nodelib/fs.stat" "^2.0.2"
"@nodelib/fs.walk" "^1.2.3"
glob-parent "^5.1.2"
merge2 "^1.3.0"
micromatch "^4.0.4"

fast-glob@^3.2.11, fast-glob@^3.2.12, fast-glob@^3.2.7:
version "3.2.12"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80"
integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==
fast-glob@*, fast-glob@^3.2.11, fast-glob@^3.2.12, fast-glob@^3.2.7, fast-glob@^3.2.9, fast-glob@^3.3.2:
version "3.3.2"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129"
integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==
dependencies:
"@nodelib/fs.stat" "^2.0.2"
"@nodelib/fs.walk" "^1.2.3"
Expand Down

0 comments on commit 30a1914

Please sign in to comment.