@comet/upgrade 1.26.0 → 1.27.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.
Files changed (2) hide show
  1. package/README.md +3 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -39,17 +39,10 @@ npx @comet/upgrade v7/hide-graphql-field-suggestions.ts
39
39
  cd project-you-want-to-upgrade/
40
40
  ```
41
41
 
42
- Create a new branch to test the script:
42
+ Run the upgrade script. Replace `<path-to-comet-upgrade-repository>` with the location of the cloned comet-upgrade repository (e.g., `../comet-upgrade/`):
43
43
 
44
44
  ```sh
45
- git checkout -b upgrade-comet-to-4
46
- ```
47
-
48
- Execute the local @comet/upgrade binary:
49
-
50
- ```sh
51
- ../comet-upgrade/bin/index.js 4 # comet-upgrade directory
52
-
45
+ <path-to-comet-upgrade-repository>/bin/index.js v4/change-something.ts
53
46
  ```
54
47
 
55
48
  Verify the changes in your project. If something is not as expected, adapt the upgrade script accordingly and then run it again on a clean state:
@@ -57,5 +50,5 @@ npx @comet/upgrade v7/hide-graphql-field-suggestions.ts
57
50
  ```sh
58
51
  git reset --hard HEAD
59
52
 
60
- ../comet-upgrade/bin/index.js 4
53
+ <path-to-comet-upgrade-repository>/bin/index.js v4/change-something.ts
61
54
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comet/upgrade",
3
- "version": "1.26.0",
3
+ "version": "1.27.0",
4
4
  "description": "Upgrade scripts for Comet DXP",
5
5
  "homepage": "https://github.com/vivid-planet/comet-upgrade#readme",
6
6
  "bugs": {