@ripple-ts/eslint-parser 0.3.2 → 0.3.4
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 +5 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -76,9 +76,9 @@ The parser:
|
|
|
76
76
|
The parser supports all Ripple syntax including:
|
|
77
77
|
|
|
78
78
|
- `component` declarations
|
|
79
|
-
-
|
|
79
|
+
- `track()` reactive values (imported from `ripple`)
|
|
80
80
|
- `@` unboxing operator
|
|
81
|
-
-
|
|
81
|
+
- Reactive collections (`RippleArray`, `RippleObject`, etc.)
|
|
82
82
|
- JSX-like templating inside components
|
|
83
83
|
- All standard JavaScript/TypeScript syntax
|
|
84
84
|
|
|
@@ -87,8 +87,10 @@ The parser supports all Ripple syntax including:
|
|
|
87
87
|
Given a `.ripple` file:
|
|
88
88
|
|
|
89
89
|
```ripple
|
|
90
|
+
import { track } from 'ripple';
|
|
91
|
+
|
|
90
92
|
export component Counter() {
|
|
91
|
-
let count =
|
|
93
|
+
let count = track(0);
|
|
92
94
|
|
|
93
95
|
<div>
|
|
94
96
|
<button onClick={() => @count++}>Increment</button>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ripple-ts/eslint-parser",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "ESLint parser for Ripple (.ripple files)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@types/node": "^24.3.0",
|
|
40
40
|
"tsdown": "^0.20.3",
|
|
41
41
|
"typescript": "^5.9.3",
|
|
42
|
-
"ripple": "0.3.
|
|
42
|
+
"ripple": "0.3.4"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=20.0.0"
|