-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update Apollo Client version to 3.9.6 (#236)
* update Apollo Client version to 3.9.6 * run "next" steps only if next>latest * run `yarn install` for matrix step * adjust
- Loading branch information
Showing
15 changed files
with
86 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,15 @@ | |
"main": "package.json", | ||
"dependencies": { | ||
"monorepo": "link:.", | ||
"prettier": "^3.0.0" | ||
"prettier": "^3.0.0", | ||
"semver": "^7.6.0" | ||
}, | ||
"scripts": { | ||
"verify-package-json": "node ./scripts/verify-package-json.mjs", | ||
"verify-package-shape": "node ./scripts/verify-package-shape.mjs" | ||
"verify-package-shape": "node ./scripts/verify-package-shape.mjs", | ||
"matrix": "node ./scripts/test-matrix.js" | ||
}, | ||
"resolutions": { | ||
"@apollo/client": "0.0.0-pr-11617-20240227102358", | ||
"[email protected]": "18.3.0-canary-60a927d04-20240113", | ||
"[email protected]": "18.3.0-canary-60a927d04-20240113", | ||
"superjson": "1.13.3" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
const { execFileSync } = require("node:child_process"); | ||
const semver = require("semver"); | ||
|
||
const tags = execFileSync("npm", ["dist-tag", "ls", "@apollo/client"], { | ||
encoding: "utf-8", | ||
}).toString(); | ||
|
||
// @ts-ignore | ||
let latest = tags.match(/latest: (.*)/)[1]; | ||
// @ts-ignore | ||
let next = tags.match(/next: (.*)/)[1]; | ||
|
||
if (semver.gt(next, latest)) { | ||
console.log('matrix=["next","latest"]'); | ||
} else { | ||
console.log('matrix=["latest"]'); | ||
} |
Oops, something went wrong.