@lightupai/polaris 0.0.60 → 0.0.61

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.
@@ -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 exec caddy caddy reload --config /etc/caddy/Caddyfile 2>/dev/null || true &&
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 exec caddy caddy reload --config /etc/caddy/Caddyfile 2>/dev/null || true &&
15
16
  docker compose -f docker-compose.prod.yml ps
16
17
  "
17
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightupai/polaris",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "polaris": "bin/polaris",
@@ -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", !checks.has_render_blocking_resources,
122
- checks.has_render_blocking_resources ? `${meta.render_blocking_scripts_count} script(s)` : "clean");
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");