unocss 0.45.7 → 0.45.12
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/astro.cjs +22 -0
- package/dist/astro.d.ts +6 -0
- package/dist/astro.mjs +15 -0
- package/package.json +25 -19
package/dist/astro.cjs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const AstroIntegrationPlugin = require('@unocss/astro');
|
|
4
|
+
const presetUno = require('@unocss/preset-uno');
|
|
5
|
+
|
|
6
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e["default"] : e; }
|
|
7
|
+
|
|
8
|
+
const AstroIntegrationPlugin__default = /*#__PURE__*/_interopDefaultLegacy(AstroIntegrationPlugin);
|
|
9
|
+
const presetUno__default = /*#__PURE__*/_interopDefaultLegacy(presetUno);
|
|
10
|
+
|
|
11
|
+
function UnocssAstroIntegration(config) {
|
|
12
|
+
return AstroIntegrationPlugin__default(
|
|
13
|
+
config,
|
|
14
|
+
{
|
|
15
|
+
presets: [
|
|
16
|
+
presetUno__default()
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
module.exports = UnocssAstroIntegration;
|
package/dist/astro.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AstroIntegrationConfig } from '@unocss/astro';
|
|
2
|
+
import { AstroIntegration } from 'astro';
|
|
3
|
+
|
|
4
|
+
declare function UnocssAstroIntegration<Theme extends {}>(config?: AstroIntegrationConfig<Theme>): AstroIntegration;
|
|
5
|
+
|
|
6
|
+
export { UnocssAstroIntegration as default };
|
package/dist/astro.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import AstroIntegrationPlugin from '@unocss/astro';
|
|
2
|
+
import presetUno__default from '@unocss/preset-uno';
|
|
3
|
+
|
|
4
|
+
function UnocssAstroIntegration(config) {
|
|
5
|
+
return AstroIntegrationPlugin(
|
|
6
|
+
config,
|
|
7
|
+
{
|
|
8
|
+
presets: [
|
|
9
|
+
presetUno__default()
|
|
10
|
+
]
|
|
11
|
+
}
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { UnocssAstroIntegration as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unocss",
|
|
3
|
-
"version": "0.45.
|
|
3
|
+
"version": "0.45.12",
|
|
4
4
|
"description": "The instant on-demand Atomic CSS engine.",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -76,6 +76,11 @@
|
|
|
76
76
|
"require": "./dist/vite.cjs",
|
|
77
77
|
"import": "./dist/vite.mjs"
|
|
78
78
|
},
|
|
79
|
+
"./astro": {
|
|
80
|
+
"types": "./dist/astro.d.ts",
|
|
81
|
+
"require": "./dist/astro.cjs",
|
|
82
|
+
"import": "./dist/astro.mjs"
|
|
83
|
+
},
|
|
79
84
|
"./webpack": {
|
|
80
85
|
"types": "./dist/webpack.d.ts",
|
|
81
86
|
"require": "./dist/webpack.cjs",
|
|
@@ -93,7 +98,7 @@
|
|
|
93
98
|
"node": ">=14"
|
|
94
99
|
},
|
|
95
100
|
"peerDependencies": {
|
|
96
|
-
"@unocss/webpack": "0.45.
|
|
101
|
+
"@unocss/webpack": "0.45.12"
|
|
97
102
|
},
|
|
98
103
|
"peerDependenciesMeta": {
|
|
99
104
|
"@unocss/webpack": {
|
|
@@ -101,25 +106,26 @@
|
|
|
101
106
|
}
|
|
102
107
|
},
|
|
103
108
|
"dependencies": {
|
|
104
|
-
"@unocss/
|
|
105
|
-
"@unocss/
|
|
106
|
-
"@unocss/
|
|
107
|
-
"@unocss/preset-
|
|
108
|
-
"@unocss/preset-
|
|
109
|
-
"@unocss/preset-
|
|
110
|
-
"@unocss/preset-
|
|
111
|
-
"@unocss/preset-
|
|
112
|
-
"@unocss/preset-
|
|
113
|
-
"@unocss/preset-
|
|
114
|
-
"@unocss/
|
|
115
|
-
"@unocss/
|
|
116
|
-
"@unocss/transformer-
|
|
117
|
-
"@unocss/transformer-
|
|
118
|
-
"@unocss/transformer-
|
|
119
|
-
"@unocss/
|
|
109
|
+
"@unocss/astro": "0.45.12",
|
|
110
|
+
"@unocss/cli": "0.45.12",
|
|
111
|
+
"@unocss/core": "0.45.12",
|
|
112
|
+
"@unocss/preset-attributify": "0.45.12",
|
|
113
|
+
"@unocss/preset-icons": "0.45.12",
|
|
114
|
+
"@unocss/preset-mini": "0.45.12",
|
|
115
|
+
"@unocss/preset-tagify": "0.45.12",
|
|
116
|
+
"@unocss/preset-typography": "0.45.12",
|
|
117
|
+
"@unocss/preset-uno": "0.45.12",
|
|
118
|
+
"@unocss/preset-web-fonts": "0.45.12",
|
|
119
|
+
"@unocss/preset-wind": "0.45.12",
|
|
120
|
+
"@unocss/reset": "0.45.12",
|
|
121
|
+
"@unocss/transformer-attributify-jsx": "0.45.12",
|
|
122
|
+
"@unocss/transformer-compile-class": "0.45.12",
|
|
123
|
+
"@unocss/transformer-directives": "0.45.12",
|
|
124
|
+
"@unocss/transformer-variant-group": "0.45.12",
|
|
125
|
+
"@unocss/vite": "0.45.12"
|
|
120
126
|
},
|
|
121
127
|
"devDependencies": {
|
|
122
|
-
"@unocss/webpack": "0.45.
|
|
128
|
+
"@unocss/webpack": "0.45.12"
|
|
123
129
|
},
|
|
124
130
|
"scripts": {
|
|
125
131
|
"build": "unbuild",
|