@yamada-ui/cli 2.1.14-dev-20261005223346 → 2.1.15-dev-20261007075338
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 +2 -2
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -5393,7 +5393,7 @@ function updateNotifier(options) {
|
|
|
5393
5393
|
var package_default = {
|
|
5394
5394
|
name: "@yamada-ui/cli",
|
|
5395
5395
|
type: "module",
|
|
5396
|
-
version: "2.1.
|
|
5396
|
+
version: "2.1.14",
|
|
5397
5397
|
description: "The official CLI for Yamada UI projects",
|
|
5398
5398
|
keywords: [
|
|
5399
5399
|
"theme",
|
|
@@ -6035,7 +6035,7 @@ async function getGeneratedNameMap(config) {
|
|
|
6035
6035
|
const results = await Promise.all(SECTION_NAMES.map(async (section) => {
|
|
6036
6036
|
try {
|
|
6037
6037
|
const sectionPath = config.getSectionResolvedPath(section);
|
|
6038
|
-
return [section, (await readdir(sectionPath, { withFileTypes: true })).filter((dirent) => dirent.isDirectory()).map((dirent) => dirent.name)];
|
|
6038
|
+
return [section, (await readdir(sectionPath, { withFileTypes: true })).filter((dirent) => dirent.isDirectory() && existsSync(path.join(sectionPath, dirent.name, "registry.json"))).map((dirent) => dirent.name)];
|
|
6039
6039
|
} catch {
|
|
6040
6040
|
return [section, []];
|
|
6041
6041
|
}
|
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.15-dev-20261007075338",
|
|
5
5
|
"description": "The official CLI for Yamada UI projects",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"theme",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"sucrase": "^3.35.1",
|
|
53
53
|
"validate-npm-package-name": "^7.0.2",
|
|
54
54
|
"yamljs": "^0.3.0",
|
|
55
|
-
"@yamada-ui/utils": "2.1.7
|
|
55
|
+
"@yamada-ui/utils": "2.1.7"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/prompts": "^2.4.9",
|