@yamada-ui/cli 1.2.5 → 1.2.6

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.
@@ -675,7 +675,8 @@ var getSource = async (branch) => {
675
675
  var getFileMap = async (cwd, branch) => {
676
676
  const source = await getSource(branch);
677
677
  const fileMap = /* @__PURE__ */ new Map();
678
- const targetPath = `${REPO_NAME}-${branch.replace("/", "-")}/packages/theme/src`;
678
+ const normalizedBranch = branch.startsWith("v") ? branch.slice(1) : branch;
679
+ const targetPath = `${REPO_NAME}-${normalizedBranch}/packages/theme/src`;
679
680
  const filter = (path5) => {
680
681
  return path5.startsWith(targetPath);
681
682
  };
@@ -623,7 +623,8 @@ var getSource = async (branch) => {
623
623
  var getFileMap = async (cwd, branch) => {
624
624
  const source = await getSource(branch);
625
625
  const fileMap = /* @__PURE__ */ new Map();
626
- const targetPath = `${REPO_NAME}-${branch.replace("/", "-")}/packages/theme/src`;
626
+ const normalizedBranch = branch.startsWith("v") ? branch.slice(1) : branch;
627
+ const targetPath = `${REPO_NAME}-${normalizedBranch}/packages/theme/src`;
627
628
  const filter = (path3) => {
628
629
  return path3.startsWith(targetPath);
629
630
  };
package/dist/index.js CHANGED
@@ -6445,7 +6445,7 @@ var import_path6 = __toESM(require("path"));
6445
6445
  // package.json
6446
6446
  var package_default = {
6447
6447
  name: "@yamada-ui/cli",
6448
- version: "1.2.5",
6448
+ version: "1.2.6",
6449
6449
  description: "Generate theme tokens for autocomplete",
6450
6450
  keywords: [
6451
6451
  "theme",
@@ -9295,7 +9295,8 @@ var getSource = async (branch) => {
9295
9295
  var getFileMap = async (cwd, branch) => {
9296
9296
  const source = await getSource(branch);
9297
9297
  const fileMap = /* @__PURE__ */ new Map();
9298
- const targetPath = `${REPO_NAME}-${branch.replace("/", "-")}/packages/theme/src`;
9298
+ const normalizedBranch = branch.startsWith("v") ? branch.slice(1) : branch;
9299
+ const targetPath = `${REPO_NAME}-${normalizedBranch}/packages/theme/src`;
9299
9300
  const filter = (path14) => {
9300
9301
  return path14.startsWith(targetPath);
9301
9302
  };
package/dist/utils/cli.js CHANGED
@@ -9078,7 +9078,7 @@ function updateNotifier(options) {
9078
9078
  // package.json
9079
9079
  var package_default = {
9080
9080
  name: "@yamada-ui/cli",
9081
- version: "1.2.5",
9081
+ version: "1.2.6",
9082
9082
  description: "Generate theme tokens for autocomplete",
9083
9083
  keywords: [
9084
9084
  "theme",
@@ -9107,7 +9107,7 @@ function updateNotifier(options) {
9107
9107
  // package.json
9108
9108
  var package_default = {
9109
9109
  name: "@yamada-ui/cli",
9110
- version: "1.2.5",
9110
+ version: "1.2.6",
9111
9111
  description: "Generate theme tokens for autocomplete",
9112
9112
  keywords: [
9113
9113
  "theme",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/cli",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Generate theme tokens for autocomplete",
5
5
  "keywords": [
6
6
  "theme",