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)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## 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.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
fengmk2
2025-05-26 03:31:32 +00:00
parent 20af4c35ee
commit d6000ce70b
2 changed files with 2 additions and 0 deletions

View File

@@ -124,6 +124,7 @@ export abstract class PackageSelectorCommand extends Command {
name,
value: name,
})),
pageSize: 10,
default: '@affine/web',
},
]);

View File

@@ -13,6 +13,7 @@ export class DevCommand extends PackageSelectorCommand {
'@affine/mobile',
'@affine/ios',
'@affine/android',
'@affine/admin',
];
protected deps = Option.Boolean('--deps', {