@yamada-ui/cli 2.0.0-dev-20250911080423 → 2.0.0-dev-20250912053134

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 +5 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3608,7 +3608,6 @@ var require_ca_file = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@pn
3608
3608
  return mod && mod.__esModule ? mod : { "default": mod };
3609
3609
  };
3610
3610
  Object.defineProperty(exports, "__esModule", { value: true });
3611
- exports.readCAFileSync = void 0;
3612
3611
  const graceful_fs_1 = __importDefault(require_graceful_fs());
3613
3612
  function readCAFileSync$1(filePath) {
3614
3613
  try {
@@ -3976,7 +3975,6 @@ var require_envKeyToSetting = /* @__PURE__ */ __commonJS({ "../../node_modules/.
3976
3975
  //#region ../../node_modules/.pnpm/@pnpm+config.env-replace@1.1.0/node_modules/@pnpm/config.env-replace/dist/env-replace.js
3977
3976
  var require_env_replace = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@pnpm+config.env-replace@1.1.0/node_modules/@pnpm/config.env-replace/dist/env-replace.js": ((exports) => {
3978
3977
  Object.defineProperty(exports, "__esModule", { value: true });
3979
- exports.envReplace = void 0;
3980
3978
  const ENV_EXPR = /(?<!\\)(\\*)\$\{([^${}]+)\}/g;
3981
3979
  function envReplace$1(settingValue, env$3) {
3982
3980
  return settingValue.replace(ENV_EXPR, replaceEnvMatch.bind(null, env$3));
@@ -4772,13 +4770,13 @@ async function latestVersion(packageName, options) {
4772
4770
  }
4773
4771
 
4774
4772
  //#endregion
4775
- //#region ../../node_modules/.pnpm/is-npm@6.0.0/node_modules/is-npm/index.js
4773
+ //#region ../../node_modules/.pnpm/is-npm@6.1.0/node_modules/is-npm/index.js
4776
4774
  const packageJson = process$1.env.npm_package_json;
4777
4775
  const userAgent = process$1.env.npm_config_user_agent;
4778
- const isNpm6 = Boolean(userAgent && userAgent.startsWith("npm"));
4779
- const isNpm7 = Boolean(packageJson && packageJson.endsWith("package.json"));
4780
- const isNpm = isNpm6 || isNpm7;
4781
- const isYarn = Boolean(userAgent && userAgent.startsWith("yarn"));
4776
+ const isNpm = Boolean(userAgent?.startsWith("npm")) || Boolean(packageJson?.endsWith("package.json"));
4777
+ const isYarn = Boolean(userAgent?.startsWith("yarn"));
4778
+ const isPnpm = Boolean(userAgent?.startsWith("pnpm"));
4779
+ const isBun = Boolean(userAgent?.startsWith("bun"));
4782
4780
  const isNpmOrYarn = isNpm || isYarn;
4783
4781
 
4784
4782
  //#endregion
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-20250911080423",
4
+ "version": "2.0.0-dev-20250912053134",
5
5
  "description": "The official CLI for Yamada UI projects",
6
6
  "keywords": [
7
7
  "theme",