paritytech / opstooling-js

Shared functionality for OpsTooling projects
https://www.npmjs.com/package/@eng-automation/js
Apache License 2.0
0 stars 1 forks source link

Common scripts and types generator #14

Closed mutantcornholio closed 2 years ago

mutantcornholio commented 2 years ago

Fixes paritytech/opstooling#125, #13

I couldn't find schemas that should be common from the start, so I added an example one, which we will remove after adding real schemas.

This package adds opstooling-scripts .bin target, which is defined in src/cli

generate-types is the first available command there.

mordamax commented 2 years ago

@mutantcornholio how do we instrument the projects with the generator, may be you're planning to integrate it somewhere? I'm thinking may be makes sense to add some readme.md for instrumentization instructions?

mutantcornholio commented 2 years ago

@mutantcornholio how do we instrument the projects with the generator, may be you're planning to integrate it somewhere?

I was thinking on vanity-service, as I have a fresh example there. There are also couple of valid examples in cla-bot-2021 and gitspiegel.

I'm thinking may be makes sense to add some readme.md for instrumentization instructions?

Sure thing.