@unocss/cli 0.14.3 → 0.15.3
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/chunks/index.cjs +2 -2
- package/dist/chunks/index.mjs +2 -2
- package/package.json +4 -4
package/dist/chunks/index.cjs
CHANGED
|
@@ -15,7 +15,7 @@ const fg__default = /*#__PURE__*/_interopDefaultLegacy(fg);
|
|
|
15
15
|
const consola__default = /*#__PURE__*/_interopDefaultLegacy(consola);
|
|
16
16
|
const presetUno__default = /*#__PURE__*/_interopDefaultLegacy(presetUno);
|
|
17
17
|
|
|
18
|
-
const version = "0.
|
|
18
|
+
const version = "0.15.3";
|
|
19
19
|
|
|
20
20
|
class PrettyError extends Error {
|
|
21
21
|
constructor(message) {
|
|
@@ -67,7 +67,7 @@ const defaultConfig = {
|
|
|
67
67
|
|
|
68
68
|
const name = "unocss";
|
|
69
69
|
let uno;
|
|
70
|
-
const fileCache = new Map();
|
|
70
|
+
const fileCache = /* @__PURE__ */ new Map();
|
|
71
71
|
async function generate(options) {
|
|
72
72
|
const outFile = options.outFile ?? pathe.resolve(process.cwd(), "uno.css");
|
|
73
73
|
const { css, matched } = await uno.generate([...fileCache].join("\n"));
|
package/dist/chunks/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { createGenerator } from '@unocss/core';
|
|
|
7
7
|
import { createConfigLoader } from '@unocss/config';
|
|
8
8
|
import presetUno from '@unocss/preset-uno';
|
|
9
9
|
|
|
10
|
-
const version = "0.
|
|
10
|
+
const version = "0.15.3";
|
|
11
11
|
|
|
12
12
|
class PrettyError extends Error {
|
|
13
13
|
constructor(message) {
|
|
@@ -59,7 +59,7 @@ const defaultConfig = {
|
|
|
59
59
|
|
|
60
60
|
const name = "unocss";
|
|
61
61
|
let uno;
|
|
62
|
-
const fileCache = new Map();
|
|
62
|
+
const fileCache = /* @__PURE__ */ new Map();
|
|
63
63
|
async function generate(options) {
|
|
64
64
|
const outFile = options.outFile ?? resolve(process.cwd(), "uno.css");
|
|
65
65
|
const { css, matched } = await uno.generate([...fileCache].join("\n"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.3",
|
|
4
4
|
"description": "CLI for UnoCSS",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/antfu/unocss/tree/main/packages/cli#readme",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"node": ">=14"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@unocss/config": "0.
|
|
37
|
-
"@unocss/core": "0.
|
|
38
|
-
"@unocss/preset-uno": "0.
|
|
36
|
+
"@unocss/config": "0.15.3",
|
|
37
|
+
"@unocss/core": "0.15.3",
|
|
38
|
+
"@unocss/preset-uno": "0.15.3",
|
|
39
39
|
"cac": "^6.7.12",
|
|
40
40
|
"chokidar": "^3.5.2",
|
|
41
41
|
"colorette": "^2.0.16",
|