react-native-update-cli 1.32.2 → 1.32.3
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/lib/index.js +3 -2
- package/package.json +1 -1
- package/src/index.ts +6 -2
package/lib/index.js
CHANGED
|
@@ -15,9 +15,10 @@ function _interop_require_default(obj) {
|
|
|
15
15
|
(0, _updatenotifier.default)({
|
|
16
16
|
pkg: _packagejson.default
|
|
17
17
|
}).notify({
|
|
18
|
-
isGlobal: true
|
|
18
|
+
isGlobal: true,
|
|
19
|
+
message: '建议运行 `{updateCommand}` 来更新命令行工具以获得功能、性能和安全性的持续改进'
|
|
19
20
|
});
|
|
20
|
-
function printUsage(
|
|
21
|
+
function printUsage() {
|
|
21
22
|
// const commandName = args[0];
|
|
22
23
|
// TODO: print usage of commandName, or print global usage.
|
|
23
24
|
console.log('Usage is under development now.');
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -5,9 +5,13 @@ import updateNotifier from 'update-notifier';
|
|
|
5
5
|
import { printVersionCommand } from './utils/index.js';
|
|
6
6
|
import pkg from '../package.json';
|
|
7
7
|
|
|
8
|
-
updateNotifier({ pkg }).notify({
|
|
8
|
+
updateNotifier({ pkg }).notify({
|
|
9
|
+
isGlobal: true,
|
|
10
|
+
message:
|
|
11
|
+
'建议运行 `{updateCommand}` 来更新命令行工具以获得功能、性能和安全性的持续改进',
|
|
12
|
+
});
|
|
9
13
|
|
|
10
|
-
function printUsage(
|
|
14
|
+
function printUsage() {
|
|
11
15
|
// const commandName = args[0];
|
|
12
16
|
// TODO: print usage of commandName, or print global usage.
|
|
13
17
|
|