anl 1.5.14 → 1.5.16
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.ar.md +2 -4
- package/README.md +1 -1
- package/lib/package.json.js +1 -1
- package/package.json +1 -1
package/README.ar.md
CHANGED
|
@@ -6,14 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
an-cli هي أداة سطر الأوامر للواجهة الأمامية، وتتضمن الأمرين التاليين:
|
|
8
8
|
|
|
9
|
-
[أمر anl type](
|
|
9
|
+
[أمر anl type](#أمر anl type): أداة سطر أوامر تقوم تلقائياً بإنشاء تعريفات أنواع TypeScript ودوال طلبات API استناداً إلى Swagger JSON.
|
|
10
10
|
|
|
11
|
-
أمر
|
|
11
|
+
[أمر anl lint](#أمر anl lint): يقوم بإنشاء إعدادات eslint و stylelint و prettier و commitLint و VSCode لمشاريع react أو vue
|
|
12
12
|
|
|
13
13
|
## المميزات
|
|
14
14
|
|
|
15
15
|
- `anl type`
|
|
16
|
-
|
|
17
16
|
- 🚀 التحليل التلقائي لوثائق Swagger JSON
|
|
18
17
|
- 📦 إنشاء ملفات تعريف أنواع TypeScript
|
|
19
18
|
- 🔄 إنشاء دوال طلبات API آمنة النوع
|
|
@@ -22,7 +21,6 @@ an-cli هي أداة سطر الأوامر للواجهة الأمامية، و
|
|
|
22
21
|
- 🎨 دعم تنسيق الكود
|
|
23
22
|
- ⚡️ دعم رفع الملفات
|
|
24
23
|
- 🛠 خيارات قابلة للتكوين لإنشاء الكود
|
|
25
|
-
|
|
26
24
|
- `anl lint`
|
|
27
25
|
- 🔍 تكوين جميع أدوات lint بنقرة واحدة
|
|
28
26
|
- 🎨 تكوين تلقائي لـ ESLint
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ an-cli 是 前端命令行工具,包含以下两个命令
|
|
|
8
8
|
|
|
9
9
|
[anl type 命令](#anl type 命令):基于 Swagger JSON 自动生成 TypeScript 类型定义和 API 请求函数的命令行工具。
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
[anl lint 命令](#anl lint 命令):命令,生成 react 或 vue 项目 eslint、stylelint、prettier、commitLint、VSCode相关配置
|
|
12
12
|
|
|
13
13
|
## 功能特点
|
|
14
14
|
|
package/lib/package.json.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e="1.5.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e="1.5.16",i="FE command line tool",s="bin/an-cli.js",p={dev:"rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript -w",build:"rimraf lib && rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",pub:"bash publish.sh",ts:"tsc ./src/int.ts --noEmit --watch",blink:"npm run build && npm link","sync-docs":"node scripts/sync-docs.js"},l={anl:"bin/an-cli.js"},o="Gleason <bianliuzhu@gmail.com>",t={"@commitlint/cli":"^17.4.3","@commitlint/config-conventional":"^17.4.3","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.1.3","@rollup/plugin-typescript":"^8.3.0","@types/inquirer":"^9.0.7","@types/shelljs":"^0.8.11","@typescript-eslint/eslint-plugin":"^5.52.0","@typescript-eslint/parser":"^5.52.0","cross-env":"^7.0.3",eslint:"^8.7.0",husky:"^8.0.3","openapi-types":"^12.1.3",prettier:"^3.3.2",rimraf:"^5.0.7",rollup:"^2.64.0","rollup-plugin-cleandir":"^2.0.0","rollup-plugin-copy":"^3.5.0","rollup-plugin-terser":"^7.0.2",typescript:"^4.5.4"},r={"app-root-path":"^3.1.0",cac:"^6.7.12",chalk:"4.*","clear-console":"^1.1.0",commander:"^10.0.0",figures:"^6.1.0",inquirer:"^10.1.8","log-symbols":"^5.1.0",ora:"5.*","progress-estimator":"^0.3.0",shelljs:"^0.8.5"},n=["typescript","cli","typescript 脚手架","ts 脚手架","ts-cli","脚手架"],c=["package.json","README.md","lib","template"],u={type:"git",url:"https://github.com/bianliuzhu/an-cli.git"},a="commonjs",m={name:"anl",version:e,description:i,main:s,scripts:p,bin:l,author:o,license:"ISC",devDependencies:t,dependencies:r,keywords:n,files:c,repository:u,type:a};exports.author=o,exports.bin=l,exports.default=m,exports.dependencies=r,exports.description=i,exports.devDependencies=t,exports.files=c,exports.keywords=n,exports.license="ISC",exports.main=s,exports.name="anl",exports.repository=u,exports.scripts=p,exports.type=a,exports.version=e;
|