@unocss/cli 0.51.2 → 0.51.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/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cac } from 'cac';
|
|
2
2
|
import { loadConfig } from '@unocss/config';
|
|
3
3
|
import { toArray } from '@unocss/core';
|
|
4
|
-
import { b as build, v as version, h as handleError } from './shared/cli.
|
|
4
|
+
import { b as build, v as version, h as handleError } from './shared/cli.ccc4aa55.mjs';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'pathe';
|
|
7
7
|
import 'fast-glob';
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import 'consola';
|
|
|
5
5
|
import 'colorette';
|
|
6
6
|
import 'perfect-debounce';
|
|
7
7
|
import '@unocss/core';
|
|
8
|
-
export { b as build, r as resolveOptions } from './shared/cli.
|
|
8
|
+
export { b as build, r as resolveOptions } from './shared/cli.ccc4aa55.mjs';
|
|
9
9
|
import '@rollup/pluginutils';
|
|
10
10
|
import '@unocss/config';
|
|
11
11
|
import 'magic-string';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { promises, existsSync } from 'node:fs';
|
|
2
2
|
import { resolve, dirname, relative, normalize, basename } from 'pathe';
|
|
3
3
|
import fg from 'fast-glob';
|
|
4
|
-
import consola from 'consola';
|
|
4
|
+
import { consola } from 'consola';
|
|
5
5
|
import { cyan, green, dim } from 'colorette';
|
|
6
6
|
import { debounce } from 'perfect-debounce';
|
|
7
7
|
import { cssIdRE, createGenerator, BetterMap, toArray } from '@unocss/core';
|
|
@@ -11,8 +11,6 @@ import MagicString from 'magic-string';
|
|
|
11
11
|
import remapping from '@ampproject/remapping';
|
|
12
12
|
import presetUno from '@unocss/preset-uno';
|
|
13
13
|
|
|
14
|
-
const version = "0.51.2";
|
|
15
|
-
|
|
16
14
|
const INCLUDE_COMMENT = "@unocss-include";
|
|
17
15
|
const IGNORE_COMMENT = "@unocss-ignore";
|
|
18
16
|
const CSS_PLACEHOLDER = "@unocss-placeholder";
|
|
@@ -154,6 +152,15 @@ async function applyTransformers(ctx, original, id, enforce = "default") {
|
|
|
154
152
|
}
|
|
155
153
|
}
|
|
156
154
|
|
|
155
|
+
const version = "0.51.3";
|
|
156
|
+
|
|
157
|
+
const defaultConfig = {
|
|
158
|
+
envMode: "build",
|
|
159
|
+
presets: [
|
|
160
|
+
presetUno()
|
|
161
|
+
]
|
|
162
|
+
};
|
|
163
|
+
|
|
157
164
|
class PrettyError extends Error {
|
|
158
165
|
constructor(message) {
|
|
159
166
|
super(message);
|
|
@@ -170,13 +177,6 @@ function handleError(error) {
|
|
|
170
177
|
process.exitCode = 1;
|
|
171
178
|
}
|
|
172
179
|
|
|
173
|
-
const defaultConfig = {
|
|
174
|
-
envMode: "build",
|
|
175
|
-
presets: [
|
|
176
|
-
presetUno()
|
|
177
|
-
]
|
|
178
|
-
};
|
|
179
|
-
|
|
180
180
|
let watcher;
|
|
181
181
|
async function getWatcher(options) {
|
|
182
182
|
if (watcher && !options)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/cli",
|
|
3
|
-
"version": "0.51.
|
|
3
|
+
"version": "0.51.3",
|
|
4
4
|
"description": "CLI for UnoCSS",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Johann Schopplich",
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"node": ">=14"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ampproject/remapping": "^2.2.
|
|
42
|
+
"@ampproject/remapping": "^2.2.1",
|
|
43
43
|
"@rollup/pluginutils": "^5.0.2",
|
|
44
44
|
"cac": "^6.7.14",
|
|
45
45
|
"chokidar": "^3.5.3",
|
|
46
46
|
"colorette": "^2.0.19",
|
|
47
|
-
"consola": "^
|
|
47
|
+
"consola": "^3.0.0",
|
|
48
48
|
"fast-glob": "^3.2.12",
|
|
49
49
|
"magic-string": "^0.30.0",
|
|
50
50
|
"pathe": "^1.1.0",
|
|
51
51
|
"perfect-debounce": "^0.1.3",
|
|
52
|
-
"@unocss/config": "0.51.
|
|
53
|
-
"@unocss/core": "0.51.
|
|
54
|
-
"@unocss/preset-uno": "0.51.
|
|
52
|
+
"@unocss/config": "0.51.3",
|
|
53
|
+
"@unocss/core": "0.51.3",
|
|
54
|
+
"@unocss/preset-uno": "0.51.3"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "unbuild",
|