Skip to content

Commit

Permalink
update packages (#2617)
Browse files Browse the repository at this point in the history
  • Loading branch information
wizardlyhel authored Oct 24, 2024
1 parent da42a2e commit 7f1eba4
Show file tree
Hide file tree
Showing 16 changed files with 1,847 additions and 1,193 deletions.
10 changes: 5 additions & 5 deletions docs/preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"typecheck": "tsc"
},
"dependencies": {
"@remix-run/node": "^2.10.1",
"@remix-run/react": "^2.10.1",
"@remix-run/serve": "^2.10.1",
"@remix-run/node": "^2.13.1",
"@remix-run/react": "^2.13.1",
"@remix-run/serve": "^2.13.1",
"he": "^1.2.0",
"isbot": "^3.8.0",
"marked": "^9.1.0",
Expand All @@ -19,8 +19,8 @@
"react-syntax-highlighter": "^15.5.0"
},
"devDependencies": {
"@remix-run/dev": "^2.10.1",
"@remix-run/eslint-config": "^2.10.1",
"@remix-run/dev": "^2.13.1",
"@remix-run/eslint-config": "^2.13.1",
"@tailwindcss/vite": "4.0.0-alpha.17",
"@types/he": "^1.2.1",
"@types/react": "^18.2.20",
Expand Down
34 changes: 0 additions & 34 deletions examples/b2b/storefrontapi.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,36 +252,6 @@ export type StoreRobotsQueryVariables = StorefrontAPI.Exact<{

export type StoreRobotsQuery = {shop: Pick<StorefrontAPI.Shop, 'id'>};

export type SitemapQueryVariables = StorefrontAPI.Exact<{
urlLimits?: StorefrontAPI.InputMaybe<StorefrontAPI.Scalars['Int']['input']>;
language?: StorefrontAPI.InputMaybe<StorefrontAPI.LanguageCode>;
}>;

export type SitemapQuery = {
products: {
nodes: Array<
Pick<
StorefrontAPI.Product,
'updatedAt' | 'handle' | 'onlineStoreUrl' | 'title'
> & {
featuredImage?: StorefrontAPI.Maybe<
Pick<StorefrontAPI.Image, 'url' | 'altText'>
>;
}
>;
};
collections: {
nodes: Array<
Pick<StorefrontAPI.Collection, 'updatedAt' | 'handle' | 'onlineStoreUrl'>
>;
};
pages: {
nodes: Array<
Pick<StorefrontAPI.Page, 'updatedAt' | 'handle' | 'onlineStoreUrl'>
>;
};
};

export type FeaturedCollectionFragment = Pick<
StorefrontAPI.Collection,
'id' | 'title' | 'handle'
Expand Down Expand Up @@ -1256,10 +1226,6 @@ interface GeneratedQueryTypes {
return: StoreRobotsQuery;
variables: StoreRobotsQueryVariables;
};
'#graphql\n query Sitemap($urlLimits: Int, $language: LanguageCode)\n @inContext(language: $language) {\n products(\n first: $urlLimits\n query: "published_status:\'online_store:visible\'"\n ) {\n nodes {\n updatedAt\n handle\n onlineStoreUrl\n title\n featuredImage {\n url\n altText\n }\n }\n }\n collections(\n first: $urlLimits\n query: "published_status:\'online_store:visible\'"\n ) {\n nodes {\n updatedAt\n handle\n onlineStoreUrl\n }\n }\n pages(first: $urlLimits, query: "published_status:\'published\'") {\n nodes {\n updatedAt\n handle\n onlineStoreUrl\n }\n }\n }\n': {
return: SitemapQuery;
variables: SitemapQueryVariables;
};
'#graphql\n fragment FeaturedCollection on Collection {\n id\n title\n image {\n id\n url\n altText\n width\n height\n }\n handle\n }\n query FeaturedCollection($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n collections(first: 1, sortKey: UPDATED_AT, reverse: true) {\n nodes {\n ...FeaturedCollection\n }\n }\n }\n': {
return: FeaturedCollectionQuery;
variables: FeaturedCollectionQueryVariables;
Expand Down
48 changes: 11 additions & 37 deletions examples/custom-cart-method/storefrontapi.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,36 +254,6 @@ export type StoreRobotsQueryVariables = StorefrontAPI.Exact<{

export type StoreRobotsQuery = {shop: Pick<StorefrontAPI.Shop, 'id'>};

export type SitemapQueryVariables = StorefrontAPI.Exact<{
urlLimits?: StorefrontAPI.InputMaybe<StorefrontAPI.Scalars['Int']['input']>;
language?: StorefrontAPI.InputMaybe<StorefrontAPI.LanguageCode>;
}>;

export type SitemapQuery = {
products: {
nodes: Array<
Pick<
StorefrontAPI.Product,
'updatedAt' | 'handle' | 'onlineStoreUrl' | 'title'
> & {
featuredImage?: StorefrontAPI.Maybe<
Pick<StorefrontAPI.Image, 'url' | 'altText'>
>;
}
>;
};
collections: {
nodes: Array<
Pick<StorefrontAPI.Collection, 'updatedAt' | 'handle' | 'onlineStoreUrl'>
>;
};
pages: {
nodes: Array<
Pick<StorefrontAPI.Page, 'updatedAt' | 'handle' | 'onlineStoreUrl'>
>;
};
};

export type FeaturedCollectionFragment = Pick<
StorefrontAPI.Collection,
'id' | 'title' | 'handle'
Expand Down Expand Up @@ -741,7 +711,11 @@ export type ProductFragment = Pick<
StorefrontAPI.Product,
'id' | 'title' | 'vendor' | 'handle' | 'descriptionHtml' | 'description'
> & {
options: Array<Pick<StorefrontAPI.ProductOption, 'name' | 'values'>>;
options: Array<
Pick<StorefrontAPI.ProductOption, 'name'> & {
optionValues: Array<Pick<StorefrontAPI.ProductOptionValue, 'name'>>;
}
>;
selectedVariant?: StorefrontAPI.Maybe<
Pick<
StorefrontAPI.ProductVariant,
Expand Down Expand Up @@ -810,7 +784,11 @@ export type ProductQuery = {
StorefrontAPI.Product,
'id' | 'title' | 'vendor' | 'handle' | 'descriptionHtml' | 'description'
> & {
options: Array<Pick<StorefrontAPI.ProductOption, 'name' | 'values'>>;
options: Array<
Pick<StorefrontAPI.ProductOption, 'name'> & {
optionValues: Array<Pick<StorefrontAPI.ProductOptionValue, 'name'>>;
}
>;
selectedVariant?: StorefrontAPI.Maybe<
Pick<
StorefrontAPI.ProductVariant,
Expand Down Expand Up @@ -1175,10 +1153,6 @@ interface GeneratedQueryTypes {
return: StoreRobotsQuery;
variables: StoreRobotsQueryVariables;
};
'#graphql\n query Sitemap($urlLimits: Int, $language: LanguageCode)\n @inContext(language: $language) {\n products(\n first: $urlLimits\n query: "published_status:\'online_store:visible\'"\n ) {\n nodes {\n updatedAt\n handle\n onlineStoreUrl\n title\n featuredImage {\n url\n altText\n }\n }\n }\n collections(\n first: $urlLimits\n query: "published_status:\'online_store:visible\'"\n ) {\n nodes {\n updatedAt\n handle\n onlineStoreUrl\n }\n }\n pages(first: $urlLimits, query: "published_status:\'published\'") {\n nodes {\n updatedAt\n handle\n onlineStoreUrl\n }\n }\n }\n': {
return: SitemapQuery;
variables: SitemapQueryVariables;
};
'#graphql\n fragment FeaturedCollection on Collection {\n id\n title\n image {\n id\n url\n altText\n width\n height\n }\n handle\n }\n query FeaturedCollection($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n collections(first: 1, sortKey: UPDATED_AT, reverse: true) {\n nodes {\n ...FeaturedCollection\n }\n }\n }\n': {
return: FeaturedCollectionQuery;
variables: FeaturedCollectionQueryVariables;
Expand Down Expand Up @@ -1223,7 +1197,7 @@ interface GeneratedQueryTypes {
return: PoliciesQuery;
variables: PoliciesQueryVariables;
};
'#graphql\n query Product(\n $country: CountryCode\n $handle: String!\n $language: LanguageCode\n $selectedOptions: [SelectedOptionInput!]!\n ) @inContext(country: $country, language: $language) {\n product(handle: $handle) {\n ...Product\n }\n }\n #graphql\n fragment Product on Product {\n id\n title\n vendor\n handle\n descriptionHtml\n description\n options {\n name\n values\n }\n selectedVariant: variantBySelectedOptions(selectedOptions: $selectedOptions, ignoreUnknownOptions: true, caseInsensitiveMatch: true) {\n ...ProductVariant\n }\n variants(first: 1) {\n nodes {\n ...ProductVariant\n }\n }\n seo {\n description\n title\n }\n }\n #graphql\n fragment ProductVariant on ProductVariant {\n availableForSale\n compareAtPrice {\n amount\n currencyCode\n }\n id\n image {\n __typename\n id\n url\n altText\n width\n height\n }\n price {\n amount\n currencyCode\n }\n product {\n title\n handle\n }\n selectedOptions {\n name\n value\n }\n sku\n title\n unitPrice {\n amount\n currencyCode\n }\n }\n\n\n': {
'#graphql\n query Product(\n $country: CountryCode\n $handle: String!\n $language: LanguageCode\n $selectedOptions: [SelectedOptionInput!]!\n ) @inContext(country: $country, language: $language) {\n product(handle: $handle) {\n ...Product\n }\n }\n #graphql\n fragment Product on Product {\n id\n title\n vendor\n handle\n descriptionHtml\n description\n options {\n name\n optionValues {\n name\n }\n }\n selectedVariant: variantBySelectedOptions(selectedOptions: $selectedOptions, ignoreUnknownOptions: true, caseInsensitiveMatch: true) {\n ...ProductVariant\n }\n variants(first: 1) {\n nodes {\n ...ProductVariant\n }\n }\n seo {\n description\n title\n }\n }\n #graphql\n fragment ProductVariant on ProductVariant {\n availableForSale\n compareAtPrice {\n amount\n currencyCode\n }\n id\n image {\n __typename\n id\n url\n altText\n width\n height\n }\n price {\n amount\n currencyCode\n }\n product {\n title\n handle\n }\n selectedOptions {\n name\n value\n }\n sku\n title\n unitPrice {\n amount\n currencyCode\n }\n }\n\n\n': {
return: ProductQuery;
variables: ProductQueryVariables;
};
Expand Down
14 changes: 7 additions & 7 deletions examples/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"typecheck": "tsc"
},
"dependencies": {
"@remix-run/express": "^2.10.1",
"@remix-run/node": "^2.10.1",
"@remix-run/react": "^2.10.1",
"@remix-run/server-runtime": "^2.10.1",
"@remix-run/express": "^2.13.1",
"@remix-run/node": "^2.13.1",
"@remix-run/react": "^2.13.1",
"@remix-run/server-runtime": "^2.13.1",
"@shopify/hydrogen": "2024.10.0",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
Expand All @@ -24,9 +24,9 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@remix-run/dev": "^2.10.1",
"@remix-run/eslint-config": "^2.10.1",
"@shopify/cli": "3.68.0",
"@remix-run/dev": "^2.13.1",
"@remix-run/eslint-config": "^2.13.1",
"@shopify/cli": "3.69.2",
"@types/compression": "^1.7.2",
"@types/express": "^4.17.17",
"@types/morgan": "^1.9.4",
Expand Down
48 changes: 11 additions & 37 deletions examples/legacy-customer-account-flow/storefrontapi.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -295,36 +295,6 @@ export type StoreRobotsQueryVariables = StorefrontAPI.Exact<{

export type StoreRobotsQuery = {shop: Pick<StorefrontAPI.Shop, 'id'>};

export type SitemapQueryVariables = StorefrontAPI.Exact<{
urlLimits?: StorefrontAPI.InputMaybe<StorefrontAPI.Scalars['Int']['input']>;
language?: StorefrontAPI.InputMaybe<StorefrontAPI.LanguageCode>;
}>;

export type SitemapQuery = {
products: {
nodes: Array<
Pick<
StorefrontAPI.Product,
'updatedAt' | 'handle' | 'onlineStoreUrl' | 'title'
> & {
featuredImage?: StorefrontAPI.Maybe<
Pick<StorefrontAPI.Image, 'url' | 'altText'>
>;
}
>;
};
collections: {
nodes: Array<
Pick<StorefrontAPI.Collection, 'updatedAt' | 'handle' | 'onlineStoreUrl'>
>;
};
pages: {
nodes: Array<
Pick<StorefrontAPI.Page, 'updatedAt' | 'handle' | 'onlineStoreUrl'>
>;
};
};

export type FeaturedCollectionFragment = Pick<
StorefrontAPI.Collection,
'id' | 'title' | 'handle'
Expand Down Expand Up @@ -1502,7 +1472,11 @@ export type ProductFragment = Pick<
StorefrontAPI.Product,
'id' | 'title' | 'vendor' | 'handle' | 'descriptionHtml' | 'description'
> & {
options: Array<Pick<StorefrontAPI.ProductOption, 'name' | 'values'>>;
options: Array<
Pick<StorefrontAPI.ProductOption, 'name'> & {
optionValues: Array<Pick<StorefrontAPI.ProductOptionValue, 'name'>>;
}
>;
selectedVariant?: StorefrontAPI.Maybe<
Pick<
StorefrontAPI.ProductVariant,
Expand Down Expand Up @@ -1571,7 +1545,11 @@ export type ProductQuery = {
StorefrontAPI.Product,
'id' | 'title' | 'vendor' | 'handle' | 'descriptionHtml' | 'description'
> & {
options: Array<Pick<StorefrontAPI.ProductOption, 'name' | 'values'>>;
options: Array<
Pick<StorefrontAPI.ProductOption, 'name'> & {
optionValues: Array<Pick<StorefrontAPI.ProductOptionValue, 'name'>>;
}
>;
selectedVariant?: StorefrontAPI.Maybe<
Pick<
StorefrontAPI.ProductVariant,
Expand Down Expand Up @@ -1932,10 +1910,6 @@ interface GeneratedQueryTypes {
return: StoreRobotsQuery;
variables: StoreRobotsQueryVariables;
};
'#graphql\n query Sitemap($urlLimits: Int, $language: LanguageCode)\n @inContext(language: $language) {\n products(\n first: $urlLimits\n query: "published_status:\'online_store:visible\'"\n ) {\n nodes {\n updatedAt\n handle\n onlineStoreUrl\n title\n featuredImage {\n url\n altText\n }\n }\n }\n collections(\n first: $urlLimits\n query: "published_status:\'online_store:visible\'"\n ) {\n nodes {\n updatedAt\n handle\n onlineStoreUrl\n }\n }\n pages(first: $urlLimits, query: "published_status:\'published\'") {\n nodes {\n updatedAt\n handle\n onlineStoreUrl\n }\n }\n }\n': {
return: SitemapQuery;
variables: SitemapQueryVariables;
};
'#graphql\n fragment FeaturedCollection on Collection {\n id\n title\n image {\n id\n url\n altText\n width\n height\n }\n handle\n }\n query FeaturedCollection($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n collections(first: 1, sortKey: UPDATED_AT, reverse: true) {\n nodes {\n ...FeaturedCollection\n }\n }\n }\n': {
return: FeaturedCollectionQuery;
variables: FeaturedCollectionQueryVariables;
Expand Down Expand Up @@ -1992,7 +1966,7 @@ interface GeneratedQueryTypes {
return: PoliciesQuery;
variables: PoliciesQueryVariables;
};
'#graphql\n query Product(\n $country: CountryCode\n $handle: String!\n $language: LanguageCode\n $selectedOptions: [SelectedOptionInput!]!\n ) @inContext(country: $country, language: $language) {\n product(handle: $handle) {\n ...Product\n }\n }\n #graphql\n fragment Product on Product {\n id\n title\n vendor\n handle\n descriptionHtml\n description\n options {\n name\n values\n }\n selectedVariant: variantBySelectedOptions(selectedOptions: $selectedOptions, ignoreUnknownOptions: true, caseInsensitiveMatch: true) {\n ...ProductVariant\n }\n variants(first: 1) {\n nodes {\n ...ProductVariant\n }\n }\n seo {\n description\n title\n }\n }\n #graphql\n fragment ProductVariant on ProductVariant {\n availableForSale\n compareAtPrice {\n amount\n currencyCode\n }\n id\n image {\n __typename\n id\n url\n altText\n width\n height\n }\n price {\n amount\n currencyCode\n }\n product {\n title\n handle\n }\n selectedOptions {\n name\n value\n }\n sku\n title\n unitPrice {\n amount\n currencyCode\n }\n }\n\n\n': {
'#graphql\n query Product(\n $country: CountryCode\n $handle: String!\n $language: LanguageCode\n $selectedOptions: [SelectedOptionInput!]!\n ) @inContext(country: $country, language: $language) {\n product(handle: $handle) {\n ...Product\n }\n }\n #graphql\n fragment Product on Product {\n id\n title\n vendor\n handle\n descriptionHtml\n description\n options {\n name\n optionValues {\n name\n }\n }\n selectedVariant: variantBySelectedOptions(selectedOptions: $selectedOptions, ignoreUnknownOptions: true, caseInsensitiveMatch: true) {\n ...ProductVariant\n }\n variants(first: 1) {\n nodes {\n ...ProductVariant\n }\n }\n seo {\n description\n title\n }\n }\n #graphql\n fragment ProductVariant on ProductVariant {\n availableForSale\n compareAtPrice {\n amount\n currencyCode\n }\n id\n image {\n __typename\n id\n url\n altText\n width\n height\n }\n price {\n amount\n currencyCode\n }\n product {\n title\n handle\n }\n selectedOptions {\n name\n value\n }\n sku\n title\n unitPrice {\n amount\n currencyCode\n }\n }\n\n\n': {
return: ProductQuery;
variables: ProductQueryVariables;
};
Expand Down
Loading

0 comments on commit 7f1eba4

Please sign in to comment.