@reddoorla/maintenance 0.12.0 → 0.13.0

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/dist/index.js CHANGED
@@ -39,39 +39,39 @@ function siteLabel(site) {
39
39
  // src/configs/baseline-versions.ts
40
40
  var baselineVersions = {
41
41
  // SvelteKit core
42
- svelte: "^5.55.5",
43
- "@sveltejs/kit": "^2.59.0",
42
+ svelte: "^5.55.10",
43
+ "@sveltejs/kit": "^2.61.1",
44
44
  "@sveltejs/adapter-netlify": "^6.0.4",
45
- "@sveltejs/adapter-auto": "^7.0.0",
46
- "@sveltejs/vite-plugin-svelte": "^7.0.0",
47
- "svelte-check": "^4.4.7",
45
+ "@sveltejs/adapter-auto": "^7.0.1",
46
+ "@sveltejs/vite-plugin-svelte": "^7.1.2",
47
+ "svelte-check": "^4.4.8",
48
48
  // Build tooling
49
- vite: "^8.0.10",
50
- vitest: "^4.1.1",
49
+ vite: "^8.0.14",
50
+ vitest: "^4.1.7",
51
51
  typescript: "^6.0.3",
52
52
  // Tailwind 4
53
- tailwindcss: "^4.0.14",
53
+ tailwindcss: "^4.3.0",
54
54
  "@tailwindcss/vite": "^4.3.0",
55
55
  // Prismic
56
- "@prismicio/client": "^7.3.1",
57
- "@prismicio/svelte": "^2.0.0",
58
- "@slicemachine/adapter-sveltekit": "^0.3.36",
59
- "slice-machine-ui": "^2.11.1",
56
+ "@prismicio/client": "^7.21.8",
57
+ "@prismicio/svelte": "^2.2.1",
58
+ "@slicemachine/adapter-sveltekit": "^0.3.96",
59
+ "slice-machine-ui": "^2.21.3",
60
60
  // Test tooling
61
- "@playwright/test": "^1.59.1",
61
+ "@playwright/test": "^1.60.0",
62
62
  "@axe-core/playwright": "^4.11.3",
63
63
  "@lhci/cli": "^0.15.1",
64
64
  // Lint
65
- eslint: "^10.3.0",
66
- "eslint-plugin-svelte": "^3.1.0",
67
- "eslint-config-prettier": "^10.1.1",
68
- prettier: "^3.1.1",
69
- "prettier-plugin-svelte": "^3.2.6",
70
- "typescript-eslint": "^8.59.1",
65
+ eslint: "^10.4.0",
66
+ "eslint-plugin-svelte": "^3.18.0",
67
+ "eslint-config-prettier": "^10.1.8",
68
+ prettier: "^3.8.3",
69
+ "prettier-plugin-svelte": "^4.0.1",
70
+ "typescript-eslint": "^8.60.0",
71
71
  "@eslint/js": "^10.0.1",
72
72
  globals: "^17.6.0",
73
73
  // Misc
74
- "@lucide/svelte": "^1.14.0",
74
+ "@lucide/svelte": "^1.17.0",
75
75
  "@zerodevx/svelte-img": "^2.1.2"
76
76
  };
77
77
 
@@ -864,7 +864,8 @@ var CANONICAL_GITIGNORE_ENTRIES = [
864
864
  ".DS_Store",
865
865
  "*.log",
866
866
  ".vercel/",
867
- ".netlify/"
867
+ ".netlify/",
868
+ ".reddoor-a11y/"
868
869
  ];
869
870
  function stripLeadingSlash(s) {
870
871
  return s.startsWith("/") ? s.slice(1) : s;
@@ -3036,10 +3037,8 @@ function scoreCell(value) {
3036
3037
  }
3037
3038
  function siteHrefCell(site) {
3038
3039
  const name = escapeHtml2(site.name);
3039
- if (!site.dashboardToken) {
3040
- return `<td class="site"><span class="name">${name}</span> <span class="badge">no token</span></td>`;
3041
- }
3042
- const href = `/s/${escapeHtml2(siteSlug(site.name))}?t=${escapeHtml2(site.dashboardToken)}`;
3040
+ const token = site.dashboardToken ?? "";
3041
+ const href = `/s/${escapeHtml2(siteSlug(site.name))}?t=${escapeHtml2(token)}`;
3043
3042
  return `<td class="site"><a href="${href}">${name}</a></td>`;
3044
3043
  }
3045
3044
  function siteRow(site) {
@@ -3066,12 +3065,10 @@ td { padding: 0.65rem 0.5rem; border-bottom: 1px solid #eee; }
3066
3065
  td.site a { font-weight: 500; }
3067
3066
  td.url { color: #666; font-size: 0.85rem; }
3068
3067
  td.score { text-align: right; font-variant-numeric: tabular-nums; min-width: 3.5rem; }
3069
- .badge { display: inline-block; margin-left: 0.5rem; padding: 0.1rem 0.5rem; font-size: 0.75rem; border-radius: 3px; background: #f0f0f0; color: #999; }
3070
- @media (prefers-color-scheme: dark) { .badge { background: #2a2a2a; color: #777; } }
3071
3068
  .empty { color: #999; padding: 2rem; text-align: center; border: 1px dashed #ccc; border-radius: 6px; }
3072
3069
  `;
3073
3070
  function renderFleetHomeHtml(sites) {
3074
- const body = sites.length === 0 ? `<div class="empty">No sites in the Websites table yet.</div>` : `<table>
3071
+ const body = sites.length === 0 ? `<div class="empty">No sites to display.</div>` : `<table>
3075
3072
  <thead><tr>
3076
3073
  <th>Site</th>
3077
3074
  <th>URL</th>
@@ -3092,7 +3089,7 @@ function renderFleetHomeHtml(sites) {
3092
3089
  </head>
3093
3090
  <body>
3094
3091
  <h1>Reddoor fleet</h1>
3095
- <div class="meta">${sites.length} site${sites.length === 1 ? "" : "s"} in the Websites table.</div>
3092
+ <div class="meta">${sites.length} site${sites.length === 1 ? "" : "s"} on the Reddoor stack.</div>
3096
3093
  ${body}
3097
3094
  </body>
3098
3095
  </html>`;