1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-10-30 06:13:11 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

cli modular refactor (#16)

* add logic to support SENTRY_PROPERTIES parameter

* remove update.json and meta.json files in ppk

* udpapte

* refactor modles

* update

* add package-module file

* update

* update readme file

* modifu cli.json file

* fix command issues

* improve version workflow logic

* udpate

* update

* update

* update

* udpate

* udpate

* add example

* update readme file

* udpate version

* change logic to use pushy command uniformly
This commit is contained in:
波仔糕
2025-07-24 11:46:20 +08:00
committed by GitHub
parent 4cb5f7fa4e
commit e98bcf504f
53 changed files with 10853 additions and 855 deletions

View File

@@ -1,6 +1,7 @@
import { question } from './utils';
import { post, get, replaceSession, saveSession, closeSession } from './api';
import crypto from 'crypto';
import type { CommandContext } from 'types';
import { closeSession, get, post, replaceSession, saveSession } from './api';
import { question } from './utils';
import { t } from './utils/i18n';
function md5(str: string) {
@@ -19,7 +20,7 @@ export const userCommands = {
await saveSession();
console.log(t('welcomeMessage', { name: info.name }));
},
logout: async () => {
logout: async (context: CommandContext) => {
await closeSession();
console.log(t('loggedOut'));
},