@graphcommerce/docs 4.10.0 → 4.11.0-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.11.0-canary.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1613](https://github.com/graphcommerce-org/graphcommerce/pull/1613) [`c5af837f8`](https://github.com/graphcommerce-org/graphcommerce/commit/c5af837f86ac097089eded39dcdd0100f61a1990) Thanks [@paales](https://github.com/paales)! - Remove the usage of scripts_local
8
+
3
9
  ## 4.10.0
4
10
 
5
11
  ### Minor Changes
@@ -65,25 +65,15 @@ https://user-images.githubusercontent.com/1251986/158647122-dc57002f-a9c2-4661-a
65
65
 
66
66
  ### Download the example
67
67
 
68
- 1. `git clone https://github.com/graphcommerce-org/graphcommerce.git` — clone repository
68
+ 1. `git clone https://github.com/graphcommerce-org/graphcommerce.git` — clone
69
+ repository
69
70
  2. `mkdir my-project` — create project folder
70
- 3. `cp -R graphcommerce/examples/magento-graphcms/. my-project && rm -rf graphcommerce` — copy example, delete repo
71
+ 3. `cp -R graphcommerce/examples/magento-graphcms/. my-project && rm -rf graphcommerce`
72
+ — copy example, delete repo
71
73
  4. `cd my-project` — change directory to project folder
72
74
  5. `cp -R .env.example .env` — create .env file
73
75
  6. `rm CHANGELOG.md` — remove changelog
74
76
 
75
- Edit /package.json. Delete `"scripts": {...}` and rename `scripts_local` to
76
- `scripts`:
77
-
78
- ```json
79
- {
80
- "name": "@my-company/my-project",
81
- "scripts": {
82
- ...
83
- }
84
- }
85
- ```
86
-
87
77
  ## Step 2: Magento and GraphCMS API keys
88
78
 
89
79
  > By default, the .env file is configured with API keys from a demo Magento
@@ -149,7 +139,9 @@ List of routes and store_codes:
149
139
  The example has Payment Service Providers integrated (Mollie, Braintree). Remove
150
140
  the ones your Magento backend doesn't support.
151
141
 
152
- - Remove Payment Service integrations from package.json: `@graphcommerce/mollie-magento-payment` and/or `@graphcommerce/magento-payment-braintree`
142
+ - Remove Payment Service integrations from package.json:
143
+ `@graphcommerce/mollie-magento-payment` and/or
144
+ `@graphcommerce/magento-payment-braintree`
153
145
  - Remove Payment Service references from `pages/checkout/payment.tsx`
154
146
 
155
147
  ## Step 3: Start the development environment
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/docs",
3
3
  "homepage": "https://www.graphcommerce.org/docs",
4
4
  "repository": "github:graphcommerce-org/graphcommerce/docs",
5
- "version": "4.10.0",
5
+ "version": "4.11.0-canary.0",
6
6
  "sideEffects": true,
7
7
  "devDependencies": {
8
8
  "@graphcommerce/prettier-config-pwa": "^4.0.6"
package/upgrading.md CHANGED
@@ -75,7 +75,6 @@ Compare your local /package.json with the example's
75
75
  doesn't support.
76
76
  2. Replace your local `devDependencies` with the example's `devDependencies`
77
77
  3. Replace your local `resolutions` with the example's `resolutions`
78
- 4. Replace your local `scripts` with the example's `scripts_local`
79
78
 
80
79
  After updating the package.json file, run the following to install the latest
81
80
  packages: