0.38.0 • Published 1 day ago

@fluid-tools/build-cli v0.38.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 day ago

@fluid-tools/build-cli

flub is a build and release tool for the Fluid Framework GitHub repositories. flub is intended to replace the existing fluid build-tools, primarily by reusing existing build-tools functionality and wrapping it in a more consistent, maintainable CLI using oclif.

Usage

$ npm install -g @fluid-tools/build-cli
$ flub COMMAND
running command...
$ flub (--version|-V)
@fluid-tools/build-cli/1.0.0
$ flub --help [COMMAND]
USAGE
  $ flub COMMAND
...

Command Topics

  • flub autocomplete - Display autocomplete installation instructions.
  • flub bump - Bump the version of packages, release groups, and their dependencies.
  • flub check - Check commands are used to verify repo state, apply policy, etc.
  • flub commands - list all the commands
  • flub exec - Run a shell command in the context of a package or release group.
  • flub generate - Generate commands are used to create/update code, docs, readmes, etc.
  • flub help - Display help for flub.
  • flub info - Get info about the repo, release groups, and packages.
  • flub list - List packages in a release group in topological order.
  • flub merge - Sync branches depending on the batch size passed
  • flub modify - Modify commands are used to modify projects to add or remove dependencies, update Fluid imports, etc.
  • flub release - Release commands are used to manage the Fluid release process.
  • flub rename-types - Renames type declaration files from .d.ts to .d.mts.
  • flub run - Generate a report from input bundle stats collected through the collect bundleStats command.
  • flub typetests - Updates configuration for type tests in package.json files. If the previous version changes after running preparation, then npm install must be run before building.

Developer notes

This package outputs its build files to lib/ instead of dist/ like most of our other packages. The reason is that oclif uses the lib folder by convention, and there are oclif bugs that can be avoided by putting stuff in lib. See the PR here for an example: https://github.com/microsoft/FluidFramework/pull/12155


Due to https://github.com/oclif/core/issues/630, the build:manifest node script uses an experimental flag. This can be removed once we have upgraded to Node 16 in the repo.

Testing

The release command provides a testMode flag, which subclasses are expected to check when handling states. If in test mode, all handled states should immediately return true. This enables tests to verify that new states are handled in some way. Other commands could adopt this, but only the release command uses it today.

The release command also provides a state flag that can be used to initialize the state machine to a specific state. This is intended for testing.

Trademark

This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.

Use of these trademarks or logos must follow Microsoft's Trademark & Brand Guidelines.

Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.

0.38.0

1 day ago

0.38.0-259537

8 days ago

0.38.0-259398

8 days ago

0.38.0-258976

9 days ago

0.38.0-257005

17 days ago

0.37.0

23 days ago

0.36.0

24 days ago

0.35.0

26 days ago

0.35.0-249368

1 month ago

0.35.0-247707

2 months ago

0.35.0-244638

2 months ago

0.35.0-244694

2 months ago

0.35.0-244575

2 months ago

0.35.0-244231

2 months ago

0.35.0-243841

2 months ago

0.34.0

2 months ago

0.34.0-238002

3 months ago

0.32.0

3 months ago

0.33.0

3 months ago

0.30.0

3 months ago

0.29.0

4 months ago

0.29.0-227016

4 months ago

0.29.0-227332

4 months ago

0.29.0-225750

5 months ago

0.29.0-222379

5 months ago

0.20.0

10 months ago

0.26.0-203018

7 months ago

0.26.0-203096

7 months ago

0.25.0

7 months ago

0.24.0-187017

8 months ago

0.28.0-210888

6 months ago

0.21.0

10 months ago

0.24.0-191927

8 months ago

0.23.0-181718

9 months ago

0.26.2

6 months ago

0.26.1

6 months ago

0.26.0

6 months ago

0.22.0

9 months ago

0.26.0-202915

7 months ago

0.23.0-179987

9 months ago

0.24.0-187573

8 months ago

0.27.0

6 months ago

0.23.0

8 months ago

0.26.0-203786

6 months ago

0.24.0-192663

8 months ago

0.27.0-209784

6 months ago

0.27.0-209703

6 months ago

0.28.0

6 months ago

0.24.0

7 months ago

0.20.0-171385

10 months ago

0.19.0

11 months ago

0.19.0-165129

11 months ago

0.20.0-170421

11 months ago

0.20.0-169245

11 months ago

0.18.1

11 months ago

0.18.2

11 months ago

0.19.0-167971

11 months ago

0.20.0-171206

10 months ago

0.19.0-166151

11 months ago

0.19.0-166679

11 months ago

0.16.0-156295

1 year ago

0.16.0-156414

1 year ago

0.17.0-157069

1 year ago

0.13.0

1 year ago

0.13.1

1 year ago

0.15.0

1 year ago

0.17.0

1 year ago

0.14.0-151532

1 year ago

0.18.0-163405

11 months ago

0.17.0-157116

1 year ago

0.16.0-154290

1 year ago

0.16.0-156233

1 year ago

0.16.0-156479

1 year ago

0.12.0

1 year ago

0.14.0

1 year ago

0.16.0

1 year ago

0.16.1

1 year ago

0.18.0

11 months ago

0.16.0-155814

1 year ago

0.13.0-139054

1 year ago

0.13.0-140685

1 year ago

0.11.0-135362

1 year ago

0.11.0-134585

1 year ago

0.10.0

1 year ago

0.10.0-131381

1 year ago

0.10.0-132908

1 year ago

0.7.1-121319

1 year ago

0.9.0

1 year ago

0.7.1

1 year ago

0.8.0-123358

1 year ago

0.8.0-121495

1 year ago

0.8.0-121856

1 year ago

0.8.0-127561

1 year ago

0.8.0

1 year ago

0.9.0-127618

1 year ago

0.6.0-111863

1 year ago

0.4.9000-101279

2 years ago

0.6.0-110879

1 year ago

0.6.0-109356

1 year ago

0.4.9000-101339

2 years ago

0.4.9000-102177

2 years ago

0.6.0-109418

1 year ago

0.6.0-108209

1 year ago

0.5.0-104539

2 years ago

0.5.0-104413

2 years ago

0.5.0-103288

2 years ago

0.4.9000-101969

2 years ago

0.6.0-110101

1 year ago

0.5.0-104088

2 years ago

0.7.0-113022

1 year ago

0.5.0-105292

2 years ago

0.4.8000-100926

2 years ago

0.6.0-109663

1 year ago

0.4.9000-101624

2 years ago

0.5.0-103719

2 years ago

0.5.0-105759

2 years ago

0.4.9000-101770

2 years ago

0.5.0

2 years ago

0.7.0

1 year ago

0.6.0

1 year ago

0.5.0-103332

2 years ago

0.4.7000-97928

2 years ago

0.4.7000-95552

2 years ago

0.4.8000-100385

2 years ago

0.4.8000-99089

2 years ago

0.4.8000-100241

2 years ago

0.4.8000

2 years ago

0.4.8000-98589

2 years ago

0.4.7000

2 years ago

0.4.7000-96594

2 years ago

0.4.5000-92880

2 years ago

0.4.5000

2 years ago

0.4.5000-91615

2 years ago

0.4.7000-93858

2 years ago

0.4.6000

2 years ago

0.4.5000-92499

2 years ago

0.4.4000

2 years ago

0.4.3000

2 years ago

0.4.2001

2 years ago

0.4.2000

2 years ago