@yamada-ui/cli 2.1.1-dev-20260316153052 → 2.1.2-dev-20260316175330
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/index.mjs +3 -5
- package/package.json +2 -3
package/dist/index.mjs
CHANGED
|
@@ -20,14 +20,13 @@ import semverGt from "semver/functions/gt.js";
|
|
|
20
20
|
import semver from "semver";
|
|
21
21
|
import boxen from "boxen";
|
|
22
22
|
import { getObject, isArray, isObject, isString, isUndefined, merge, omitObject, toArray } from "@yamada-ui/utils";
|
|
23
|
-
import { mkdir, mkdtemp, readFile, readdir, writeFile } from "fs/promises";
|
|
23
|
+
import { glob, mkdir, mkdtemp, readFile, readdir, writeFile } from "fs/promises";
|
|
24
24
|
import { Listr } from "listr2";
|
|
25
25
|
import ora from "ora";
|
|
26
26
|
import prompts from "prompts";
|
|
27
27
|
import "validate-npm-package-name";
|
|
28
28
|
import YAML from "yamljs";
|
|
29
29
|
import { execFile } from "child_process";
|
|
30
|
-
import { glob } from "glob";
|
|
31
30
|
import { ESLint } from "eslint";
|
|
32
31
|
import { format as format$1, resolveConfig, resolveConfigFile } from "prettier";
|
|
33
32
|
import { transform } from "sucrase";
|
|
@@ -5495,7 +5494,7 @@ function updateNotifier(options) {
|
|
|
5495
5494
|
//#endregion
|
|
5496
5495
|
//#region package.json
|
|
5497
5496
|
var name = "@yamada-ui/cli";
|
|
5498
|
-
var version = "2.1.
|
|
5497
|
+
var version = "2.1.1";
|
|
5499
5498
|
var description = "The official CLI for Yamada UI projects";
|
|
5500
5499
|
var package_default = {
|
|
5501
5500
|
name,
|
|
@@ -5549,7 +5548,6 @@ var package_default = {
|
|
|
5549
5548
|
"diff": "^8.0.3",
|
|
5550
5549
|
"esbuild": "^0.27.4",
|
|
5551
5550
|
"eslint": "^9.39.4",
|
|
5552
|
-
"glob": "^13.0.6",
|
|
5553
5551
|
"https-proxy-agent": "^8.0.0",
|
|
5554
5552
|
"listr2": "^10.2.1",
|
|
5555
5553
|
"node-eval": "^2.0.0",
|
|
@@ -5779,7 +5777,7 @@ function timer() {
|
|
|
5779
5777
|
}
|
|
5780
5778
|
async function getFiles(pattern) {
|
|
5781
5779
|
const files$1 = {};
|
|
5782
|
-
const [dirPath] = await glob(pattern);
|
|
5780
|
+
const [dirPath] = await Array.fromAsync(glob(pattern));
|
|
5783
5781
|
const dirents = await readdir(dirPath, { withFileTypes: true });
|
|
5784
5782
|
await Promise.all(dirents.map(async (dirent) => {
|
|
5785
5783
|
const name$1 = dirent.name;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.2-dev-20260316175330",
|
|
5
5
|
"description": "The official CLI for Yamada UI projects",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"theme",
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"diff": "^8.0.3",
|
|
40
40
|
"esbuild": "^0.27.4",
|
|
41
41
|
"eslint": "^9.39.4",
|
|
42
|
-
"glob": "^13.0.6",
|
|
43
42
|
"https-proxy-agent": "^8.0.0",
|
|
44
43
|
"listr2": "^10.2.1",
|
|
45
44
|
"node-eval": "^2.0.0",
|
|
@@ -53,7 +52,7 @@
|
|
|
53
52
|
"sucrase": "^3.35.1",
|
|
54
53
|
"validate-npm-package-name": "^7.0.2",
|
|
55
54
|
"yamljs": "^0.3.0",
|
|
56
|
-
"@yamada-ui/utils": "2.1.1
|
|
55
|
+
"@yamada-ui/utils": "2.1.1"
|
|
57
56
|
},
|
|
58
57
|
"devDependencies": {
|
|
59
58
|
"@types/prompts": "^2.4.9",
|