@scalar/nuxt 0.2.83 → 0.2.85
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
|
@@ -8,17 +8,6 @@ const props = defineProps<{
|
|
|
8
8
|
configuration: Configuration
|
|
9
9
|
}>()
|
|
10
10
|
|
|
11
|
-
if (props.configuration.theme === 'nuxt') {
|
|
12
|
-
useHead({
|
|
13
|
-
link: [
|
|
14
|
-
{
|
|
15
|
-
rel: 'stylesheet',
|
|
16
|
-
href: new URL('./nuxt-theme.css', import.meta.url).href,
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
})
|
|
20
|
-
}
|
|
21
|
-
|
|
22
11
|
const isDark = ref(props.configuration.darkMode)
|
|
23
12
|
|
|
24
13
|
// Grab spec if we can
|
|
@@ -60,3 +49,7 @@ const config = {
|
|
|
60
49
|
:rawSpec="rawSpec"
|
|
61
50
|
@toggleDarkMode="isDark = !isDark" />
|
|
62
51
|
</template>
|
|
52
|
+
|
|
53
|
+
<style>
|
|
54
|
+
@import "./nuxt-theme.css";
|
|
55
|
+
</style>
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"testing",
|
|
21
21
|
"vue"
|
|
22
22
|
],
|
|
23
|
-
"version": "0.2.
|
|
23
|
+
"version": "0.2.85",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=18"
|
|
26
26
|
},
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@nuxt/kit": "^3.12.3",
|
|
42
|
-
"@scalar/api-client": "2.0.
|
|
43
|
-
"@scalar/api-reference": "1.25.
|
|
42
|
+
"@scalar/api-client": "2.0.60",
|
|
43
|
+
"@scalar/api-reference": "1.25.7"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@nuxt/devtools": "^1.3.9",
|
|
@@ -60,7 +60,6 @@
|
|
|
60
60
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
61
61
|
"lint:check": "eslint .",
|
|
62
62
|
"lint:fix": "eslint . --fix",
|
|
63
|
-
"test": "vitest",
|
|
64
63
|
"test:watch": "vitest watch",
|
|
65
64
|
"types:check": "nuxi typecheck"
|
|
66
65
|
}
|