@jayfong/x-server 2.69.0 → 2.70.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.
@@ -27,6 +27,7 @@ _yargs.default.command('dev', '开始开发', _ => _.positional('index', {
27
27
  describe: '使用 tsx 运行',
28
28
  type: 'boolean'
29
29
  }).positional('channel', {
30
+ alias: 'h',
30
31
  describe: '渠道',
31
32
  type: 'string'
32
33
  }), async argv => {
@@ -97,6 +98,7 @@ _yargs.default.command('dev', '开始开发', _ => _.positional('index', {
97
98
  type: 'boolean',
98
99
  default: false
99
100
  }).positional('channel', {
101
+ alias: 'h',
100
102
  describe: '渠道',
101
103
  type: 'string'
102
104
  }), async argv => {
@@ -126,6 +128,7 @@ _yargs.default.command('dev', '开始开发', _ => _.positional('index', {
126
128
  });
127
129
  console.log('构建成功');
128
130
  }).command('api', '生成 API', _ => _.positional('channel', {
131
+ alias: 'h',
129
132
  describe: '渠道',
130
133
  type: 'string'
131
134
  }), async argv => {
@@ -142,6 +145,7 @@ _yargs.default.command('dev', '开始开发', _ => _.positional('index', {
142
145
  type: 'boolean',
143
146
  default: false
144
147
  }).positional('channel', {
148
+ alias: 'h',
145
149
  describe: '渠道',
146
150
  type: 'string'
147
151
  }), async argv => {
@@ -176,6 +180,7 @@ _yargs.default.command('dev', '开始开发', _ => _.positional('index', {
176
180
  type: 'boolean',
177
181
  default: false
178
182
  }).positional('channel', {
183
+ alias: 'h',
179
184
  describe: '渠道',
180
185
  type: 'string'
181
186
  }).positional('tsx', {
@@ -206,6 +211,7 @@ _yargs.default.command('dev', '开始开发', _ => _.positional('index', {
206
211
  type: 'string',
207
212
  choices: ['env']
208
213
  }).positional('channel', {
214
+ alias: 'h',
209
215
  describe: '渠道',
210
216
  type: 'string'
211
217
  }), async argv => {
package/lib/cli/cli.js CHANGED
@@ -24,6 +24,7 @@ yargs.command('dev', '开始开发', _ => _.positional('index', {
24
24
  describe: '使用 tsx 运行',
25
25
  type: 'boolean'
26
26
  }).positional('channel', {
27
+ alias: 'h',
27
28
  describe: '渠道',
28
29
  type: 'string'
29
30
  }), async argv => {
@@ -94,6 +95,7 @@ yargs.command('dev', '开始开发', _ => _.positional('index', {
94
95
  type: 'boolean',
95
96
  default: false
96
97
  }).positional('channel', {
98
+ alias: 'h',
97
99
  describe: '渠道',
98
100
  type: 'string'
99
101
  }), async argv => {
@@ -123,6 +125,7 @@ yargs.command('dev', '开始开发', _ => _.positional('index', {
123
125
  });
124
126
  console.log('构建成功');
125
127
  }).command('api', '生成 API', _ => _.positional('channel', {
128
+ alias: 'h',
126
129
  describe: '渠道',
127
130
  type: 'string'
128
131
  }), async argv => {
@@ -139,6 +142,7 @@ yargs.command('dev', '开始开发', _ => _.positional('index', {
139
142
  type: 'boolean',
140
143
  default: false
141
144
  }).positional('channel', {
145
+ alias: 'h',
142
146
  describe: '渠道',
143
147
  type: 'string'
144
148
  }), async argv => {
@@ -173,6 +177,7 @@ yargs.command('dev', '开始开发', _ => _.positional('index', {
173
177
  type: 'boolean',
174
178
  default: false
175
179
  }).positional('channel', {
180
+ alias: 'h',
176
181
  describe: '渠道',
177
182
  type: 'string'
178
183
  }).positional('tsx', {
@@ -203,6 +208,7 @@ yargs.command('dev', '开始开发', _ => _.positional('index', {
203
208
  type: 'string',
204
209
  choices: ['env']
205
210
  }).positional('channel', {
211
+ alias: 'h',
206
212
  describe: '渠道',
207
213
  type: 'string'
208
214
  }), async argv => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jayfong/x-server",
3
- "version": "2.69.0",
3
+ "version": "2.70.0",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "lib/_cjs/index.js",