antm
antm copied to clipboard
前端工程应用工具集, 文档工具:https://antmjs.github.io/antm/antm-doc/#/introduce
### 错误描述: 执行 `npx antm-doc-start` 命令报错 这看起来是一个json文件解析报错,但我审查过json文件内容发现并无问题。 ``` ERROR in ./.temp/wm-taro-design/all-search.json Module parse failed: Cannot parse JSON: Unexpected token ";" (0x3B) in JSON at position 1718893 while parsing near "...样式变量...
修复执行 rapper swagger 命令时出现常量被修改的错误,导致无法生成对应文档的问题 执行`scripts`语句: ``` "rapper": "antm-api file --path ./src/actions/rapper/types --action true", "swagger": "antm-api swagger --path ./src/actions/swagger/types --url https://petstore.swagger.io/v2/swagger.json" ``` 错误信息: ``` $ yarn swagger yarn run v1.22.19 $...
这样的规则 /api/post/{id}.json
1、packages/api/src/config/getPrettierConfig.ts const 只读问题 2、packages/api/src/swagger/transform.ts 生成字符串连写导致export出错问题