@unocss/cli 0.57.2 → 0.57.4

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,7 +2,7 @@ import process from 'node:process';
2
2
  import { cac } from 'cac';
3
3
  import { loadConfig } from '@unocss/config';
4
4
  import { toArray } from '@unocss/core';
5
- import { b as build, v as version, h as handleError } from './shared/cli.2585a9fb.mjs';
5
+ import { b as build, v as version, h as handleError } from './shared/cli.a9c8e04a.mjs';
6
6
  import 'node:fs';
7
7
  import 'pathe';
8
8
  import 'fast-glob';
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import 'consola';
6
6
  import 'colorette';
7
7
  import 'perfect-debounce';
8
8
  import '@unocss/core';
9
- export { b as build, r as resolveOptions } from './shared/cli.2585a9fb.mjs';
9
+ export { b as build, r as resolveOptions } from './shared/cli.a9c8e04a.mjs';
10
10
  import '@rollup/pluginutils';
11
11
  import '@unocss/config';
12
12
  import 'magic-string';
@@ -138,7 +138,9 @@ function createContext(configOrPath, defaults = {}, extraConfigSources = [], res
138
138
  uno,
139
139
  extract,
140
140
  getConfig,
141
- root,
141
+ get root() {
142
+ return root;
143
+ },
142
144
  updateRoot,
143
145
  getConfigFileList: () => configFileList
144
146
  };
@@ -204,7 +206,7 @@ function restoreSkipCode(code, map) {
204
206
  return code;
205
207
  }
206
208
 
207
- const version = "0.57.2";
209
+ const version = "0.57.4";
208
210
 
209
211
  const defaultConfig = {
210
212
  envMode: "build",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/cli",
3
- "version": "0.57.2",
3
+ "version": "0.57.4",
4
4
  "description": "CLI for UnoCSS",
5
5
  "author": {
6
6
  "name": "Johann Schopplich",
@@ -45,13 +45,13 @@
45
45
  "chokidar": "^3.5.3",
46
46
  "colorette": "^2.0.20",
47
47
  "consola": "^3.2.3",
48
- "fast-glob": "^3.3.1",
48
+ "fast-glob": "^3.3.2",
49
49
  "magic-string": "^0.30.5",
50
50
  "pathe": "^1.1.1",
51
51
  "perfect-debounce": "^1.0.0",
52
- "@unocss/config": "0.57.2",
53
- "@unocss/core": "0.57.2",
54
- "@unocss/preset-uno": "0.57.2"
52
+ "@unocss/config": "0.57.4",
53
+ "@unocss/core": "0.57.4",
54
+ "@unocss/preset-uno": "0.57.4"
55
55
  },
56
56
  "scripts": {
57
57
  "build": "unbuild",