forked from TanStack/query
-
Notifications
You must be signed in to change notification settings - Fork 0
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 zhihengGet/main
- Loading branch information
Showing
222 changed files
with
2,031 additions
and
5,971 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
link-workspace-packages=true | ||
prefer-workspace-packages=true | ||
provenance=true |
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 |
---|---|---|
@@ -1 +1 @@ | ||
v22.2.0 | ||
22.4.0 |
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,42 @@ | ||
function readPackage(pkg, context) { | ||
// react-scripts@4.0.3 | ||
if (pkg.name === 'react-scripts' && pkg.version === '4.0.3') { | ||
delete pkg.dependencies['@typescript-eslint/eslint-plugin'] | ||
delete pkg.dependencies['@typescript-eslint/parser'] | ||
delete pkg.dependencies['babel-eslint'] | ||
delete pkg.dependencies['babel-jest'] | ||
delete pkg.dependencies['eslint'] | ||
delete pkg.dependencies['eslint-config-react-app'] | ||
delete pkg.dependencies['eslint-plugin-flowtype'] | ||
delete pkg.dependencies['eslint-plugin-import'] | ||
delete pkg.dependencies['eslint-plugin-jest'] | ||
delete pkg.dependencies['eslint-plugin-jsx-a11y'] | ||
delete pkg.dependencies['eslint-plugin-react'] | ||
delete pkg.dependencies['eslint-plugin-react-hooks'] | ||
delete pkg.dependencies['eslint-plugin-testing-library'] | ||
delete pkg.dependencies['jest'] | ||
delete pkg.dependencies['jest-circus'] | ||
delete pkg.dependencies['jest-resolve'] | ||
delete pkg.dependencies['jest-watch-typeahead'] | ||
context.log('Removed unused dependencies from react-scripts@4.0.3') | ||
} | ||
|
||
// react-scripts@5.0.1 | ||
if (pkg.name === 'react-scripts' && pkg.version === '5.0.1') { | ||
delete pkg.dependencies['babel-jest'] | ||
delete pkg.dependencies['eslint'] | ||
delete pkg.dependencies['eslint-config-react-app'] | ||
delete pkg.dependencies['jest'] | ||
delete pkg.dependencies['jest-resolve'] | ||
delete pkg.dependencies['jest-watch-typeahead'] | ||
context.log('Removed unused dependencies from react-scripts@5.0.1') | ||
} | ||
|
||
return pkg | ||
} | ||
|
||
module.exports = { | ||
hooks: { | ||
readPackage, | ||
}, | ||
} |
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
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 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/image-types/global" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more information. |
Oops, something went wrong.