Skip to content

Commit 38d9284

Browse files
fredericooclaude
andcommitted
chore: remove POC route and skeleton wiring
Reverts skeleton template to match main — the POC route, workspace dep, and generated type augmentation were local verification aids, not part of the shippable package. Reviewers can restore them by checking out the previous commit (see PR description for test instructions). Why: keeping skeleton untouched in the merged PR avoids coupling this hydrogen-api scaffold to a skeleton release and keeps the diff focused on the new package itself. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 04700ea commit 38d9284

3 files changed

Lines changed: 0 additions & 81 deletions

File tree

templates/skeleton/app/routes/api-poc.tsx

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

templates/skeleton/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"prettier": "@shopify/prettier-config",
1616
"dependencies": {
1717
"@shopify/hydrogen": "workspace:*",
18-
"@shopify/hydrogen-api": "workspace:*",
1918
"graphql": "^16.10.0",
2019
"graphql-tag": "^2.12.6",
2120
"isbot": "^5.1.22",

templates/skeleton/storefrontapi.generated.d.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -444,14 +444,6 @@ export type RecommendedProductsQuery = {
444444
};
445445
};
446446

447-
export type ShopNameQueryVariables = StorefrontAPI.Exact<{
448-
[key: string]: never;
449-
}>;
450-
451-
export type ShopNameQuery = {
452-
shop: Pick<StorefrontAPI.Shop, 'name' | 'description'>;
453-
};
454-
455447
export type ArticleQueryVariables = StorefrontAPI.Exact<{
456448
articleHandle: StorefrontAPI.Scalars['String']['input'];
457449
blogHandle: StorefrontAPI.Scalars['String']['input'];
@@ -1292,10 +1284,6 @@ interface GeneratedQueryTypes {
12921284
return: RecommendedProductsQuery;
12931285
variables: RecommendedProductsQueryVariables;
12941286
};
1295-
'#graphql\n query ShopName {\n shop {\n name\n description\n }\n }\n': {
1296-
return: ShopNameQuery;
1297-
variables: ShopNameQueryVariables;
1298-
};
12991287
'#graphql\n query Article(\n $articleHandle: String!\n $blogHandle: String!\n $country: CountryCode\n $language: LanguageCode\n ) @inContext(language: $language, country: $country) {\n blog(handle: $blogHandle) {\n handle\n articleByHandle(handle: $articleHandle) {\n handle\n title\n contentHtml\n publishedAt\n author: authorV2 {\n name\n }\n image {\n id\n altText\n url\n width\n height\n }\n seo {\n description\n title\n }\n }\n }\n }\n': {
13001288
return: ArticleQuery;
13011289
variables: ArticleQueryVariables;
@@ -1352,7 +1340,3 @@ declare module '@shopify/hydrogen' {
13521340
interface StorefrontQueries extends GeneratedQueryTypes {}
13531341
interface StorefrontMutations extends GeneratedMutationTypes {}
13541342
}
1355-
declare module '@shopify/hydrogen-api' {
1356-
interface StorefrontQueries extends GeneratedQueryTypes {}
1357-
interface StorefrontMutations extends GeneratedMutationTypes {}
1358-
}

0 commit comments

Comments
 (0)