waymark-docs 0.3.0 → 0.3.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 +7 -0
- package/dist/documents/scan.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to Waymark are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.3.1](https://github.com/ysfaran/waymark/compare/v0.3.0...v0.3.1) (2026-09-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **cli:** support root document inventory ([#14](https://github.com/ysfaran/waymark/issues/14)) ([6c61727](https://github.com/ysfaran/waymark/commit/6c617278dc20bf938f3ef07c0975893483de9825))
|
|
11
|
+
|
|
5
12
|
## [0.3.0](https://github.com/ysfaran/waymark/compare/v0.2.2...v0.3.0) (2026-09-25)
|
|
6
13
|
|
|
7
14
|
|
package/dist/documents/scan.js
CHANGED
|
@@ -119,7 +119,9 @@ function createCandidatePatterns(scope) {
|
|
|
119
119
|
...allowedConfigFileNames.map((fileName) => `**/${fileName}`),
|
|
120
120
|
];
|
|
121
121
|
}
|
|
122
|
-
const directoryPattern =
|
|
122
|
+
const directoryPattern = scope.relativeDirectoryPath === ""
|
|
123
|
+
? ""
|
|
124
|
+
: convertPathToPattern(scope.relativeDirectoryPath);
|
|
123
125
|
const directoryPrefix = directoryPattern === "" ? "" : `${directoryPattern}/`;
|
|
124
126
|
const candidatePrefix = scope.recursive
|
|
125
127
|
? `${directoryPrefix}**/`
|