@yamada-ui/cli 2.0.0-dev-20251017020803 → 2.0.0-dev-20251017043746

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.js +8 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5287,7 +5287,7 @@ const DEFAULT_PACKAGE_NAME = {
5287
5287
  ui: "@workspaces/ui",
5288
5288
  theme: "@workspaces/theme"
5289
5289
  };
5290
- const REGISTRY_URL = "https://v2.yamada-ui.com/registry/v2";
5290
+ const REGISTRY_URL = "https://yamada-ui.com/registry/v2";
5291
5291
  const DEFAULT_PATH = {
5292
5292
  components: "./components",
5293
5293
  hooks: "./hooks",
@@ -5313,8 +5313,12 @@ const DEFAULT_CONFIG = {
5313
5313
  providers: { overwrite: true }
5314
5314
  };
5315
5315
  const REQUIRED_DEPENDENCIES = {
5316
- ui: ["react@^19", "react-dom@^19"],
5317
- theme: []
5316
+ ui: [
5317
+ "react@^19",
5318
+ "react-dom@^19",
5319
+ "@yamada-ui/react@^2"
5320
+ ],
5321
+ theme: ["@yamada-ui/react@^2"]
5318
5322
  };
5319
5323
  const REQUIRED_DEV_DEPENDENCIES = {
5320
5324
  ui: ["@types/react@^19", "@types/react-dom@^19"],
@@ -6786,7 +6790,7 @@ const init = new Command("init").description("initialize your project and instal
6786
6790
  await new Listr([{
6787
6791
  task: async (_, task) => {
6788
6792
  const packageJson$2 = await getPackageJson(cwd$3);
6789
- notInstalledDependencies.push(...getNotInstalledDependencies(packageJson$2, [...REQUIRED_DEPENDENCIES.ui, "@yamada-ui/react@dev"]));
6793
+ notInstalledDependencies.push(...getNotInstalledDependencies(packageJson$2, REQUIRED_DEPENDENCIES.ui));
6790
6794
  notInstalledDevDependencies.push(...getNotInstalledDependencies(packageJson$2, REQUIRED_DEV_DEPENDENCIES.ui));
6791
6795
  task.title = `Checked ${c.cyan("package.json")} dependencies`;
6792
6796
  },
@@ -6822,7 +6826,6 @@ const init = new Command("init").description("initialize your project and instal
6822
6826
  cwd: cwd$3,
6823
6827
  dev: true
6824
6828
  });
6825
- if (monorepo) await installDependencies(["@yamada-ui/react@dev"], { cwd: outdirPath });
6826
6829
  spinner.succeed("Installed dependencies");
6827
6830
  }
6828
6831
  if (monorepo) {
@@ -6976,7 +6979,6 @@ const theme = new Command("theme").description("generate theme to your project")
6976
6979
  if (install) {
6977
6980
  spinner.start("Installing dependencies");
6978
6981
  await installDependencies([], { cwd: cwd$3 });
6979
- await installDependencies(["@yamada-ui/react@dev"], { cwd: outdirPath });
6980
6982
  spinner.succeed("Installed dependencies");
6981
6983
  }
6982
6984
  const packageManager = getPackageManager();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yamada-ui/cli",
3
3
  "type": "module",
4
- "version": "2.0.0-dev-20251017020803",
4
+ "version": "2.0.0-dev-20251017043746",
5
5
  "description": "The official CLI for Yamada UI projects",
6
6
  "keywords": [
7
7
  "theme",