@yamada-ui/cli 2.1.14 → 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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -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.14",
4
+ "version": "2.1.15-dev-20261007075338",
5
5
  "description": "The official CLI for Yamada UI projects",
6
6
  "keywords": [
7
7
  "theme",