@devframes/nuxt 0.4.1 → 0.5.1
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/dist/module.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Plugin } from '#app';
|
|
2
|
-
import type {
|
|
2
|
+
import type { DevframeRpcClient } from 'devframe/client';
|
|
3
3
|
declare const plugin: Plugin<{
|
|
4
|
-
rpc:
|
|
4
|
+
rpc: DevframeRpcClient;
|
|
5
5
|
}>;
|
|
6
6
|
export default plugin;
|
package/dist/runtime/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DevframeRpcClient } from 'devframe/client'
|
|
2
2
|
|
|
3
3
|
declare module '#app' {
|
|
4
4
|
interface NuxtApp {
|
|
@@ -6,14 +6,14 @@ declare module '#app' {
|
|
|
6
6
|
* Devframe RPC client, provided by the `@devframes/nuxt` module's
|
|
7
7
|
* client plugin.
|
|
8
8
|
*/
|
|
9
|
-
$rpc:
|
|
9
|
+
$rpc: DevframeRpcClient
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
declare module 'vue' {
|
|
14
14
|
interface ComponentCustomProperties {
|
|
15
15
|
/** Devframe RPC client (see `NuxtApp['$rpc']`). */
|
|
16
|
-
$rpc:
|
|
16
|
+
$rpc: DevframeRpcClient
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devframes/nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.1",
|
|
5
5
|
"description": "Nuxt module for Devframe — wires a Nuxt-built SPA up as a devframe client",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
],
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@nuxt/kit": "^3.0.0 || ^4.0.0 || ^5.0.0-0",
|
|
34
|
-
"devframe": "0.
|
|
34
|
+
"devframe": "0.5.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@nuxt/kit": "^4.4.
|
|
38
|
-
"@types/node": "^25.
|
|
39
|
-
"nuxt": "^4.4.
|
|
37
|
+
"@nuxt/kit": "^4.4.6",
|
|
38
|
+
"@types/node": "^25.9.1",
|
|
39
|
+
"nuxt": "^4.4.6",
|
|
40
40
|
"tsdown": "^0.22.0",
|
|
41
|
-
"devframe": "0.
|
|
41
|
+
"devframe": "0.5.1"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsdown",
|