mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
chore: add monorepo tools (#9196)
This commit is contained in:
15
tools/cli/src/dev.ts
Normal file
15
tools/cli/src/dev.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { PackageCommand } from './command';
|
||||
|
||||
export class DevCommand extends PackageCommand {
|
||||
static override paths = [['dev'], ['d']];
|
||||
|
||||
async execute() {
|
||||
const args = [this.package, 'dev'];
|
||||
|
||||
if (this.deps) {
|
||||
args.push('--deps');
|
||||
}
|
||||
|
||||
await this.cli.run(args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user