@camox/cli 0.28.4 → 0.28.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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -27
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -638,8 +638,7 @@ async function handler$6(args) {
638
638
  const packageManagerVersions = {
639
639
  pnpm: "pnpm@11.1.3",
640
640
  bun: "bun@1.2.23",
641
- npm: "npm@11.6.2",
642
- yarn: "yarn@4.9.2"
641
+ npm: "npm@11.6.2"
643
642
  };
644
643
  const pmCommands = {
645
644
  pnpm: {
@@ -685,26 +684,6 @@ const pmCommands = {
685
684
  args: ["run", "dev"],
686
685
  display: "npm run dev"
687
686
  }
688
- },
689
- yarn: {
690
- install: {
691
- bin: "corepack",
692
- args: ["yarn", "install"],
693
- display: "yarn install",
694
- fallback: {
695
- bin: "yarn",
696
- args: ["install"]
697
- }
698
- },
699
- dev: {
700
- bin: "corepack",
701
- args: ["yarn", "dev"],
702
- display: "yarn dev",
703
- fallback: {
704
- bin: "yarn",
705
- args: ["dev"]
706
- }
707
- }
708
687
  }
709
688
  };
710
689
  function copyDir(src, dest, replacements) {
@@ -795,7 +774,6 @@ function startPackageManagerCommand(command, cwd) {
795
774
  function getCommandFailureMessage(pm, err) {
796
775
  if (!isMissingCommandError(err)) return "Failed to install dependencies.";
797
776
  if (pm === "pnpm") return "Corepack or pnpm is required to install dependencies with the selected package manager. Enable Corepack with `corepack enable` or install pnpm, then run the setup commands below.";
798
- if (pm === "yarn") return "Corepack or Yarn is required to install dependencies with the selected package manager. Enable Corepack with `corepack enable` or install Yarn, then run the setup commands below.";
799
777
  if (pm === "bun") return "Bun is required to install dependencies with the selected package manager. Install Bun, then run the setup commands below.";
800
778
  return "npm is required to install dependencies. Install npm, then run the setup commands below.";
801
779
  }
@@ -914,10 +892,6 @@ async function init() {
914
892
  {
915
893
  value: "npm",
916
894
  label: "npm"
917
- },
918
- {
919
- value: "yarn",
920
- label: "yarn"
921
895
  }
922
896
  ]
923
897
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camox/cli",
3
- "version": "0.28.4",
3
+ "version": "0.28.6",
4
4
  "bin": {
5
5
  "camox": "./dist/index.mjs"
6
6
  },
@@ -26,7 +26,7 @@
26
26
  "@types/node": "^24.12.4",
27
27
  "@typescript/native-preview": "7.0.0-dev.20260412.1",
28
28
  "vite-plus": "^0.1.21",
29
- "@camox/api-contract": "0.28.4"
29
+ "@camox/api-contract": "0.28.6"
30
30
  },
31
31
  "nx": {
32
32
  "tags": [