@scalar/nuxt 0.6.87 → 0.6.88
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.d.mts +3 -3
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/package.json +6 -6
package/dist/module.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { NuxtModule } from '@nuxt/schema';
|
|
2
2
|
import { ApiReferenceConfigurationWithSource, ApiReferenceConfiguration } from '@scalar/types/api-reference';
|
|
3
3
|
|
|
4
4
|
type Configuration = Omit<Partial<ApiReferenceConfigurationWithSource>, 'layout' | 'isEditable' | 'theme'> & {
|
|
@@ -24,7 +24,7 @@ type ModuleOptions = {
|
|
|
24
24
|
configurations: Omit<Configuration, 'devtools'>[];
|
|
25
25
|
layout: string | false;
|
|
26
26
|
} & Configuration;
|
|
27
|
-
declare const
|
|
27
|
+
declare const scalarModule: NuxtModule<ModuleOptions, ModuleOptions>;
|
|
28
28
|
|
|
29
|
-
export {
|
|
29
|
+
export { scalarModule as default };
|
|
30
30
|
export type { ModuleOptions };
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { existsSync } from 'node:fs';
|
|
|
2
2
|
import { join } from 'node:path';
|
|
3
3
|
import { defineNuxtModule, createResolver, addComponent, extendPages, extendViteConfig } from '@nuxt/kit';
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const scalarModule = defineNuxtModule({
|
|
6
6
|
meta: {
|
|
7
7
|
name: "@scalar/nuxt",
|
|
8
8
|
configKey: "scalar"
|
|
@@ -97,4 +97,4 @@ const module$1 = defineNuxtModule({
|
|
|
97
97
|
}
|
|
98
98
|
});
|
|
99
99
|
|
|
100
|
-
export {
|
|
100
|
+
export { scalarModule as default };
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"testing",
|
|
21
21
|
"vue"
|
|
22
22
|
],
|
|
23
|
-
"version": "0.6.
|
|
23
|
+
"version": "0.6.88",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=22"
|
|
26
26
|
},
|
|
@@ -54,17 +54,17 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@nuxt/kit": "4.5.2",
|
|
56
56
|
"@nuxt/schema": "4.5.2",
|
|
57
|
-
"@scalar/api-client": "3.
|
|
58
|
-
"@scalar/api-reference": "1.
|
|
59
|
-
"@scalar/types": "0.
|
|
60
|
-
"@scalar/use-hooks": "0.4.
|
|
57
|
+
"@scalar/api-client": "3.24.0",
|
|
58
|
+
"@scalar/api-reference": "1.77.0",
|
|
59
|
+
"@scalar/types": "0.27.0",
|
|
60
|
+
"@scalar/use-hooks": "0.4.23",
|
|
61
61
|
"vue": "^3.5.44"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@nuxt/module-builder": "1.0.2",
|
|
65
65
|
"@types/node": "^24.19.2",
|
|
66
66
|
"cross-env": "10.1.0",
|
|
67
|
-
"nuxt": "^4.6.
|
|
67
|
+
"nuxt": "^4.6.3",
|
|
68
68
|
"vitest": "4.1.12"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|