Open splacentino opened 12 months ago
@splacentino any particular reason you’re using the cli instead of next build? Using next build will handle this case already.
@splacentino any particular reason you’re using the cli instead of next build? Using next build will handle this case already.
Some checks (linting, ..) do not require build step.
Also I have a separated script for multiples codegen w/ different CLI.
In order to generate types for a specific project from root of a monorepo during CI, a subfolder should be specified.
E.g.
package.json
:Arguments could be handled in a better way (
commander
, arguments validation, ...) but this currently works.