Skip to content

Commit 09cebb5

Browse files
committed
Point codegen freshness messages at pnpm codegen to match the docs
1 parent 199434e commit 09cebb5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

bin/check-codegen-clean.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ import {execFileSync} from 'node:child_process'
77
const CHECKS = {
88
graphql: {
99
pathspec: [],
10-
message: 'Run pnpm graphql-codegen when queries are changed, committing any fixes and generated files',
10+
message: 'Run pnpm codegen (or pnpm graphql-codegen) when queries change, then commit the generated files.',
1111
},
1212
'oclif:manifests': {
1313
pathspec: ['**/oclif.manifest.json'],
14-
message: 'Run pnpm refresh-manifests before pushing new commands or flags.',
14+
message: 'Run pnpm codegen (or pnpm refresh-manifests) before pushing new commands or flags.',
1515
},
1616
'oclif:readme': {
1717
pathspec: ['packages/cli/README.md'],
18-
message: 'Run pnpm refresh-readme before pushing new commands or flags.',
18+
message: 'Run pnpm codegen (or pnpm refresh-readme) before pushing new commands or flags.',
1919
},
2020
'oclif:code-docs': {
2121
pathspec: [],
22-
message: 'Run pnpm refresh-code-documentation when you update functions with autogenerated examples.',
22+
message: 'Run pnpm codegen (or pnpm refresh-code-documentation) when you update functions with autogenerated examples.',
2323
},
2424
'oclif:dev-docs': {
2525
pathspec: ['docs-shopify.dev/generated/*.json'],
26-
message: 'Run pnpm build-dev-docs before pushing new commands or flags.',
26+
message: 'Run pnpm codegen (or pnpm build-dev-docs) before pushing new commands or flags.',
2727
},
2828
}
2929

0 commit comments

Comments
 (0)