Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/remove-app-generate-schema-command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/app': major
---

Remove the deprecated `shopify app generate schema` command. Use `shopify app function schema` instead.
11 changes: 0 additions & 11 deletions packages/app/src/cli/commands/app/generate/schema.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/app/src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import FunctionRun from './commands/app/function/run.js'
import FetchSchema from './commands/app/function/schema.js'
import FunctionTypegen from './commands/app/function/typegen.js'
import AppGenerateExtension from './commands/app/generate/extension.js'
import GenerateSchema from './commands/app/generate/schema.js'
import ImportExtensions from './commands/app/import-extensions.js'
import AppInfo from './commands/app/info.js'
import Init from './commands/app/init.js'
Expand Down Expand Up @@ -65,7 +64,6 @@ export const commands: {[key: string]: typeof AppLinkedCommand | typeof AppUnlin
'app:env:show': EnvShow,
'app:execute': Execute,
'app:bulk:execute': BulkExecute,
'app:generate:schema': GenerateSchema,
'app:function:build': FunctionBuild,
'app:function:replay': FunctionReplay,
'app:function:run': FunctionRun,
Expand Down
87 changes: 0 additions & 87 deletions packages/cli/oclif.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2143,93 +2143,6 @@
"strict": true,
"summary": "Generate a new app Extension."
},
"app:generate:schema": {
"aliases": [
],
"args": {
},
"customPluginName": "@shopify/app",
"description": "\"DEPRECATED, use `app function schema`] Generates the latest [GraphQL schema\" (https://shopify.dev/docs/apps/functions/input-output#graphql-schema) for a function in your app. Run this command from the function directory.\n\n This command uses the API type and version of your function, as defined in your extension TOML file, to generate the latest GraphQL schema. The schema is written to the `schema.graphql` file.",
"descriptionWithMarkdown": "[DEPRECATED, use `app function schema`] Generates the latest [GraphQL schema](https://shopify.dev/docs/apps/functions/input-output#graphql-schema) for a function in your app. Run this command from the function directory.\n\n This command uses the API type and version of your function, as defined in your extension TOML file, to generate the latest GraphQL schema. The schema is written to the `schema.graphql` file.",
"flags": {
"client-id": {
"description": "The Client ID of your app.",
"env": "SHOPIFY_FLAG_CLIENT_ID",
"exclusive": [
"config"
],
"hasDynamicHelp": false,
"hidden": false,
"multiple": false,
"name": "client-id",
"type": "option"
},
"config": {
"char": "c",
"description": "The name of the app configuration.",
"env": "SHOPIFY_FLAG_APP_CONFIG",
"hasDynamicHelp": false,
"hidden": false,
"multiple": false,
"name": "config",
"type": "option"
},
"no-color": {
"allowNo": false,
"description": "Disable color output.",
"env": "SHOPIFY_FLAG_NO_COLOR",
"hidden": false,
"name": "no-color",
"type": "boolean"
},
"path": {
"description": "The path to your function directory.",
"env": "SHOPIFY_FLAG_PATH",
"hasDynamicHelp": false,
"hidden": false,
"multiple": false,
"name": "path",
"noCacheDefault": true,
"type": "option"
},
"reset": {
"allowNo": false,
"description": "Reset all your settings.",
"env": "SHOPIFY_FLAG_RESET",
"exclusive": [
"config"
],
"hidden": false,
"name": "reset",
"type": "boolean"
},
"stdout": {
"allowNo": false,
"description": "Output the schema to stdout instead of writing to a file.",
"env": "SHOPIFY_FLAG_STDOUT",
"name": "stdout",
"required": false,
"type": "boolean"
},
"verbose": {
"allowNo": false,
"description": "Increase the verbosity of the output.",
"env": "SHOPIFY_FLAG_VERBOSE",
"hidden": false,
"name": "verbose",
"type": "boolean"
}
},
"hasDynamicHelp": false,
"hidden": true,
"hiddenAliases": [
],
"id": "app:generate:schema",
"pluginAlias": "@shopify/cli",
"pluginName": "@shopify/cli",
"pluginType": "core",
"summary": "Fetch the latest GraphQL schema for a function."
},
"app:import-custom-data-definitions": {
"aliases": [
],
Expand Down
Loading