@se-studio/site-check 2.8.0 → 2.8.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 +14 -0
- package/package.json +3 -3
- package/revalidation-matrix-test.mjs +11 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @se-studio/core-data-types@1.6.0
|
|
9
|
+
- @se-studio/contentful-rest-api@1.14.0
|
|
10
|
+
|
|
11
|
+
## 2.8.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Fix `revalidation-matrix-test` CLI entry detection under pnpm bin wrappers and symlinked installs by comparing realpaths when deciding whether to run `main()`.
|
|
16
|
+
|
|
3
17
|
## 2.8.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@se-studio/site-check",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.2",
|
|
4
4
|
"description": "Validate SE marketing sites (sitemap, llms.txt) and download markdown files preserving structure",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"url": "https://github.com/Something-Else-Studio/se-core-product/issues"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@se-studio/contentful-rest-api": "1.
|
|
81
|
-
"@se-studio/core-data-types": "1.
|
|
80
|
+
"@se-studio/contentful-rest-api": "1.14.0",
|
|
81
|
+
"@se-studio/core-data-types": "1.6.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@biomejs/biome": "^2.5.0",
|
|
@@ -447,7 +447,17 @@ async function main() {
|
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
|
|
450
|
+
function resolveRealPath(filePath) {
|
|
451
|
+
try {
|
|
452
|
+
return fs.realpathSync(path.resolve(filePath));
|
|
453
|
+
} catch {
|
|
454
|
+
return path.resolve(filePath);
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
const invokedPath = process.argv[1] ? resolveRealPath(process.argv[1]) : '';
|
|
459
|
+
const modulePath = resolveRealPath(fileURLToPath(import.meta.url));
|
|
460
|
+
const isMain = invokedPath !== '' && invokedPath === modulePath;
|
|
451
461
|
|
|
452
462
|
if (isMain) {
|
|
453
463
|
main().catch((error) => {
|