@unocss/cli 0.31.10 → 0.31.14
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.mjs +2 -3
- package/package.json +4 -4
package/dist/chunks/index.mjs
CHANGED
|
@@ -5,10 +5,10 @@ import consola from 'consola';
|
|
|
5
5
|
import { cyan, green, dim } from 'colorette';
|
|
6
6
|
import { debounce } from 'perfect-debounce';
|
|
7
7
|
import { createGenerator, toArray } from '@unocss/core';
|
|
8
|
-
import {
|
|
8
|
+
import { loadConfig } from '@unocss/config';
|
|
9
9
|
import presetUno from '@unocss/preset-uno';
|
|
10
10
|
|
|
11
|
-
const version = "0.31.
|
|
11
|
+
const version = "0.31.14";
|
|
12
12
|
|
|
13
13
|
class PrettyError extends Error {
|
|
14
14
|
constructor(message) {
|
|
@@ -56,7 +56,6 @@ async function resolveOptions(options) {
|
|
|
56
56
|
}
|
|
57
57
|
async function build(_options) {
|
|
58
58
|
const options = await resolveOptions(_options);
|
|
59
|
-
const loadConfig = createConfigLoader(process.cwd());
|
|
60
59
|
const { config, sources: configSources } = await loadConfig();
|
|
61
60
|
uno = createGenerator(config, defaultConfig);
|
|
62
61
|
const files = await fg(options.patterns);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/cli",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.14",
|
|
4
4
|
"description": "CLI for UnoCSS",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/unocss/unocss/tree/main/packages/cli#readme",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"node": ">=14"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@unocss/config": "0.31.
|
|
43
|
-
"@unocss/core": "0.31.
|
|
44
|
-
"@unocss/preset-uno": "0.31.
|
|
42
|
+
"@unocss/config": "0.31.14",
|
|
43
|
+
"@unocss/core": "0.31.14",
|
|
44
|
+
"@unocss/preset-uno": "0.31.14",
|
|
45
45
|
"cac": "^6.7.12",
|
|
46
46
|
"chokidar": "^3.5.3",
|
|
47
47
|
"colorette": "^2.0.16",
|