@yamada-ui/cli 2.1.14 → 2.1.15-dev-20261008023519

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 +7 -3
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -5507,11 +5507,15 @@ const REQUIRED_DEPENDENCIES = {
5507
5507
  "react-dom@^19",
5508
5508
  `${PACKAGE_NAME}@^2`
5509
5509
  ],
5510
- theme: [`${PACKAGE_NAME}@^2`]
5510
+ theme: [
5511
+ "react@^19",
5512
+ "react-dom@^19",
5513
+ `${PACKAGE_NAME}@^2`
5514
+ ]
5511
5515
  };
5512
5516
  const REQUIRED_DEV_DEPENDENCIES = {
5513
5517
  ui: ["@types/react@^19", "@types/react-dom@^19"],
5514
- theme: []
5518
+ theme: ["@types/react@^19", "@types/react-dom@^19"]
5515
5519
  };
5516
5520
  const DEFAULT_PACKAGE_JSON = {
5517
5521
  version: "1.0.0",
@@ -6035,7 +6039,7 @@ async function getGeneratedNameMap(config) {
6035
6039
  const results = await Promise.all(SECTION_NAMES.map(async (section) => {
6036
6040
  try {
6037
6041
  const sectionPath = config.getSectionResolvedPath(section);
6038
- return [section, (await readdir(sectionPath, { withFileTypes: true })).filter((dirent) => dirent.isDirectory()).map((dirent) => dirent.name)];
6042
+ return [section, (await readdir(sectionPath, { withFileTypes: true })).filter((dirent) => dirent.isDirectory() && existsSync(path.join(sectionPath, dirent.name, "registry.json"))).map((dirent) => dirent.name)];
6039
6043
  } catch {
6040
6044
  return [section, []];
6041
6045
  }
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-20261008023519",
5
5
  "description": "The official CLI for Yamada UI projects",
6
6
  "keywords": [
7
7
  "theme",