@avocadostudio-ai/migration-sdk 0.2.3 → 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.
|
@@ -778,7 +778,7 @@ export function extractNavigation(html, baseUrl) {
|
|
|
778
778
|
if (!siteName) {
|
|
779
779
|
const titleMatch = html.match(/<title[^>]*>([^<]+)<\/title>/i);
|
|
780
780
|
if (titleMatch) {
|
|
781
|
-
// Take first part before separator (e.g., "
|
|
781
|
+
// Take first part before separator (e.g., "Alpine Arena - Homepage" → "Alpine Arena")
|
|
782
782
|
const title = titleMatch[1].trim().split(/\s*[-–|»]\s*/)[0].trim();
|
|
783
783
|
if (title && title.length < 60)
|
|
784
784
|
siteName = title;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avocadostudio-ai/migration-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@avocadostudio-ai/shared": "0.
|
|
20
|
+
"@avocadostudio-ai/shared": "^0.3.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^22.13.10",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"page-builder"
|
|
37
37
|
],
|
|
38
38
|
"license": "Apache-2.0",
|
|
39
|
-
"homepage": "https://
|
|
39
|
+
"homepage": "https://docs.avocadostudio.dev",
|
|
40
40
|
"bugs": {
|
|
41
41
|
"url": "https://github.com/avocadostudio-ai/avocado/issues"
|
|
42
42
|
},
|