Skip to content

Commit 00f6167

Browse files
Merge pull request #6434 from Shopify/jtv/remove-store-command
Remove `packages/store`
2 parents d1ecbe2 + e89534e commit 00f6167

File tree

79 files changed

+0
-6738
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+0
-6738
lines changed

.changeset/config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"@shopify/ui-extensions-dev-console-app",
1313
"@shopify/plugin-cloudflare",
1414
"@shopify/plugin-did-you-mean",
15-
"@shopify/store"
1615
]],
1716
"access": "public",
1817
"baseBranch": "main",

.github/CODEOWNERS

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ packages/cli-kit/src/private/themes/* @shopify/developer-tools @shopify/app-inne
66
packages/cli-kit/src/public/**/themes/* @shopify/developer-tools @shopify/app-inner-loop
77
packages/theme/** @shopify/developer-tools @shopify/app-inner-loop
88

9-
# Bulk Data Management and CLI owners should review changes to the store package
10-
packages/store/** @shopify/bulk-data-management-eng @shopify/app-inner-loop
11-
129
# These are metafiles that can be reviewed by anyone
1310
.changeset/* @shopify/developer-tools @shopify/app-inner-loop
1411
.github/CODEOWNERS @shopify/developer-tools @shopify/app-inner-loop

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,5 @@ packages/ui-extensions-dev-console/.eslintrc.js
196196
packages/ui-extensions-dev-console/css-transform.js
197197
packages/ui-extensions-dev-console/dist
198198
packages/cli-kit/src/cli/api/graphql/*/*_schema.graphql
199-
packages/store/src/cli/api/graphql/*/*_schema.graphql
200-
# bulk data management/store copy
201-
*-shm
202-
*-wal
203-
*.sqlite
204199

205200
.claude

bin/get-graphql-schemas.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -71,26 +71,6 @@ const schemas = [
7171
pathToFile: 'areas/core/shopify/db/graphql/functions_cli_api_schema_unstable_public.graphql',
7272
localPath: './packages/app/src/cli/api/graphql/functions/functions_cli_schema.graphql',
7373
},
74-
// Store package schemas
75-
{
76-
owner: 'shop',
77-
repo: 'world',
78-
pathToFile: 'areas/core/shopify/db/graphql/admin_schema_unstable_public.graphql',
79-
localPath: './packages/store/src/cli/api/graphql/admin/admin_schema.graphql',
80-
usesLfs: true,
81-
},
82-
{
83-
owner: 'shop',
84-
repo: 'world',
85-
pathToFile: 'areas/platforms/organizations/db/graphql/destinations_schema.graphql',
86-
localPath: './packages/store/src/cli/api/graphql/business-platform-destinations/destinations_schema.graphql',
87-
},
88-
{
89-
owner: 'shop',
90-
repo: 'world',
91-
pathToFile: 'areas/platforms/organizations/db/graphql/organizations_schema.graphql',
92-
localPath: './packages/store/src/cli/api/graphql/business-platform-organizations/organizations_schema.graphql',
93-
},
9474
]
9575

9676

graphql.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,5 @@ export default {
8383
admin: projectFactory('admin', 'admin_schema.graphql', 'cli-kit'),
8484
webhooks: projectFactory('webhooks', 'webhooks_schema.graphql'),
8585
functions: projectFactory('functions', 'functions_cli_schema.graphql', 'app'),
86-
// Store package projects
87-
storeAdmin: projectFactory('admin', 'admin_schema.graphql', 'store'),
88-
storeBusinessPlatformDestinations: projectFactory('business-platform-destinations', 'destinations_schema.graphql', 'store'),
8986
},
9087
}

package.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -243,21 +243,6 @@
243243
]
244244
}
245245
},
246-
"packages/store": {
247-
"project": "**/*.ts!",
248-
"entry": [
249-
"**/{commands,hooks}/**/*.ts!",
250-
"**/index.ts!"
251-
],
252-
"ignore": [
253-
"**/graphql/**/generated/*.ts"
254-
],
255-
"vite": {
256-
"config": [
257-
"vite.config.ts"
258-
]
259-
}
260-
},
261246
"packages/theme": {
262247
"project": "**/*.ts!",
263248
"entry": [

packages/cli/oclif.manifest.json

Lines changed: 0 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -4885,109 +4885,6 @@
48854885
"strict": true,
48864886
"usage": "search [query]"
48874887
},
4888-
"store:copy": {
4889-
"aliases": [
4890-
],
4891-
"args": {
4892-
},
4893-
"customPluginName": "@shopify/store",
4894-
"description": "Examples:\n\n COPY data from one store to another in your organization\n shopify store copy --from-store source.myshopify.com --to-store target.myshopify.com\n\n EXPORT store data to SQLite\n shopify store copy --from-store source.myshopify.com --to-file path/to/file.sqlite\n\n IMPORT data from SQLite to a store\n shopify store copy --from-file path/to/file.sqlite --to-store target.myshopify.com\n",
4895-
"flags": {
4896-
"from-file": {
4897-
"description": "The SQLite file to import data from. Can't be used with --to-file.",
4898-
"env": "SHOPIFY_FLAG_FROM_FILE",
4899-
"hasDynamicHelp": false,
4900-
"multiple": false,
4901-
"name": "from-file",
4902-
"required": false,
4903-
"type": "option"
4904-
},
4905-
"from-store": {
4906-
"description": "The source store domain to copy/export data from (e.g., source.myshopify.com).",
4907-
"env": "SHOPIFY_FLAG_FROM_STORE",
4908-
"hasDynamicHelp": false,
4909-
"multiple": false,
4910-
"name": "from-store",
4911-
"required": false,
4912-
"type": "option"
4913-
},
4914-
"key": {
4915-
"default": [
4916-
"products:handle"
4917-
],
4918-
"description": "The identity key to use to match resources. ID metafields can be specified as <object_type>:metafield:<metafield_namespace>:<key>",
4919-
"env": "SHOPIFY_FLAG_IDENTITY_KEY",
4920-
"hasDynamicHelp": false,
4921-
"multiple": true,
4922-
"name": "key",
4923-
"required": false,
4924-
"type": "option"
4925-
},
4926-
"mock": {
4927-
"allowNo": false,
4928-
"char": "m",
4929-
"description": "Use mock data instead of real API calls (for development).",
4930-
"env": "SHOPIFY_FLAG_MOCK",
4931-
"hidden": true,
4932-
"name": "mock",
4933-
"required": false,
4934-
"type": "boolean"
4935-
},
4936-
"no-color": {
4937-
"allowNo": false,
4938-
"description": "Disable color output.",
4939-
"env": "SHOPIFY_FLAG_NO_COLOR",
4940-
"hidden": false,
4941-
"name": "no-color",
4942-
"type": "boolean"
4943-
},
4944-
"no-prompt": {
4945-
"allowNo": false,
4946-
"char": "y",
4947-
"description": "Skip confirmation prompts.",
4948-
"env": "SHOPIFY_FLAG_YES",
4949-
"name": "no-prompt",
4950-
"required": false,
4951-
"type": "boolean"
4952-
},
4953-
"to-file": {
4954-
"description": "The SQLite file path to export data to. Omit to auto-generate filename. Can't be used with --from-file.",
4955-
"env": "SHOPIFY_FLAG_TO_FILE",
4956-
"hasDynamicHelp": false,
4957-
"multiple": false,
4958-
"name": "to-file",
4959-
"required": false,
4960-
"type": "option"
4961-
},
4962-
"to-store": {
4963-
"description": "The target store domain to copy/import data to (e.g., target.myshopify.com).",
4964-
"env": "SHOPIFY_FLAG_TO_STORE",
4965-
"hasDynamicHelp": false,
4966-
"multiple": false,
4967-
"name": "to-store",
4968-
"required": false,
4969-
"type": "option"
4970-
},
4971-
"verbose": {
4972-
"allowNo": false,
4973-
"description": "Increase the verbosity of the output.",
4974-
"env": "SHOPIFY_FLAG_VERBOSE",
4975-
"hidden": false,
4976-
"name": "verbose",
4977-
"type": "boolean"
4978-
}
4979-
},
4980-
"hasDynamicHelp": false,
4981-
"hidden": true,
4982-
"hiddenAliases": [
4983-
],
4984-
"id": "store:copy",
4985-
"pluginAlias": "@shopify/cli",
4986-
"pluginName": "@shopify/cli",
4987-
"pluginType": "core",
4988-
"strict": true,
4989-
"summary": "Copy, export, or import store data"
4990-
},
49914888
"theme:check": {
49924889
"aliases": [
49934890
],

packages/cli/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
"@shopify/plugin-cloudflare": "3.85.0",
115115
"@shopify/plugin-did-you-mean": "3.85.0",
116116
"@shopify/theme": "3.85.0",
117-
"@shopify/store": "3.85.0",
118117
"@shopify/cli-hydrogen": "11.1.3",
119118
"@types/global-agent": "3.0.0",
120119
"@typescript-eslint/eslint-plugin": "7.13.1",
@@ -151,9 +150,6 @@
151150
"theme": {
152151
"description": "Build Liquid themes."
153152
},
154-
"store": {
155-
"description": "Manage stores and store data."
156-
},
157153
"app": {
158154
"description": "Build Shopify apps."
159155
},

packages/cli/src/index.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import Generate from './cli/commands/notifications/generate.js'
1616
import ClearCache from './cli/commands/cache/clear.js'
1717
import {createGlobalProxyAgent} from 'global-agent'
1818
import ThemeCommands from '@shopify/theme'
19-
import StoreCommands from '@shopify/store'
2019
import {COMMANDS as HydrogenCommands, HOOKS as HydrogenHooks} from '@shopify/cli-hydrogen'
2120
import {commands as AppCommands} from '@shopify/app'
2221
import {commands as PluginCommandsCommands} from '@oclif/plugin-commands'
@@ -100,12 +99,6 @@ themeCommands.forEach((command) => {
10099
;(ThemeCommands[command] as any).customPluginName = '@shopify/theme'
101100
})
102101

103-
const storeCommands = Object.keys(StoreCommands) as (keyof typeof StoreCommands)[]
104-
storeCommands.forEach((command) => {
105-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
106-
;(StoreCommands[command] as any).customPluginName = '@shopify/store'
107-
})
108-
109102
const hydrogenCommands = Object.keys(HydrogenCommands) as (keyof typeof HydrogenCommands)[]
110103
hydrogenCommands.forEach((command) => {
111104
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -134,7 +127,6 @@ pluginPluginsCommands.forEach((command) => {
134127
export const COMMANDS: any = {
135128
...AppCommands,
136129
...ThemeCommands,
137-
...StoreCommands,
138130
...PluginPluginsCommands,
139131
...DidYouMeanCommands,
140132
...PluginCommandsCommands,

packages/features/features/store.feature

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)