@ripple-ts/vite-plugin 0.2.208 → 0.2.210
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/CHANGELOG.md +25 -0
- package/package.json +5 -2
- package/src/index.js +1 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# @ripple-ts/vite-plugin
|
|
2
|
+
|
|
3
|
+
## 0.2.210
|
|
4
|
+
|
|
5
|
+
## 0.2.209
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- [#682](https://github.com/Ripple-TS/ripple/pull/682)
|
|
10
|
+
[`96a5614`](https://github.com/Ripple-TS/ripple/commit/96a56141de8aa667a64bf53ad06f63292e38b1d9)
|
|
11
|
+
Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Add
|
|
12
|
+
invalid HTML nesting error detection during SSR in dev mode
|
|
13
|
+
|
|
14
|
+
During SSR, if the HTML is malformed (e.g., `<button>` elements nested inside
|
|
15
|
+
other `<button>` elements), the browser tries to repair the HTML, making
|
|
16
|
+
hydration impossible. This change adds runtime validation of HTML nesting during
|
|
17
|
+
SSR to detect these cases and provide clear error messages.
|
|
18
|
+
- Added `push_element` and `pop_element` functions to the server runtime that
|
|
19
|
+
track the element stack during SSR
|
|
20
|
+
- Added comprehensive HTML nesting validation rules based on the HTML spec
|
|
21
|
+
- The server compiler now emits `push_element`/`pop_element` calls when the
|
|
22
|
+
`dev` option is enabled
|
|
23
|
+
- Added `dev` option to `CompileOptions`
|
|
24
|
+
- The Vite plugin now automatically enables dev mode during `vite dev` (serve
|
|
25
|
+
command)
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Vite plugin for Ripple",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Dominic Gannaway",
|
|
6
|
-
"version": "0.2.
|
|
6
|
+
"version": "0.2.210",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"module": "src/index.js",
|
|
9
9
|
"main": "src/index.js",
|
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"type-fest": "^5.1.0",
|
|
28
28
|
"vite": "^7.1.9",
|
|
29
|
-
"ripple": "0.2.
|
|
29
|
+
"ripple": "0.2.210"
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
30
33
|
}
|
|
31
34
|
}
|