gitpadi 2.1.1 → 2.1.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/dist/cli.js +6 -1
- package/dist/commands/drips.js +669 -0
- package/package.json +1 -1
- package/src/cli.ts +5 -1
- package/src/commands/drips.ts +784 -0
package/dist/cli.js
CHANGED
|
@@ -22,10 +22,11 @@ import * as releases from './commands/releases.js';
|
|
|
22
22
|
import * as contribute from './commands/contribute.js';
|
|
23
23
|
import * as applyForIssue from './commands/apply-for-issue.js';
|
|
24
24
|
import { runBountyHunter } from './commands/bounty-hunter.js';
|
|
25
|
+
import { dripsMenu } from './commands/drips.js';
|
|
25
26
|
import * as gitlabIssues from './commands/gitlab-issues.js';
|
|
26
27
|
import * as gitlabMRs from './commands/gitlab-mrs.js';
|
|
27
28
|
import * as gitlabPipelines from './commands/gitlab-pipelines.js';
|
|
28
|
-
const VERSION = '2.1.
|
|
29
|
+
const VERSION = '2.1.3';
|
|
29
30
|
let targetConfirmed = false;
|
|
30
31
|
let gitlabProjectConfirmed = false;
|
|
31
32
|
// ── Styling ────────────────────────────────────────────────────────────
|
|
@@ -602,6 +603,7 @@ async function mainMenu() {
|
|
|
602
603
|
{ name: `${cyan('✨')} ${bold('Contributor Mode')} ${dim('— fork, clone, sync, submit PRs')}`, value: 'contributor' },
|
|
603
604
|
{ name: `${magenta('🛠️')} ${bold('Maintainer Mode')} ${dim('— manage issues, PRs, contributors')}`, value: 'maintainer' },
|
|
604
605
|
{ name: `${yellow('🏫')} ${bold('Organization/School')} ${dim('— assignments, grading, leaderboard')}`, value: 'org' },
|
|
606
|
+
{ name: `${cyan('🌊')} ${bold('Drips Network')} ${dim('— apply for bounty issues on drips.network')}`, value: 'drips' },
|
|
605
607
|
new inquirer.Separator(dim(' ─────────────────────────────')),
|
|
606
608
|
{ name: `${dim('🔄')} ${dim('Switch Platform')}`, value: 'switch' },
|
|
607
609
|
{ name: `${dim('👋')} ${dim('Exit')}`, value: 'exit' },
|
|
@@ -624,6 +626,9 @@ async function mainMenu() {
|
|
|
624
626
|
await ensureTargetRepo();
|
|
625
627
|
await safeMenu(orgMenu);
|
|
626
628
|
}
|
|
629
|
+
else if (mode === 'drips') {
|
|
630
|
+
await safeMenu(dripsMenu);
|
|
631
|
+
}
|
|
627
632
|
}
|
|
628
633
|
else {
|
|
629
634
|
// GitLab mode
|