mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-09-16 01:41:37 +08:00
44 lines
2.4 KiB
TypeScript
44 lines
2.4 KiB
TypeScript
export default {
|
|
updateNotifier:
|
|
'Run `{updateCommand}` to update the CLI to get continuous improvements in features, performance, and security.',
|
|
loginFirst:
|
|
'Not logged in.\nPlease run `cresc login` in the project directory to login.',
|
|
lockNotFound:
|
|
'No lock file detected, which may cause inconsistent dependencies and hot-updating issues.',
|
|
multipleLocksFound:
|
|
'Multiple lock files detected ({{lockFiles}}), which may cause inconsistent dependencies and hot-updating issues.',
|
|
lockBestPractice: `
|
|
Best practices for lock files:
|
|
1. All members of the development team should use the same package manager to maintain a single lock file.
|
|
2. Add the lock file to version control (but do not commit multiple lock files of different formats).
|
|
3. Pay attention to changes in the lock file during code review.
|
|
This can reduce the risk of inconsistent dependencies and supply chain attacks.
|
|
`,
|
|
loginExpired:
|
|
'Login information has expired. Please use `cresc login` command to re-login',
|
|
fileSizeExceeded:
|
|
'This file size is {{fileSize}} , exceeding the current quota {{maxSize}} . You may consider upgrading to a higher plan to increase this quota. Details can be found at: {{pricingPageUrl}}',
|
|
bundleNotFound:
|
|
'Bundle file not found. Please ensure that this {{packageType}} is a release version and the bundle file name is the default `{{entryFile}}`',
|
|
buildTimeNotFound:
|
|
'Cannot get the build timestamp of this package. Please update `react-native-update` to the latest version and re-package and upload.',
|
|
latestVersionTag: '(latest: {{version}})',
|
|
rnuVersionNotFound:
|
|
'react-native-update: Cannot get the version number. Please run the command in the project directory',
|
|
unsupportedPlatform: 'Unsupported platform `{{platform}}`',
|
|
appId: 'App ID',
|
|
appName: 'App Name',
|
|
platform: 'Platform',
|
|
totalApps: 'Total {{count}} {{platform}} apps',
|
|
appNotSelected:
|
|
'App not selected. run `cresc selectApp --platform {{platform}}` first!',
|
|
enterAppIdQuestion: 'Enter AppId:',
|
|
appNameQuestion: 'App Name:',
|
|
platformQuestion: 'Platform(ios/android/harmony):',
|
|
createAppSuccess: 'App created successfully (id: {{id}})',
|
|
cancelled: 'Cancelled',
|
|
operationSuccess: 'Operation successful',
|
|
failedToParseUpdateJson: 'Failed to parse file `update.json`. Try to remove it manually.',
|
|
ppkPackageGenerated: 'ppk package generated and saved to: {{- output}}',
|
|
};
|