diff --git a/.changeset/silly-bananas-compete.md b/.changeset/silly-bananas-compete.md new file mode 100644 index 00000000..60b09d52 --- /dev/null +++ b/.changeset/silly-bananas-compete.md @@ -0,0 +1,5 @@ +--- +'@jpmorganchase/mosaic-plugins': patch +--- + +Fixed tags being broken when using fast-glob@^3.3.0 diff --git a/packages/plugins/src/$TagPlugin.ts b/packages/plugins/src/$TagPlugin.ts index 735b783d..26f48ded 100644 --- a/packages/plugins/src/$TagPlugin.ts +++ b/packages/plugins/src/$TagPlugin.ts @@ -79,7 +79,7 @@ const $TagPlugin: PluginType = { config.setGlobalRef( page.fullPath, ref.$$path, - `${path.posix.join('/.tags', tag, '**')}#${fragment}` + `${path.posix.join('/.tags', tag, '**', '*')}#${fragment}` ); }); config.setData({ subscribedTags: Array.from(tags) }); diff --git a/yarn.lock b/yarn.lock index 32cf1490..20a2f186 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"