@feedvalue/vue 0.1.2 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +17 -17
package/README.md CHANGED
@@ -294,9 +294,9 @@ const instance = inject(FEEDVALUE_KEY);
294
294
  const options = inject(FEEDVALUE_OPTIONS_KEY);
295
295
  ```
296
296
 
297
- ## Nuxt 3 Integration
297
+ ## Nuxt Integration
298
298
 
299
- Create a plugin file:
299
+ Works with Nuxt 3 and Nuxt 4. Create a plugin file:
300
300
 
301
301
  ```typescript
302
302
  // plugins/feedvalue.client.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedvalue/vue",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "FeedValue Vue 3 SDK - Plugin and Composables for Vue 3+",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -23,30 +23,20 @@
23
23
  "README.md"
24
24
  ],
25
25
  "sideEffects": false,
26
- "scripts": {
27
- "build": "tsup",
28
- "dev": "tsup --watch",
29
- "lint": "eslint src",
30
- "test": "vitest run",
31
- "test:watch": "vitest",
32
- "test:coverage": "vitest run --coverage",
33
- "typecheck": "tsc --noEmit",
34
- "clean": "rm -rf dist"
35
- },
36
26
  "peerDependencies": {
37
27
  "vue": ">=3.3.0"
38
28
  },
39
29
  "dependencies": {
40
- "@feedvalue/core": "workspace:^"
30
+ "@feedvalue/core": "^0.1.4"
41
31
  },
42
32
  "devDependencies": {
43
- "@vitejs/plugin-vue": "^5.2.0",
44
- "@vitest/coverage-v8": "^2.1.0",
33
+ "@vitejs/plugin-vue": "^6.0.3",
34
+ "@vitest/coverage-v8": "^4.0.18",
45
35
  "@vue/test-utils": "^2.4.0",
46
- "happy-dom": "^15.11.0",
36
+ "happy-dom": "^20.3.9",
47
37
  "tsup": "^8.3.0",
48
38
  "typescript": "^5.7.0",
49
- "vitest": "^2.1.0",
39
+ "vitest": "^4.0.18",
50
40
  "vue": "^3.5.0"
51
41
  },
52
42
  "publishConfig": {
@@ -74,5 +64,15 @@
74
64
  ],
75
65
  "engines": {
76
66
  "node": ">=18"
67
+ },
68
+ "scripts": {
69
+ "build": "tsup",
70
+ "dev": "tsup --watch",
71
+ "lint": "eslint src",
72
+ "test": "vitest run",
73
+ "test:watch": "vitest",
74
+ "test:coverage": "vitest run --coverage",
75
+ "typecheck": "tsc --noEmit",
76
+ "clean": "rm -rf dist"
77
77
  }
78
- }
78
+ }