@heroiclands/package-build 23.2.0 → 23.2.1
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 +6 -0
- package/labels.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/labels.mjs
CHANGED
|
@@ -70,7 +70,7 @@ function positionOfLabel(text, name) {
|
|
|
70
70
|
function positionOfDocRow(text, name) {
|
|
71
71
|
const lines = text.split("\n");
|
|
72
72
|
for (let i = 0; i < lines.length; i += 1) {
|
|
73
|
-
const m = lines[i].match(/^\|\s*`([a-z][a-
|
|
73
|
+
const m = lines[i].match(/^\|\s*`([a-z][a-z0-9-]*)`\s*\|/);
|
|
74
74
|
if (m && m[1] === name) return { line: i + 1, column: lines[i].indexOf(name) + 1 };
|
|
75
75
|
}
|
|
76
76
|
return {};
|
|
@@ -95,7 +95,7 @@ export function documentedLabels(text) {
|
|
|
95
95
|
const section = lines.slice(start, after < 0 ? lines.length : after);
|
|
96
96
|
const names = new Set();
|
|
97
97
|
for (const line of section) {
|
|
98
|
-
const m = line.match(/^\|\s*`([a-z][a-
|
|
98
|
+
const m = line.match(/^\|\s*`([a-z][a-z0-9-]*)`\s*\|/);
|
|
99
99
|
if (m) names.add(m[1]);
|
|
100
100
|
}
|
|
101
101
|
return { names, found: true };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heroiclands/package-build",
|
|
3
|
-
"version": "23.2.
|
|
3
|
+
"version": "23.2.1",
|
|
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",
|