@scalar/nuxt 0.6.87 → 0.6.89

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 CHANGED
@@ -1,4 +1,4 @@
1
- import * as _nuxt_schema from '@nuxt/schema';
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 _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
27
+ declare const scalarModule: NuxtModule<ModuleOptions, ModuleOptions>;
28
28
 
29
- export { _default as default };
29
+ export { scalarModule as default };
30
30
  export type { ModuleOptions };
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scalar/nuxt",
3
3
  "configKey": "scalar",
4
- "version": "0.6.87",
4
+ "version": "0.6.89",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
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 module$1 = defineNuxtModule({
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 { module$1 as default };
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.87",
23
+ "version": "0.6.89",
24
24
  "engines": {
25
25
  "node": ">=22"
26
26
  },
@@ -54,25 +54,25 @@
54
54
  "dependencies": {
55
55
  "@nuxt/kit": "4.5.2",
56
56
  "@nuxt/schema": "4.5.2",
57
- "@scalar/api-client": "3.23.6",
58
- "@scalar/api-reference": "1.76.4",
59
- "@scalar/types": "0.26.0",
60
- "@scalar/use-hooks": "0.4.22",
57
+ "@scalar/api-client": "3.25.0",
58
+ "@scalar/api-reference": "1.78.0",
59
+ "@scalar/types": "0.28.0",
60
+ "@scalar/use-hooks": "0.4.24",
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.1",
68
- "vitest": "4.1.12"
67
+ "nuxt": "^4.6.3",
68
+ "vitest": "5.0.5"
69
69
  },
70
70
  "scripts": {
71
71
  "build": "cross-env NUXT_TELEMETRY_DISABLED=false pnpm dev:prepare && nuxt-module-build build",
72
72
  "dev": "pnpm dev:prepare && nuxi dev playground",
73
73
  "dev:build": "nuxi build playground",
74
74
  "dev:prepare": "nuxi prepare && nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
75
- "test": "vitest --run",
75
+ "test": "vitest --run --passWithNoTests",
76
76
  "test:e2e": "playwright test",
77
77
  "types:check": "NUXT_TELEMETRY_DISABLED=true nuxi typecheck"
78
78
  }