@unocss/cli 0.62.3 → 0.63.0
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,17 +1,17 @@
|
|
|
1
1
|
import process from 'node:process';
|
|
2
|
-
import { cac } from 'cac';
|
|
3
2
|
import { loadConfig } from '@unocss/config';
|
|
4
3
|
import { toArray } from '@unocss/core';
|
|
5
|
-
import {
|
|
4
|
+
import { cac } from 'cac';
|
|
5
|
+
import { b as build, v as version, h as handleError } from './shared/cli.v6gpEQQ3.mjs';
|
|
6
6
|
import 'node:fs';
|
|
7
|
-
import 'pathe';
|
|
8
|
-
import 'tinyglobby';
|
|
9
|
-
import 'consola';
|
|
10
7
|
import 'colorette';
|
|
8
|
+
import 'consola';
|
|
9
|
+
import 'pathe';
|
|
11
10
|
import 'perfect-debounce';
|
|
11
|
+
import 'tinyglobby';
|
|
12
12
|
import '@rollup/pluginutils';
|
|
13
|
-
import 'magic-string';
|
|
14
13
|
import '@ampproject/remapping';
|
|
14
|
+
import 'magic-string';
|
|
15
15
|
import '@unocss/preset-uno';
|
|
16
16
|
|
|
17
17
|
async function startCli(cwd = process.cwd(), argv = process.argv, options = {}) {
|
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import 'node:fs';
|
|
2
2
|
import 'node:process';
|
|
3
|
-
import '
|
|
4
|
-
import 'tinyglobby';
|
|
5
|
-
import 'consola';
|
|
3
|
+
import '@unocss/core';
|
|
6
4
|
import 'colorette';
|
|
5
|
+
import 'consola';
|
|
6
|
+
import 'pathe';
|
|
7
7
|
import 'perfect-debounce';
|
|
8
|
-
import '
|
|
9
|
-
export { b as build, r as resolveOptions } from './shared/cli.
|
|
8
|
+
import 'tinyglobby';
|
|
9
|
+
export { b as build, r as resolveOptions } from './shared/cli.v6gpEQQ3.mjs';
|
|
10
10
|
import '@rollup/pluginutils';
|
|
11
11
|
import '@unocss/config';
|
|
12
|
-
import 'magic-string';
|
|
13
12
|
import '@ampproject/remapping';
|
|
13
|
+
import 'magic-string';
|
|
14
14
|
import '@unocss/preset-uno';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { promises, existsSync } from 'node:fs';
|
|
2
2
|
import process$1 from 'node:process';
|
|
3
|
-
import {
|
|
4
|
-
import { glob } from 'tinyglobby';
|
|
5
|
-
import { consola } from 'consola';
|
|
3
|
+
import { cssIdRE, createGenerator, BetterMap, toArray } from '@unocss/core';
|
|
6
4
|
import { cyan, green, dim } from 'colorette';
|
|
5
|
+
import { consola } from 'consola';
|
|
6
|
+
import { resolve, dirname, relative, normalize, basename } from 'pathe';
|
|
7
7
|
import { debounce } from 'perfect-debounce';
|
|
8
|
-
import {
|
|
8
|
+
import { glob } from 'tinyglobby';
|
|
9
9
|
import { createFilter } from '@rollup/pluginutils';
|
|
10
10
|
import { createRecoveryConfigLoader } from '@unocss/config';
|
|
11
|
-
import MagicString from 'magic-string';
|
|
12
11
|
import remapping from '@ampproject/remapping';
|
|
12
|
+
import MagicString from 'magic-string';
|
|
13
13
|
import presetUno from '@unocss/preset-uno';
|
|
14
14
|
|
|
15
15
|
const INCLUDE_COMMENT = "@unocss-include";
|
|
@@ -214,7 +214,7 @@ async function applyTransformers(ctx, original, id, enforce = "default") {
|
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
const version = "0.
|
|
217
|
+
const version = "0.63.0";
|
|
218
218
|
|
|
219
219
|
const defaultConfig = {
|
|
220
220
|
envMode: "build",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.63.0",
|
|
5
5
|
"description": "CLI for UnoCSS",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Johann Schopplich",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@ampproject/remapping": "^2.3.0",
|
|
44
|
-
"@rollup/pluginutils": "^5.1.
|
|
44
|
+
"@rollup/pluginutils": "^5.1.2",
|
|
45
45
|
"cac": "^6.7.14",
|
|
46
46
|
"chokidar": "^3.6.0",
|
|
47
47
|
"colorette": "^2.0.20",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"magic-string": "^0.30.11",
|
|
50
50
|
"pathe": "^1.1.2",
|
|
51
51
|
"perfect-debounce": "^1.0.0",
|
|
52
|
-
"tinyglobby": "^0.2.
|
|
53
|
-
"@unocss/
|
|
54
|
-
"@unocss/
|
|
55
|
-
"@unocss/preset-uno": "0.
|
|
52
|
+
"tinyglobby": "^0.2.6",
|
|
53
|
+
"@unocss/core": "0.63.0",
|
|
54
|
+
"@unocss/config": "0.63.0",
|
|
55
|
+
"@unocss/preset-uno": "0.63.0"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "unbuild",
|