@revojs/vue 0.1.32 → 0.1.34
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as revojs from "revojs";
|
|
2
2
|
import { Scope } from "revojs";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
4
|
|
|
@@ -20,7 +20,7 @@ declare function useFetch<T, TError = Error>(scope: Scope, input: string | URL,
|
|
|
20
20
|
refresh: (options?: AsyncOptions<TError> | undefined) => Promise<T | undefined>;
|
|
21
21
|
}>;
|
|
22
22
|
declare function refreshAsync(scope: Scope, input?: string | Array<string>): Promise<void[] | undefined>;
|
|
23
|
-
declare const isServerSideRendering:
|
|
24
|
-
declare const REFRESH_ASYNC_HOOK:
|
|
23
|
+
declare const isServerSideRendering: any;
|
|
24
|
+
declare const REFRESH_ASYNC_HOOK: revojs.Descriptor<(names?: Array<string>) => Promise<void>>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { AsyncOptions, REFRESH_ASYNC_HOOK, isServerSideRendering, refreshAsync, useAsync, useFetch, useScope, useState };
|
|
@@ -23,7 +23,7 @@ function vue(options) {
|
|
|
23
23
|
addRoutes(app, fromModule("./module/routes"));
|
|
24
24
|
addAlias(app, "vue/app", fromModule("./module/app.ts"));
|
|
25
25
|
addAlias(app, "vue/main", fromModule("./module/main.vue"));
|
|
26
|
-
addTypes(app, "revojs-vue
|
|
26
|
+
addTypes(app, "revojs-vue", () => `import "@revojs/vue/types"`);
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
}
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revojs/vue",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.34",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": "coverbase/revojs",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
|
-
"types": "./dist/index.d.
|
|
10
|
-
"import": "./dist/index.
|
|
9
|
+
"types": "./dist/index.d.mts",
|
|
10
|
+
"import": "./dist/index.mjs"
|
|
11
11
|
},
|
|
12
12
|
"./client": {
|
|
13
|
-
"types": "./dist/client/index.d.
|
|
14
|
-
"import": "./dist/client/index.
|
|
13
|
+
"types": "./dist/client/index.d.mts",
|
|
14
|
+
"import": "./dist/client/index.mjs"
|
|
15
15
|
},
|
|
16
16
|
"./types": {
|
|
17
|
-
"types": "./src/types/index.d.
|
|
17
|
+
"types": "./src/types/index.d.mts"
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
|
-
"types": "./dist/index.d.
|
|
21
|
-
"module": "./dist/index.
|
|
22
|
-
"main": "./dist/index.
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"module": "./dist/index.mjs",
|
|
22
|
+
"main": "./dist/index.mjs",
|
|
23
23
|
"files": [
|
|
24
24
|
"dist",
|
|
25
25
|
"src/types"
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"watch": "tsdown -w"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"vue": "^3.5.
|
|
33
|
-
"vue-router": "^
|
|
32
|
+
"vue": "^3.5.27",
|
|
33
|
+
"vue-router": "^5.0.2",
|
|
34
34
|
"revojs": "*"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@revojs/tsconfig": "*",
|
|
38
|
-
"tsdown": "^0.
|
|
38
|
+
"tsdown": "^0.20.3"
|
|
39
39
|
}
|
|
40
40
|
}
|
|
File without changes
|
|
File without changes
|