@unocss/cli 0.50.6 → 0.50.7
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/README.md +2 -2
- package/dist/cli.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{cli.b1980e41.mjs → cli.ba212819.mjs} +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ The CLI for UnoCSS. A perfect fit for traditional backends.
|
|
|
6
6
|
|
|
7
7
|
- 🍱 Suited for traditional backends like Laravel or Kirby
|
|
8
8
|
- 👀 [Watch mode](#development) included
|
|
9
|
-
- 🔌 Supports custom configurations via [`
|
|
9
|
+
- 🔌 Supports custom configurations via [`uno.config.ts`](#unocssconfigjs-support)
|
|
10
10
|
|
|
11
11
|
## Requirements
|
|
12
12
|
|
|
@@ -70,7 +70,7 @@ The final `uno.css` will be generated to the current directory by default.
|
|
|
70
70
|
|
|
71
71
|
### Configurations
|
|
72
72
|
|
|
73
|
-
Create a `
|
|
73
|
+
Create a `uno.config.ts` or `uno.config.ts` configuration file the root-level of your project to customize UnoCSS.
|
|
74
74
|
|
|
75
75
|
```js
|
|
76
76
|
import { defineConfig } from 'unocss'
|
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.ba212819.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.ba212819.mjs';
|
|
9
9
|
import '@rollup/pluginutils';
|
|
10
10
|
import '@unocss/config';
|
|
11
11
|
import 'magic-string';
|
|
@@ -11,7 +11,7 @@ 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.50.
|
|
14
|
+
const version = "0.50.7";
|
|
15
15
|
|
|
16
16
|
const INCLUDE_COMMENT = "@unocss-include";
|
|
17
17
|
const IGNORE_COMMENT = "@unocss-ignore";
|
|
@@ -178,7 +178,7 @@ const defaultConfig = {
|
|
|
178
178
|
};
|
|
179
179
|
|
|
180
180
|
let watcher;
|
|
181
|
-
|
|
181
|
+
async function getWatcher(options) {
|
|
182
182
|
if (watcher && !options)
|
|
183
183
|
return watcher;
|
|
184
184
|
const { watch } = await import('chokidar');
|
|
@@ -191,7 +191,7 @@ const getWatcher = async (options) => {
|
|
|
191
191
|
});
|
|
192
192
|
watcher = newWatcher;
|
|
193
193
|
return newWatcher;
|
|
194
|
-
}
|
|
194
|
+
}
|
|
195
195
|
|
|
196
196
|
const name = "unocss";
|
|
197
197
|
async function resolveOptions(options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/cli",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.7",
|
|
4
4
|
"description": "CLI for UnoCSS",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Johann Schopplich",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"magic-string": "^0.30.0",
|
|
50
50
|
"pathe": "^1.1.0",
|
|
51
51
|
"perfect-debounce": "^0.1.3",
|
|
52
|
-
"@unocss/config": "0.50.
|
|
53
|
-
"@unocss/core": "0.50.
|
|
54
|
-
"@unocss/preset-uno": "0.50.
|
|
52
|
+
"@unocss/config": "0.50.7",
|
|
53
|
+
"@unocss/core": "0.50.7",
|
|
54
|
+
"@unocss/preset-uno": "0.50.7"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"build": "unbuild",
|