Skip to content

Commit

Permalink
Upgrade subscription example to use --diff (#2190)
Browse files Browse the repository at this point in the history
* use -diff for subscription example

* remove tailwind css class & update subscription app link in README

* update package-lock.json
  • Loading branch information
michenly authored Jun 13, 2024
1 parent 44c5313 commit b743399
Show file tree
Hide file tree
Showing 38 changed files with 1,532 additions and 3,916 deletions.
1 change: 1 addition & 0 deletions docs/preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@types/react-dom": "^18.2.7",
"@types/react-syntax-highlighter": "^15.5.7",
"eslint": "^8.38.0",
"tailwindcss": "^3.3.0",
"typescript": "^5.2.2"
},
"engines": {
Expand Down
1 change: 0 additions & 1 deletion examples/b2b/.gitignore

This file was deleted.

54 changes: 0 additions & 54 deletions examples/b2b/env.d.ts

This file was deleted.

7 changes: 6 additions & 1 deletion examples/b2b/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"extends": "../../templates/skeleton/tsconfig.json",
"include": ["./**/*.d.ts", "./**/*.ts", "./**/*.tsx"],
"include": [
"./**/*.d.ts",
"./**/*.ts",
"./**/*.tsx",
"../../templates/skeleton/*.d.ts"
],
"compilerOptions": {
"baseUrl": ".",
"paths": {
Expand Down
54 changes: 0 additions & 54 deletions examples/gtm/env.d.ts

This file was deleted.

7 changes: 6 additions & 1 deletion examples/gtm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"extends": "../../templates/skeleton/tsconfig.json",
"include": ["./**/*.d.ts", "./**/*.ts", "./**/*.tsx"],
"include": [
"./**/*.d.ts",
"./**/*.ts",
"./**/*.tsx",
"../../templates/skeleton/*.d.ts"
],
"compilerOptions": {
"baseUrl": ".",
"paths": {
Expand Down
4 changes: 0 additions & 4 deletions examples/subscriptions/.env.example

This file was deleted.

5 changes: 0 additions & 5 deletions examples/subscriptions/.eslintignore

This file was deleted.

18 changes: 0 additions & 18 deletions examples/subscriptions/.eslintrc.js

This file was deleted.

8 changes: 0 additions & 8 deletions examples/subscriptions/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion examples/subscriptions/.graphqlrc.yml

This file was deleted.

2 changes: 1 addition & 1 deletion examples/subscriptions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This example is connected to the `hydrogen-preview` storefront which contains on

To run this example on your own store, you'll need to:

- Install a [subscription app](https://apps.shopify.com/categories/selling-products-purchase-options-subscriptions).
- Install a [subscription app](https://apps.shopify.com/shopify-subscriptions).
- Use the subscription app to create a selling plan for a product.

## Install
Expand Down
28 changes: 0 additions & 28 deletions examples/subscriptions/app/assets/favicon.svg

This file was deleted.

47 changes: 0 additions & 47 deletions examples/subscriptions/app/components/Aside.tsx

This file was deleted.

Loading

0 comments on commit b743399

Please sign in to comment.