@poveste/plugin-vue 0.17.0 → 0.17.2

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.
@@ -0,0 +1,6 @@
1
+ import type { ClientSupportPlugin } from '@poveste/shared';
2
+ import type { Component } from 'vue';
3
+ import type * as client from './client.js';
4
+ type Satisfies<T extends ClientSupportPlugin<Component>> = T;
5
+ export type ClientContract = Satisfies<typeof client>;
6
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@poveste/plugin-vue",
3
3
  "type": "module",
4
- "version": "0.17.0",
4
+ "version": "0.17.2",
5
5
  "description": "Poveste plugin for Vue.js support",
6
6
  "author": {
7
7
  "name": "Sorin Gitlan",
@@ -70,13 +70,13 @@
70
70
  "node": ">=24.15.0"
71
71
  },
72
72
  "peerDependencies": {
73
- "poveste": "^0.17.0",
73
+ "poveste": "^0.17.2",
74
74
  "vue": "^3.5.43"
75
75
  },
76
76
  "dependencies": {
77
- "@poveste/controls": "^0.17.0",
78
- "@poveste/shared": "^0.17.0",
79
- "@poveste/vendors": "^0.17.0",
77
+ "@poveste/controls": "^0.17.2",
78
+ "@poveste/shared": "^0.17.2",
79
+ "@poveste/vendors": "^0.17.2",
80
80
  "change-case": "^5.4.4",
81
81
  "ignore": "^7.0.10",
82
82
  "launch-editor": "^2.9.1",
@@ -86,7 +86,7 @@
86
86
  "devDependencies": {
87
87
  "@types/node": "^26.6.3",
88
88
  "concurrently": "^10.0.5",
89
- "poveste": "0.17.0",
89
+ "poveste": "0.17.2",
90
90
  "typescript": "6.0.3",
91
91
  "vite": "^8.3.1",
92
92
  "vitest": "^5.0.2",
@@ -0,0 +1,10 @@
1
+ import type { ClientSupportPlugin } from '@poveste/shared'
2
+ import type { Component } from 'vue'
3
+ import type * as client from './client.js'
4
+
5
+ // The app loads the client entry untyped at runtime, so it is held to the
6
+ // contract here, with this plugin's own `Component`: a plugin that drifts from
7
+ // it fails its own build (#1116). A separate file, so the check is not part of
8
+ // what the entry publishes.
9
+ type Satisfies<T extends ClientSupportPlugin<Component>> = T
10
+ export type ClientContract = Satisfies<typeof client>