Brigade: brigadier

Created on 20 Jun 2018  路  8Comments  路  Source: brigadecore/brigade

Where is the brigadier npm package that is associated with this project?

I originally install this one but looking closer it years old and doesn't seem to have anything to do with brigade.
https://github.com/chge/brigadier

question

Most helpful comment

I still plan on getting that finished. Currently, I'm in a rush to get a few other things done in time for KubeCon NA. But as soon as those are wrapped up, I'll finish this.

All 8 comments

We haven't fully packaged it into NPM yet. It's entirely in the source code base here. I started toying around with separating it into a facade. That work is here: https://github.com/technosophos/brigtest. If you can give us some use cases, it might help us figure out how to slice this library up in the right way.

An official package would allow static type checking with either Typescript or babel.js and a better dev time experience in whatever IDE I'm using by seeing the available properties/methods on each object without having to constantly lookup the documentation.

Good point. And we'd like to add better support to VS Code, so this would help there.

I'm experimenting with this idea. If we do it well, it would make VS Code extensions and unit tests much easier to write, as well.

I'm experimenting with this idea. If we do it well, it would make VS Code extensions and unit tests much easier to write, as well.

I wonder what's the status on packaging brigadier as npm package. I can see effort started here https://github.com/Azure/brigade/pull/585 and here @azure/brigadier but no updates were made for a while. We would like to use Typescript to write our brigade.js files but reference to the npm package would need to be added to worker's dependencies list to build our brigade.ts file on worker start.

I still plan on getting that finished. Currently, I'm in a rush to get a few other things done in time for KubeCon NA. But as soon as those are wrapped up, I'll finish this.

You can find the package on npm - https://www.npmjs.com/package/@azure/brigadier

Closing, but feel free to reopen if you have additional questions.
Thanks!

Was this page helpful?
0 / 5 - 0 ratings