anl 26.930.0 → 26.1008.0

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/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  [English](https://bianliuzhu.github.io/an-cli/#/en/) | [简体中文](https://bianliuzhu.github.io/an-cli/#/zh-cn/) | [日本語](https://bianliuzhu.github.io/an-cli/#/jp/) | [Español](https://bianliuzhu.github.io/an-cli/#/es/) | [Français](https://bianliuzhu.github.io/an-cli/#/fr/) | [Русский](https://bianliuzhu.github.io/an-cli/#/ru/) | [العربية](https://bianliuzhu.github.io/an-cli/#/ar/)
4
4
 
5
+ > [!NOTE]
6
+ > Starting from version **26.201.0**, new features are documented only in **English** and **简体中文**. Other language versions are no longer updated.
7
+ >
8
+ > 从 **26.201.0** 版本开始,新增功能仅更新 **英文** 和 **简体中文** 文档,其他语言文档不再更新。
9
+
5
10
  ---
6
11
 
7
12
  # Overview
@@ -12,6 +17,7 @@
12
17
  > - `anl mock` command: Generates Mock.js JSON files from local service response types for mock-service-plugin. [Documentation](https://bianliuzhu.github.io/an-cli/#/en/anl-mock).
13
18
  > - `anl lint` command: Generates eslint, stylelint, prettier, commitLint, and VSCode related configurations for React or Vue projects
14
19
  > - `anl git` command: Generates git local configuration with optional features: gitflow standard branch creation, git commit messages subject, and git custom command configuration
20
+ > - `anl skill` command: Initializes Agent Skill files for AI-assisted development, supporting api-report and api-mock skills.
15
21
 
16
22
  ## Features
17
23
 
@@ -27,6 +33,13 @@
27
33
  - 🌐 Supports multiple Swagger server configurations
28
34
  - 🔧 Supports HTTP methods like OPTIONS, HEAD, SEARCH
29
35
 
36
+ - `anl mock`
37
+ - Select one, multiple, or all generated services
38
+ - Recursively generate Mock.js templates with inferred response envelopes
39
+ - Write service-scoped JSON files with `@url` and `@method` headers
40
+ - Preserve existing mocks unless `--overwrite` is specified
41
+ - [Usage and plugin installation](https://bianliuzhu.github.io/an-cli/#/en/anl-mock)
42
+
30
43
  - `anl lint`
31
44
  - 🔍 One-click configuration for various lint tools
32
45
  - 🎨 Automated ESLint configuration
@@ -41,6 +54,11 @@
41
54
  - 🔄 Provides git custom command configuration and entry points
42
55
  - 📦 Automated generation with zero configuration
43
56
 
57
+ - `anl skill`
58
+ - Initialize Agent Skill files for AI-assisted development
59
+ - Support api-report for API change reports and api-mock for AI-assisted mock generation
60
+ - [Usage](https://bianliuzhu.github.io/an-cli/#/en/anl-skill)
61
+
44
62
  ---
45
63
 
46
64
  # 功能概述
@@ -51,6 +69,7 @@
51
69
  > - `anl mock` 命令:从本地服务响应类型生成供 mock-service-plugin 使用的 Mock.js JSON 文件。[使用文档](https://bianliuzhu.github.io/an-cli/#/zh-cn/anl-mock)。
52
70
  > - `anl lint` 命令: 生成 react 或 vue 项目 eslint、stylelint、prettier、commitLint、VSCode相关配置
53
71
  > - `anl git` 命令: 生成 git 本地配置,并设有可选功能: gitflow 标准分支创建、git commit messages 主题、git 自定义命令配置
72
+ > - `anl skill` 命令:初始化 AI 辅助开发的 Agent Skill 文件,支持 api-report 和 api-mock。
54
73
 
55
74
  ## 功能特点
56
75
 
@@ -66,6 +85,13 @@
66
85
  - 🌐 支持多 Swagger 服务器配置
67
86
  - 🔧 支持 OPTIONS、HEAD、SEARCH 等 HTTP 方法
68
87
 
88
+ - `anl mock`
89
+ - 选择单个、多个或全部已生成的服务
90
+ - 推导响应外壳并递归生成 Mock.js 模板
91
+ - 按服务目录输出带有 `@url`、`@method` 注释的 JSON 文件
92
+ - 默认保留已有 mock,仅在指定 `--overwrite` 时覆盖
93
+ - [使用说明与插件安装](https://bianliuzhu.github.io/an-cli/#/zh-cn/anl-mock)
94
+
69
95
  - `anl lint`
70
96
  - 🔍 一键配置各种 lint 工具
71
97
  - 🎨 ESLint 配置自动化
@@ -80,6 +106,11 @@
80
106
  - 🔄 提供 git 自定义命令配置以及入口
81
107
  - 📦 自动化生成 0 配置
82
108
 
109
+ - `anl skill`
110
+ - 初始化 AI 辅助开发的 Agent Skill 文件
111
+ - 支持 api-report 接口变更报告与 api-mock AI 辅助 mock 生成
112
+ - [使用说明](https://bianliuzhu.github.io/an-cli/#/zh-cn/anl-skill)
113
+
83
114
  ---
84
115
 
85
116
  # نظرة عامة على الوظائف
package/lib/package.cjs CHANGED
@@ -1 +1 @@
1
- var e=`26.930.0`;Object.defineProperty(exports,`version`,{enumerable:!0,get:function(){return e}});
1
+ var e=`26.1008.0`;Object.defineProperty(exports,`version`,{enumerable:!0,get:function(){return e}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anl",
3
- "version": "26.930.0",
3
+ "version": "26.1008.0",
4
4
  "description": "FE command line tool",
5
5
  "main": "bin/an-cli.js",
6
6
  "exports": {