Browse Source

chore: v0.2.2

张雨涵 2 năm trước cách đây
mục cha
commit
9e83384cc6
4 tập tin đã thay đổi với 342 bổ sung306 xóa
  1. 2 0
      .npmrc
  2. 39 0
      README.md
  3. 3 2
      package.json
  4. 298 304
      yarn.lock

+ 2 - 0
.npmrc

@@ -0,0 +1,2 @@
+registry=https://registry.npmmirror.com/
+@jianyu:registry=http://192.168.3.207:4873/

+ 39 - 0
README.md

@@ -25,8 +25,10 @@ USAGE
 <!-- usagestop -->
 # Commands
 <!-- commands -->
+* [`jianyu create`](#jianyu-create)
 * [`jianyu cz`](#jianyu-cz)
 * [`jianyu help [COMMANDS]`](#jianyu-help-commands)
+* [`jianyu init DIR`](#jianyu-init-dir)
 * [`jianyu plugins`](#jianyu-plugins)
 * [`jianyu plugins:install PLUGIN...`](#jianyu-pluginsinstall-plugin)
 * [`jianyu plugins:inspect PLUGIN...`](#jianyu-pluginsinspect-plugin)
@@ -38,6 +40,21 @@ USAGE
 * [`jianyu plugins:update`](#jianyu-pluginsupdate)
 * [`jianyu sync`](#jianyu-sync)
 
+## `jianyu create`
+
+创建项目-命令行交互式
+
+```
+USAGE
+  $ jianyu create
+
+DESCRIPTION
+  创建项目-命令行交互式
+
+EXAMPLES
+  $ jianyu create
+```
+
 ## `jianyu cz`
 
 git 提交规范 - 交互式
@@ -73,6 +90,28 @@ DESCRIPTION
 
 _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.8/src/commands/help.ts)_
 
+## `jianyu init DIR`
+
+初始化项目
+
+```
+USAGE
+  $ jianyu init DIR -f <value>
+
+ARGUMENTS
+  DIR  目录名,同时用于项目名
+
+FLAGS
+  -f, --from=<value>  (required) 指定拉取模版的名称
+
+DESCRIPTION
+  初始化项目
+
+EXAMPLES
+  $ jianyu init new-dir --from component
+  创建目录并拉取指定模版初始化项目
+```
+
 ## `jianyu plugins`
 
 List installed plugins.

+ 3 - 2
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@jianyu/cli",
-  "version": "0.2.1-beta.1",
+  "version": "0.2.2",
   "description": "剑鱼前端脚手架,提供项目初始化、包更新等基础能力",
   "author": "zhangyuhan",
   "keywords": [
@@ -29,7 +29,8 @@
     "@oclif/plugin-plugins": "^2.4.3",
     "@oclif/plugin-warn-if-update-available": "^2.0.32",
     "ejs": "^3.1.9",
-    "inquirer": "^8.2.1"
+    "inquirer": "^8.2.1",
+    "replace-in-file": "^6.3.5"
   },
   "devDependencies": {
     "@oclif/test": "^2.3.11",

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 298 - 304
yarn.lock


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác