@unocss/nuxt 0.11.5 → 0.12.2
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/index.d.ts +5 -5
- package/package.json +12 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _nuxt_schema_edge from '@nuxt/schema-edge';
|
|
2
2
|
import { UnoOptions } from '@unocss/preset-uno';
|
|
3
3
|
import { AttributifyOptions } from '@unocss/preset-attributify';
|
|
4
4
|
import { IconsOptions } from '@unocss/preset-icons';
|
|
5
5
|
import { UserConfig } from '@unocss/core';
|
|
6
6
|
|
|
7
7
|
declare type FilterPattern = ReadonlyArray<string | RegExp> | string | RegExp | null;
|
|
8
|
-
interface
|
|
8
|
+
interface PluginConfig<Theme extends {} = {}> extends UserConfig<Theme> {
|
|
9
9
|
/**
|
|
10
10
|
* Patterns that filter the files being extracted.
|
|
11
11
|
*/
|
|
@@ -16,7 +16,7 @@ interface PluginOptions<Theme extends {} = {}> extends UserConfig<Theme> {
|
|
|
16
16
|
exclude?: FilterPattern;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
interface UnocssNuxtOptions extends
|
|
19
|
+
interface UnocssNuxtOptions extends PluginConfig {
|
|
20
20
|
/**
|
|
21
21
|
* Injecting `uno.css` entry
|
|
22
22
|
*
|
|
@@ -55,9 +55,9 @@ interface UnocssNuxtOptions extends PluginOptions {
|
|
|
55
55
|
*/
|
|
56
56
|
icons?: boolean | IconsOptions;
|
|
57
57
|
}
|
|
58
|
-
declare const _default:
|
|
58
|
+
declare const _default: _nuxt_schema_edge.LegacyNuxtModule;
|
|
59
59
|
|
|
60
|
-
declare module '@nuxt/
|
|
60
|
+
declare module '@nuxt/schema' {
|
|
61
61
|
interface ConfigSchema {
|
|
62
62
|
unocss?: UnocssNuxtOptions;
|
|
63
63
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/nuxt",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"description": "Nuxt module for UnoCSS",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -36,14 +36,17 @@
|
|
|
36
36
|
"runtime"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@
|
|
40
|
-
"@unocss/
|
|
41
|
-
"@unocss/
|
|
42
|
-
"@unocss/
|
|
43
|
-
"@unocss/preset-uno": "0.
|
|
44
|
-
"@unocss/
|
|
45
|
-
"@unocss/
|
|
46
|
-
"@
|
|
39
|
+
"@nuxt/kit": "npm:@nuxt/kit-edge@latest",
|
|
40
|
+
"@unocss/core": "0.12.2",
|
|
41
|
+
"@unocss/preset-attributify": "0.12.2",
|
|
42
|
+
"@unocss/preset-icons": "0.12.2",
|
|
43
|
+
"@unocss/preset-uno": "0.12.2",
|
|
44
|
+
"@unocss/reset": "0.12.2",
|
|
45
|
+
"@unocss/vite": "0.12.2",
|
|
46
|
+
"@unocss/webpack": "0.12.2"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@nuxt/schema": "^0.1.0-edge"
|
|
47
50
|
},
|
|
48
51
|
"scripts": {
|
|
49
52
|
"build": "tsup",
|