-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into pr/lint-hooks
- Loading branch information
Showing
20 changed files
with
152 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@apollo/client": patch | ||
--- | ||
|
||
Add missing name to tuple member (fix TS5084) |
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 |
---|---|---|
|
@@ -33,16 +33,20 @@ jobs: | |
Tests: | ||
docker: | ||
- image: cimg/node:22.2.0 | ||
parameters: | ||
project: | ||
type: string | ||
steps: | ||
- checkout | ||
- run: npm run ci:precheck | ||
- run: npm version | ||
- run: npm ci | ||
- run: if test "<< parameters.project >>" = "Core Tests"; then npm run test:memory; fi | ||
- run: | ||
name: Jest suite with coverage | ||
command: npm run test:ci | ||
command: npm run test:ci -- --selectProjects "<< parameters.project >>" | ||
environment: | ||
JEST_JUNIT_OUTPUT_FILE: "reports/junit/js-test-results.xml" | ||
JEST_JUNIT_OUTPUT_FILE: "reports/junit/js-test-results-<< parameters.project >>.xml" | ||
- store_test_results: | ||
path: reports/junit | ||
- store_artifacts: | ||
|
@@ -69,7 +73,7 @@ jobs: | |
react: | ||
type: string | ||
docker: | ||
- image: cimg/node:22.2.0 | ||
- image: cimg/node:22.2.0-browsers | ||
steps: | ||
- checkout | ||
- attach_workspace: | ||
|
@@ -124,7 +128,11 @@ workflows: | |
Build and Test: | ||
jobs: | ||
# - Filesize | ||
- Tests | ||
- Tests: | ||
matrix: | ||
parameters: | ||
project: | ||
["Core Tests", "ReactDOM 17", "ReactDOM 18", "ReactDOM 19"] | ||
- Formatting | ||
- Lint | ||
- BuildTarball | ||
|
@@ -165,7 +173,7 @@ workflows: | |
- "@types/[email protected] @types/[email protected]" | ||
- "@types/react@17 @types/react-dom@17" | ||
- "@types/react@18 @types/react-dom@18" | ||
- "@types/react@npm:[email protected]alpha.3 @types/react-dom@npm:[email protected]alpha.3" | ||
- "@types/react@npm:[email protected]rc.0 @types/react-dom@npm:[email protected]rc.0" | ||
- "typescript@next" | ||
security-scans: | ||
jobs: | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -51,7 +51,7 @@ | |
"inline-inherit-doc": "ts-node-script config/inlineInheritDoc.ts", | ||
"test": "node --expose-gc ./node_modules/jest/bin/jest.js --config ./config/jest.config.js", | ||
"test:debug": "node --inspect-brk node_modules/.bin/jest --config ./config/jest.config.js --runInBand --testTimeout 99999 --logHeapUsage", | ||
"test:ci": "TEST_ENV=ci npm run test:coverage -- --logHeapUsage && npm run test:memory", | ||
"test:ci": "TEST_ENV=ci npm run test:coverage -- --logHeapUsage", | ||
"test:watch": "jest --config ./config/jest.config.js --watch", | ||
"test:memory": "npm i && npm run build && cd scripts/memory && npm i && npm test", | ||
"test:coverage": "npm run coverage -- --ci --runInBand --reporters=default --reporters=jest-junit", | ||
|
@@ -164,8 +164,10 @@ | |
"prettier": "3.1.1", | ||
"react": "18.3.1", | ||
"react-17": "npm:react@^17", | ||
"react-19": "npm:[email protected]", | ||
"react-dom": "18.3.1", | ||
"react-dom-17": "npm:react-dom@^17", | ||
"react-dom-19": "npm:[email protected]", | ||
"react-error-boundary": "4.0.13", | ||
"recast": "0.23.6", | ||
"resolve": "1.22.8", | ||
|
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
Oops, something went wrong.