@revojs/vue 0.1.35 → 0.1.36
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/client/index.d.mts
CHANGED
|
@@ -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:
|
|
23
|
+
declare const isServerSideRendering: boolean;
|
|
24
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 };
|
|
@@ -27,8 +27,8 @@ export default defineRoute({
|
|
|
27
27
|
scope,
|
|
28
28
|
content.replace(
|
|
29
29
|
"<!-- HEAD -->",
|
|
30
|
-
"<script id='STATES' type='application/json'>" + JSON.stringify(states) + "</script>"
|
|
31
|
-
)
|
|
30
|
+
"<script id='STATES' type='application/json'>" + JSON.stringify(states) + "</script>",
|
|
31
|
+
),
|
|
32
32
|
);
|
|
33
33
|
},
|
|
34
34
|
});
|
package/package.json
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revojs/vue",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"repository": "coverbase/revojs",
|
|
3
|
+
"version": "0.1.36",
|
|
6
4
|
"license": "MIT",
|
|
5
|
+
"repository": "coverbase/revojs",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"src/types"
|
|
9
|
+
],
|
|
10
|
+
"type": "module",
|
|
11
|
+
"main": "./dist/index.mjs",
|
|
12
|
+
"module": "./dist/index.mjs",
|
|
13
|
+
"types": "./dist/index.d.mts",
|
|
7
14
|
"exports": {
|
|
8
15
|
".": {
|
|
9
16
|
"types": "./dist/index.d.mts",
|
|
@@ -14,24 +21,17 @@
|
|
|
14
21
|
"import": "./dist/client/index.mjs"
|
|
15
22
|
},
|
|
16
23
|
"./types": {
|
|
17
|
-
"types": "./src/types/index.d.
|
|
24
|
+
"types": "./src/types/index.d.ts"
|
|
18
25
|
}
|
|
19
26
|
},
|
|
20
|
-
"types": "./dist/index.d.mts",
|
|
21
|
-
"module": "./dist/index.mjs",
|
|
22
|
-
"main": "./dist/index.mjs",
|
|
23
|
-
"files": [
|
|
24
|
-
"dist",
|
|
25
|
-
"src/types"
|
|
26
|
-
],
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsdown",
|
|
29
29
|
"watch": "tsdown -w"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
+
"revojs": "*",
|
|
32
33
|
"vue": "^3.5.27",
|
|
33
|
-
"vue-router": "^5.0.2"
|
|
34
|
-
"revojs": "*"
|
|
34
|
+
"vue-router": "^5.0.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@revojs/tsconfig": "*",
|