@ant-design/cli 6.5.1 → 6.5.2

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.
Binary file
package/data/v6.json.gz CHANGED
Binary file
@@ -67,6 +67,6 @@
67
67
  "6.1": "6.1.4",
68
68
  "6.2": "6.2.3",
69
69
  "6.4": "6.4.5",
70
- "6.5": "6.5.1"
70
+ "6.5": "6.5.2"
71
71
  }
72
72
  }
package/dist/index.js CHANGED
@@ -19545,7 +19545,7 @@ function collectAntdEnv(cwd, versionOverride) {
19545
19545
  function collectCliEnv() {
19546
19546
  let cliVersion;
19547
19547
  try {
19548
- cliVersion = "6.5.1";
19548
+ cliVersion = "6.5.2";
19549
19549
  } catch (err) {
19550
19550
  console.error("Failed to get CLI version:", err);
19551
19551
  cliVersion = "unknown";
@@ -21758,7 +21758,7 @@ function printUpdateNotice(currentVersion, latestVersion) {
21758
21758
  }
21759
21759
  async function checkForUpdate() {
21760
21760
  if (process.env.CI || process.env.NO_UPDATE_CHECK) return;
21761
- const currentVersion = "6.5.1";
21761
+ const currentVersion = "6.5.2";
21762
21762
  if (!valid(currentVersion)) return;
21763
21763
  const now = Date.now();
21764
21764
  const cache = cacheStore.get("updateCache") ?? null;
@@ -21811,7 +21811,7 @@ function runUpgrade(cmd, args) {
21811
21811
  function registerUpgradeCommand(program2) {
21812
21812
  program2.command("upgrade").description("Upgrade the CLI to the latest version").action(async () => {
21813
21813
  const opts = program2.opts();
21814
- const currentVersion = "6.5.1";
21814
+ const currentVersion = "6.5.2";
21815
21815
  let latestVersion;
21816
21816
  try {
21817
21817
  latestVersion = await fetchLatestVersion();
@@ -36258,7 +36258,7 @@ function registerMcpCommand(program2) {
36258
36258
  const opts = program2.opts();
36259
36259
  const versionInfo = detectVersion(opts.version);
36260
36260
  const server = new Server(
36261
- { name: "antd", version: "6.5.1" },
36261
+ { name: "antd", version: "6.5.2" },
36262
36262
  { capabilities: { tools: {}, prompts: {} } }
36263
36263
  );
36264
36264
  const handleTool = createToolHandler({
@@ -36937,7 +36937,7 @@ ${wordmarkLines.join("\n")}`;
36937
36937
  }
36938
36938
 
36939
36939
  // src/index.ts
36940
- var CLI_VERSION = "6.5.1";
36940
+ var CLI_VERSION = "6.5.2";
36941
36941
  function createProgram() {
36942
36942
  const program2 = new Command();
36943
36943
  let displayedRootHelp = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ant-design/cli",
3
- "version": "6.5.1",
3
+ "version": "6.5.2",
4
4
  "description": "CLI tool for querying antd knowledge and analyzing antd usage in projects",
5
5
  "type": "module",
6
6
  "bin": {
Binary file