@ant-design/cli 6.4.1 → 6.4.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.
- package/data/v6.4.2.json.gz +0 -0
- package/data/v6.json.gz +0 -0
- package/data/versions.json +1 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
Binary file
|
package/data/v6.json.gz
CHANGED
|
Binary file
|
package/data/versions.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -22387,7 +22387,7 @@ function collectAntdEnv(cwd, versionOverride) {
|
|
|
22387
22387
|
function collectCliEnv() {
|
|
22388
22388
|
let cliVersion;
|
|
22389
22389
|
try {
|
|
22390
|
-
cliVersion = "6.4.
|
|
22390
|
+
cliVersion = "6.4.2";
|
|
22391
22391
|
} catch (err) {
|
|
22392
22392
|
console.error("Failed to get CLI version:", err);
|
|
22393
22393
|
cliVersion = "unknown";
|
|
@@ -37102,7 +37102,7 @@ function registerMcpCommand(program3) {
|
|
|
37102
37102
|
const opts = program3.opts();
|
|
37103
37103
|
const versionInfo = detectVersion(opts.version);
|
|
37104
37104
|
const server = new Server(
|
|
37105
|
-
{ name: "antd", version: "6.4.
|
|
37105
|
+
{ name: "antd", version: "6.4.2" },
|
|
37106
37106
|
{ capabilities: { tools: {}, prompts: {} } }
|
|
37107
37107
|
);
|
|
37108
37108
|
const handleTool = createToolHandler({
|
|
@@ -37193,7 +37193,7 @@ function printUpdateNotice(currentVersion, latestVersion) {
|
|
|
37193
37193
|
}
|
|
37194
37194
|
async function checkForUpdate() {
|
|
37195
37195
|
if (process.env.CI || process.env.NO_UPDATE_CHECK) return;
|
|
37196
|
-
const currentVersion = "6.4.
|
|
37196
|
+
const currentVersion = "6.4.2";
|
|
37197
37197
|
if (!valid(currentVersion)) return;
|
|
37198
37198
|
const now = Date.now();
|
|
37199
37199
|
const cache = cacheStore.get("updateCache") ?? null;
|
|
@@ -37212,7 +37212,7 @@ async function checkForUpdate() {
|
|
|
37212
37212
|
}
|
|
37213
37213
|
|
|
37214
37214
|
// src/index.ts
|
|
37215
|
-
var CLI_VERSION = "6.4.
|
|
37215
|
+
var CLI_VERSION = "6.4.2";
|
|
37216
37216
|
var program2 = new Command();
|
|
37217
37217
|
program2.name("antd").description("CLI tool for querying antd knowledge and analyzing antd usage").option("--format <format>", "Output format: json, text, or markdown", "text").option("--version <version>", "Target antd version (e.g. 5.20.0)").option("--lang <lang>", "Output language: en or zh", "en").option("--detail", "Full information output", false);
|
|
37218
37218
|
program2.addOption(new Option("-V, --cli-version", "Output the CLI version number"));
|