@heroiclands/package-build 23.12.1 → 23.12.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @heroiclands/package-build
2
2
 
3
+ ## 23.12.2
4
+
5
+ ### Patch Changes
6
+
7
+ A wikilink whose label also names a different note no longer asks for its full name first.
8
+
3
9
  ## 23.12.1
4
10
 
5
11
  ### Patch Changes
@@ -328,7 +328,7 @@ export function createFirstUseChecker({
328
328
  `“${entry.full}” is linked or marked more than once`,
329
329
  );
330
330
  // A resolved wikilink identifies its note, so its label may be any natural form.
331
- const introduces = entry.fullUse || entry.key === event.preferred?.key;
331
+ const introduces = entry.fullUse || event.preferred !== undefined;
332
332
  if (!introduces && !fullUsed.has(entry.key))
333
333
  add(
334
334
  event.start,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heroiclands/package-build",
3
- "version": "23.12.1",
3
+ "version": "23.12.2",
4
4
  "description": "Shared toolchain for building and shipping a HeroicLands Foundry VTT package — content compilation, manifest, localization, staging, bundle, release and deployment.",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "type": "module",