Skip to content

Conversation

@NorOldBurden
Copy link

@NorOldBurden NorOldBurden commented Jan 15, 2026

#520

@NorOldBurden NorOldBurden marked this pull request as draft January 15, 2026 04:24
@NorOldBurden NorOldBurden marked this pull request as ready for review January 15, 2026 06:50
@NorOldBurden NorOldBurden marked this pull request as draft January 20, 2026 03:24
@NorOldBurden NorOldBurden marked this pull request as ready for review January 21, 2026 05:40
*
*/

import { generateOrmCommand } from '@constructive-io/graphql-codegen';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the point of this file generate.ts? Can't we just stick a script into the "scripts" object in package.json?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried in my local. The package doesn't provide a standalone CLI binary - it only exposes programmatic functions. It might be caused by previous change that moved generate out of cli?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally, I think it's more clear to demo how to use it programmatically in actual file instead hide it inside the package.json script.

@NorOldBurden NorOldBurden force-pushed the update/graphql-codegen-boilerplate branch from dcd95ff to 12a5714 Compare January 22, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants