From d6000ce70b7bcb0af059d641d997b81710211e7e Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Mon, 26 May 2025 03:31:32 +0000 Subject: [PATCH] chore(tools): add @affine/admin to available packages (#12507) ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/hTwOityLamd4hitrae7M/52e2017b-cd59-4549-8c24-be84b7000d56.png) ## Summary by CodeRabbit - **New Features** - Added '@affine/admin' to the list of selectable packages for development commands. - **Enhancements** - Improved package selection prompt by displaying up to 10 choices at a time for easier navigation. --- tools/cli/src/command.ts | 1 + tools/cli/src/dev.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/cli/src/command.ts b/tools/cli/src/command.ts index a41df6038d..12221b44b1 100644 --- a/tools/cli/src/command.ts +++ b/tools/cli/src/command.ts @@ -124,6 +124,7 @@ export abstract class PackageSelectorCommand extends Command { name, value: name, })), + pageSize: 10, default: '@affine/web', }, ]); diff --git a/tools/cli/src/dev.ts b/tools/cli/src/dev.ts index 06aee91e4e..41f39d79dc 100644 --- a/tools/cli/src/dev.ts +++ b/tools/cli/src/dev.ts @@ -13,6 +13,7 @@ export class DevCommand extends PackageSelectorCommand { '@affine/mobile', '@affine/ios', '@affine/android', + '@affine/admin', ]; protected deps = Option.Boolean('--deps', {