Skip to content

Commit

Permalink
[chore] add error codes for new Apollo Client version (#1293)
Browse files Browse the repository at this point in the history
* [chore] add error codes for new Apollo Client version

* update

---------

Co-authored-by: phryneas <[email protected]>
Co-authored-by: Lenz Weber-Tronic <[email protected]>
Co-authored-by: Lenz Weber-Tronic <[email protected]>
  • Loading branch information
4 people authored Mar 21, 2024
1 parent 7b6702a commit e417490
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/656d671cd553cb64cd0d0d6ad89f4ba1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"apollo-client-devtools": patch
---

add error codes for new Apollo Client version
3 changes: 2 additions & 1 deletion .github/workflows/update-errorcodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
echo "No new error codes were added."
exit 0
fi
cat <<EOF > ../.changeset/$(md5 < errorcodes.json).md
cat <<EOF > ../.changeset/`md5 < errorcodes.json`.md
---
"apollo-client-devtools": patch
---
Expand Down
1 change: 1 addition & 0 deletions all-clients/errorcodes.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
"3.9.5": "AQEBTwEEUAEEAgICAwMDBAMEBQMEBgMEBwQECAQFCQUECgUEBwUEUQUEDAYEDgYvDwYEBwgIBwgIEQkEEgkEEwkJFAkEFQkEFgoEFwoKGAowGQoMGgoxGwoOHAoPHQoEHgoEVAoEIAsEIQsEIgwEIw0EJA4EJQ8yJg8RJxAEKBEEKRISKhMtKxQULBUVLBYWLRcXUyc6LxkEMBoEMRoEMhoEMxoENRwaNhwENx0EOB4bOR4uOh4dOx4ePB4fPR8gUh85ECUHPiAhPyAiQCAzQSA0QiEEQyElByEIRCI1RSIERiInRyI2RCI3SCIqSSI4SiIESyMETCQETSQE",
"3.9.6": "AQEBTwEEUAEEAgICAwMDBAMEBQMEBgMEBwQECAQFCQUECgUEBwUEUQUEDAYEDgYvDwYEBwgIBwgIEQkEEgkEEwkJFAkEF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OHAoPHQoEHgoEVAoEIAsEIQsEIgwEIw0EJA4EJQ8yJg8RJxAEKBEEKRISKhMtKxQULBUVLBYWLRcXUyc6LxkEMBoEMRoEMhoEMxoENRwaNhwENx0EOB4bOR4uOh4dOx4ePB4fPR8gUh85ECUHPiAhPyAiQCAzQSA0QiEEQyElByEIRCI1RSIERiInRyI2RCI3SCIqSSI4SiIESyMETCQETSQE"
}
}
96 changes: 95 additions & 1 deletion all-clients/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions all-clients/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
"encode": "node ./encode-errorcodes.mjs"
},
"dependencies": {
"@apollo-client/3.10.0-alpha.1": "npm:@apollo/[email protected]",
"@apollo-client/3.8.0": "npm:@apollo/[email protected]",
"@apollo-client/3.8.0-beta.0": "npm:@apollo/[email protected]",
"@apollo-client/3.8.0-beta.0": "npm:@apollo/[email protected]",
"@apollo-client/3.8.0-beta.1": "npm:@apollo/[email protected]",
"@apollo-client/3.8.0-beta.2": "npm:@apollo/[email protected]",
"@apollo-client/3.8.0-beta.3": "npm:@apollo/[email protected]",
Expand All @@ -20,8 +18,8 @@
"@apollo-client/3.8.0-rc.0": "npm:@apollo/[email protected]",
"@apollo-client/3.8.0-rc.1": "npm:@apollo/[email protected]",
"@apollo-client/3.8.0-rc.2": "npm:@apollo/[email protected]",
"@apollo-client/3.8.0": "npm:@apollo/[email protected]",
"@apollo-client/3.8.1": "npm:@apollo/[email protected]",
"@apollo-client/3.8.10": "npm:@apollo/[email protected]",
"@apollo-client/3.8.2": "npm:@apollo/[email protected]",
"@apollo-client/3.8.3": "npm:@apollo/[email protected]",
"@apollo-client/3.8.4": "npm:@apollo/[email protected]",
Expand All @@ -30,7 +28,7 @@
"@apollo-client/3.8.7": "npm:@apollo/[email protected]",
"@apollo-client/3.8.8": "npm:@apollo/[email protected]",
"@apollo-client/3.8.9": "npm:@apollo/[email protected]",
"@apollo-client/3.9.0": "npm:@apollo/client@3.9.0",
"@apollo-client/3.8.10": "npm:@apollo/client@3.8.10",
"@apollo-client/3.9.0-alpha.0": "npm:@apollo/[email protected]",
"@apollo-client/3.9.0-alpha.1": "npm:@apollo/[email protected]",
"@apollo-client/3.9.0-alpha.2": "npm:@apollo/[email protected]",
Expand All @@ -41,13 +39,16 @@
"@apollo-client/3.9.0-beta.1": "npm:@apollo/[email protected]",
"@apollo-client/3.9.0-rc.0": "npm:@apollo/[email protected]",
"@apollo-client/3.9.0-rc.1": "npm:@apollo/[email protected]",
"@apollo-client/3.9.0": "npm:@apollo/[email protected]",
"@apollo-client/3.9.1": "npm:@apollo/[email protected]",
"@apollo-client/3.9.2": "npm:@apollo/[email protected]",
"@apollo-client/3.9.3": "npm:@apollo/[email protected]",
"@apollo-client/3.9.4": "npm:@apollo/[email protected]",
"@apollo-client/3.9.5": "npm:@apollo/[email protected]",
"@apollo-client/3.9.6": "npm:@apollo/[email protected]",
"@apollo-client/3.9.7": "npm:@apollo/[email protected]"
"@apollo-client/3.9.7": "npm:@apollo/[email protected]",
"@apollo-client/3.9.8": "npm:@apollo/[email protected]",
"@apollo-client/3.10.0-alpha.1": "npm:@apollo/[email protected]"
},
"devDependencies": {
"semver": "7.6.0"
Expand Down

0 comments on commit e417490

Please sign in to comment.