@unocss/cli 65.4.0 → 65.4.2
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
|
@@ -2,16 +2,16 @@ import process from 'node:process';
|
|
|
2
2
|
import { loadConfig } from '@unocss/config';
|
|
3
3
|
import { toArray } from '@unocss/core';
|
|
4
4
|
import { cac } from 'cac';
|
|
5
|
-
import { b as build, v as version, h as handleError } from './shared/cli.
|
|
5
|
+
import { b as build, v as version, h as handleError } from './shared/cli.CCbugVal.mjs';
|
|
6
6
|
import 'node:fs';
|
|
7
|
+
import '@rollup/pluginutils';
|
|
8
|
+
import '@ampproject/remapping';
|
|
9
|
+
import 'magic-string';
|
|
7
10
|
import 'colorette';
|
|
8
11
|
import 'consola';
|
|
9
12
|
import 'pathe';
|
|
10
13
|
import 'perfect-debounce';
|
|
11
14
|
import 'tinyglobby';
|
|
12
|
-
import '@rollup/pluginutils';
|
|
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,12 +1,12 @@
|
|
|
1
1
|
import 'node:fs';
|
|
2
2
|
import 'node:process';
|
|
3
|
+
export { b as build, r as resolveOptions } from './shared/cli.CCbugVal.mjs';
|
|
3
4
|
import '@unocss/core';
|
|
4
5
|
import 'colorette';
|
|
5
6
|
import 'consola';
|
|
6
7
|
import 'pathe';
|
|
7
8
|
import 'perfect-debounce';
|
|
8
9
|
import 'tinyglobby';
|
|
9
|
-
export { b as build, r as resolveOptions } from './shared/cli.ApzZB25q.mjs';
|
|
10
10
|
import '@rollup/pluginutils';
|
|
11
11
|
import '@unocss/config';
|
|
12
12
|
import '@ampproject/remapping';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { promises, existsSync } from 'node:fs';
|
|
2
2
|
import process$1 from 'node:process';
|
|
3
|
+
import { createFilter } from '@rollup/pluginutils';
|
|
4
|
+
import { createRecoveryConfigLoader } from '@unocss/config';
|
|
3
5
|
import { cssIdRE, createGenerator, BetterMap, toArray } from '@unocss/core';
|
|
6
|
+
import remapping from '@ampproject/remapping';
|
|
7
|
+
import MagicString from 'magic-string';
|
|
4
8
|
import { cyan, green, dim } from 'colorette';
|
|
5
9
|
import { consola } from 'consola';
|
|
6
10
|
import { resolve, dirname, relative, normalize, basename } from 'pathe';
|
|
7
11
|
import { debounce } from 'perfect-debounce';
|
|
8
12
|
import { glob } from 'tinyglobby';
|
|
9
|
-
import { createFilter } from '@rollup/pluginutils';
|
|
10
|
-
import { createRecoveryConfigLoader } from '@unocss/config';
|
|
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";
|
|
@@ -215,11 +215,12 @@ async function applyTransformers(ctx, original, id, enforce = "default") {
|
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
const version = "65.4.
|
|
218
|
+
const version = "65.4.2";
|
|
219
219
|
|
|
220
220
|
const defaultConfig = {
|
|
221
221
|
envMode: "build",
|
|
222
222
|
presets: [
|
|
223
|
+
// TODO: Remove the default presets to make engine more agnostic
|
|
223
224
|
presetUno()
|
|
224
225
|
]
|
|
225
226
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "65.4.
|
|
4
|
+
"version": "65.4.2",
|
|
5
5
|
"description": "CLI for UnoCSS",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Johann Schopplich",
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"funding": "https://github.com/sponsors/antfu",
|
|
13
|
-
"homepage": "https://
|
|
13
|
+
"homepage": "https://unocss.dev",
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
16
|
"url": "https://github.com/unocss/unocss",
|
|
17
|
-
"directory": "packages/cli"
|
|
17
|
+
"directory": "packages-engine/cli"
|
|
18
18
|
},
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "https://github.com/unocss/unocss/issues"
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"cac": "^6.7.14",
|
|
46
46
|
"chokidar": "^3.6.0",
|
|
47
47
|
"colorette": "^2.0.20",
|
|
48
|
-
"consola": "^3.
|
|
48
|
+
"consola": "^3.4.0",
|
|
49
49
|
"magic-string": "^0.30.17",
|
|
50
50
|
"pathe": "^1.1.2",
|
|
51
51
|
"perfect-debounce": "^1.0.0",
|
|
52
52
|
"tinyglobby": "^0.2.10",
|
|
53
|
-
"@unocss/
|
|
54
|
-
"@unocss/
|
|
55
|
-
"@unocss/core": "65.4.
|
|
53
|
+
"@unocss/config": "65.4.2",
|
|
54
|
+
"@unocss/preset-uno": "65.4.2",
|
|
55
|
+
"@unocss/core": "65.4.2"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "unbuild",
|