mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 18:41:52 +08:00
chore: add monorepo tools (#9196)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { PackageCommand } from './command';
|
||||
|
||||
export class BuildCommand extends PackageCommand {
|
||||
static override paths = [['build'], ['b']];
|
||||
|
||||
async execute() {
|
||||
const args = ['affine build', this.package];
|
||||
|
||||
if (this.deps) {
|
||||
args.push('--deps');
|
||||
}
|
||||
|
||||
await this.cli.run(args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user