@lightupai/polaris 0.0.60 → 0.0.62
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/.github/workflows/ci.yml +1 -0
- package/deploy.sh +1 -0
- package/package.json +1 -1
- package/scripts/seo-audit.ts +2 -2
package/.github/workflows/ci.yml
CHANGED
|
@@ -91,5 +91,6 @@ jobs:
|
|
|
91
91
|
git pull --ff-only &&
|
|
92
92
|
docker compose -f docker-compose.prod.yml build &&
|
|
93
93
|
docker compose -f docker-compose.prod.yml up -d --remove-orphans &&
|
|
94
|
+
docker compose -f docker-compose.prod.yml restart caddy &&
|
|
94
95
|
docker compose -f docker-compose.prod.yml ps
|
|
95
96
|
"
|
package/deploy.sh
CHANGED
|
@@ -12,6 +12,7 @@ ssh "$USER@$HOST" "
|
|
|
12
12
|
git pull --ff-only &&
|
|
13
13
|
docker compose -f docker-compose.prod.yml build &&
|
|
14
14
|
docker compose -f docker-compose.prod.yml up -d --remove-orphans &&
|
|
15
|
+
docker compose -f docker-compose.prod.yml restart caddy &&
|
|
15
16
|
docker compose -f docker-compose.prod.yml ps
|
|
16
17
|
"
|
|
17
18
|
|
package/package.json
CHANGED
package/scripts/seo-audit.ts
CHANGED
|
@@ -118,8 +118,8 @@ check("Desc/content match", content.description_to_content_consistency >= 0.8,
|
|
|
118
118
|
|
|
119
119
|
// Technical
|
|
120
120
|
check("Favicon", !checks.no_favicon, checks.no_favicon ? "missing" : "present");
|
|
121
|
-
check("No render-blocking",
|
|
122
|
-
|
|
121
|
+
check("No render-blocking scripts", (meta.render_blocking_scripts_count ?? 0) === 0,
|
|
122
|
+
(meta.render_blocking_scripts_count ?? 0) === 0 ? "clean" : `${meta.render_blocking_scripts_count} script(s)`);
|
|
123
123
|
check("Content encoding", !checks.no_content_encoding,
|
|
124
124
|
checks.no_content_encoding ? "no gzip/brotli" : "enabled");
|
|
125
125
|
check("SEO-friendly URL", !!checks.seo_friendly_url, checks.seo_friendly_url ? "yes" : "no");
|