qdmp-cli 0.0.1 → 0.0.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.
Files changed (2) hide show
  1. package/README.md +29 -2
  2. package/package.json +5 -6
package/README.md CHANGED
@@ -4,9 +4,9 @@
4
4
 
5
5
 
6
6
  ## ✨ 功能特性
7
- - 项目初始化与模板管理
7
+ - 项目初始化与模板选择
8
8
  - 用户认证与权限管理
9
- - 小程序版本上传与发布
9
+ - 小程序版本上传
10
10
  - 开发工作流自动化
11
11
 
12
12
  ## 🚀 快速开始
@@ -15,3 +15,30 @@
15
15
  ```bash
16
16
  npm install -g qdmp-cli
17
17
  ```
18
+
19
+ ### 根目录下配置 qdmp.json
20
+ ```json
21
+ {
22
+ "appId": "your_app_id",
23
+ }
24
+ ```
25
+ ### 初始化项目
26
+ ```bash
27
+ qdmp-cli create [options] <app-name>
28
+ ```
29
+ ### 查看可选模版
30
+ ```bash
31
+ qdmp-cli list
32
+ ```
33
+ ### 登录
34
+ ```bash
35
+ qdmp-cli login
36
+ ```
37
+ ### 查看当前用户
38
+ ```bash
39
+ qdmp-cli getMe
40
+ ```
41
+ ### 上传版本
42
+ ```bash
43
+ qdmp-cli upload
44
+ ```
package/package.json CHANGED
@@ -1,13 +1,16 @@
1
1
  {
2
2
  "name": "qdmp-cli",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "qdmp-cli",
5
5
  "main": "index.js",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "test": "echo \"Error: no test specified\" && exit 1"
9
9
  },
10
- "bin": "./index.js",
10
+ "bin": {
11
+ "qdmp": "./index.js",
12
+ "qdmp-cli": "./index.js"
13
+ },
11
14
  "keywords": [],
12
15
  "author": "zhangyanran",
13
16
  "license": "ISC",
@@ -20,9 +23,5 @@
20
23
  "ora": "^8.2.0",
21
24
  "shelljs": "^0.10.0",
22
25
  "table": "^6.9.0"
23
- },
24
- "publishConfig": {
25
- "@frontend:registry": " http://g.echo.tech/api/v4/projects/1107/packages/npm/"
26
26
  }
27
-
28
27
  }