@svelte-vitals/vite 0.34.0 → 0.35.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/README.md +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Vite/SvelteKit plugin for [svelte-vitals](https://github.com/oekazuma/svelte-vitals). Two things in one package:
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
7
|
+
- Build-time gate — piggybacks on `vite build`, parses the **prerendered HTML** (head metadata, images, headings, landmarks and ids), and runs the same rule engine as the CLI (SEO, Performance, Correctness, Security, Architecture, Accessibility) — library-agnostic, because it inspects the real output. Fails the build when findings reach `failOn`.
|
|
8
|
+
- Live dev dashboard — on by default during `vite dev`: a searchable, filterable code-health dashboard at `/__svelte-vitals/`, covering the whole project from startup via static analysis, refined to real rendered values as you browse.
|
|
9
9
|
|
|
10
10
|
> **ESM-only** (Node 24.16+). Ships ES modules only; `require()` is unsupported by design.
|
|
11
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@svelte-vitals/vite",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.0",
|
|
4
4
|
"description": "Vite/SvelteKit plugin for svelte-vitals — analyzes prerendered HTML during vite build, plus a live dev dashboard.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@sveltejs/kit": "^2.70.3",
|
|
48
48
|
"vite": "^8.2.2",
|
|
49
|
-
"@svelte-vitals/core": "^0.
|
|
50
|
-
"svelte-vitals": "^0.
|
|
49
|
+
"@svelte-vitals/core": "^0.49.0",
|
|
50
|
+
"svelte-vitals": "^0.53.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
53
53
|
"@sveltejs/kit": {
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"happy-dom": "^20.11.6",
|
|
61
61
|
"svelte": "^5.56.10",
|
|
62
62
|
"vite": "^8.2.2",
|
|
63
|
-
"
|
|
64
|
-
"svelte-vitals": "0.
|
|
63
|
+
"svelte-vitals": "0.53.0",
|
|
64
|
+
"@svelte-vitals/core": "0.49.0"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "tsdown",
|