diff --git a/commands.json b/commands.json index 9f044255f5372df39042d4f9a2f4ca91174ded71..19fa34a8e7a3fa61bb9b6a79f35957c92f7270a8 100644 --- a/commands.json +++ b/commands.json @@ -61,6 +61,11 @@ "description": "Generate Hasura metadata", "cmd": ["node", "lib/generateHasuraMetadata.js"] }, + "hasura:update": { + "description": "Generate Hasura fresh metadata from new script", + "deps": ["build", "hasura:generate", "hasura:apply"], + "cmd": ["echo", "Hasura metadata updated"] + }, "codegen": { "description": "Generate TypeORM entities from the schema file", "cmd": ["squid-typeorm-codegen"]