@pistachiojs/vue 0.1.0-dev.0 → 0.1.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 +3 -3
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @pistachiojs/vue
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Vue composables built on top of @pistachiojs/core for reactive programming tasks.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@pistachiojs/vue)
|
|
6
6
|
[](../../coverage)
|
|
@@ -9,7 +9,7 @@ A collection Vue composables library for reactive programming tasks. Built on to
|
|
|
9
9
|
## Key features
|
|
10
10
|
|
|
11
11
|
- **Full type safety** - TypeScript-first with complete inference
|
|
12
|
-
- **Vue
|
|
12
|
+
- **Vue specific adapters** - Designed for Vue 3+
|
|
13
13
|
- **Tree shakeable** - Modular imports for minimal bundle size
|
|
14
14
|
- **Well tested** - Comprehensive test coverage
|
|
15
15
|
|
|
@@ -56,7 +56,7 @@ This package is written in TypeScript and includes type definitions out of the b
|
|
|
56
56
|
```typescript
|
|
57
57
|
import { useCounter } from '@pistachiojs/vue'
|
|
58
58
|
|
|
59
|
-
//
|
|
59
|
+
// full type inference
|
|
60
60
|
const { count, increment, decrement, set, reset } = useCounter(0, { min: 0, max: 100 })
|
|
61
61
|
// count: Ref<number>
|
|
62
62
|
// increment: () => void
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pistachiojs/vue",
|
|
3
|
-
"description": "
|
|
4
|
-
"version": "0.1.0
|
|
3
|
+
"description": "Vue composables built on top of @pistachiojs/core for reactive programming tasks",
|
|
4
|
+
"version": "0.1.0",
|
|
5
5
|
"author": "Dirga Prakesha <dirga.prakesha@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"typescript",
|
|
15
15
|
"javascript",
|
|
16
16
|
"helpers",
|
|
17
|
-
"functional",
|
|
18
17
|
"vue",
|
|
19
18
|
"type-safe",
|
|
20
19
|
"tree-shakeable"
|
|
@@ -32,7 +31,7 @@
|
|
|
32
31
|
"vue": ">=3"
|
|
33
32
|
},
|
|
34
33
|
"dependencies": {
|
|
35
|
-
"@pistachiojs/core": "0.3.0
|
|
34
|
+
"@pistachiojs/core": "0.3.0"
|
|
36
35
|
},
|
|
37
36
|
"scripts": {
|
|
38
37
|
"build": "rollup -c ../../rollup.config.mjs --environment TARGET:vue",
|