Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate RTK Query repo contents into the RTK repo #1006

Merged
merged 212 commits into from
Apr 20, 2021

Conversation

markerikson
Copy link
Collaborator

This PR:

  • Migrates the entire RTK Query repo contents into a temporary /query folder, including all files with their history, as a first step towards integrating the source and docs into the RTK repo.

I'm not even touching anything to do with running or building the code here. I just want all the files to be in the RTK repo so we can be moving all the pieces around.

phryneas and others added 22 commits December 25, 2020 17:30
Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>
* docs: update comparison (#103)

Adds "declarative" as an option for API definition for React Query. With v3, you can now configure all of your queries and mutations up front before calling them.

* Add algolia config (#126)

* use authorization instead of authentication (#128)

* run tests on PRs

* Link directly to #redux on Reactiflux (#127)

Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>

Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>
Co-authored-by: Nick McCurdy <nick@nickmccurdy.com>
* Move `internalActions.prefetchThunk` to `util.prefetchThunk`
* Docs: Move prefetchThunk to util

Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>
* enhanceEndpoints RFC

* add entityTypes to enhanceEndpoints

* refactor tests

* only allow to add new entityTypes, don't allow to remove any

* keep console clean

* add documentation for code generation

* Add code gen to sidebar and link to createApi

Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>
Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>
* Use code-generation everywhere
* rename createPureApi to createBaseApi

Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>
Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>
Co-authored-by: Lenz Weber <mail@lenzw.de>
Co-authored-by: Matt Sutkowski <msutkowski@gmail.com>
Co-authored-by: Rob Clayburn <rob@infosum.com>
Co-authored-by: Lenz Weber <mail@lenzw.de>
Co-authored-by: Lenz Weber <lenz.weber@mayflower.de>
Co-authored-by: kahirokunn <okinakahiro@gmail.com>
Co-authored-by: DmitryScaletta <DmitryScaletta@users.noreply.github.com>
Co-authored-by: Guillaume FORTAINE <guillaume+github@fortaine.com>
Co-authored-by: triou <34629112+tevariou@users.noreply.github.com>
Co-authored-by: Rob Clayburn <rob@pollen-8.co.uk>
Co-authored-by: Shrugsy <joshfraser91@gmail.com>
…feature/migrate-rtkq-source

# Conflicts:
#	.gitignore
#	query/package.json
#	query/react/package.json
@github-actions
Copy link

github-actions bot commented Apr 20, 2021

Size Change: 0 B

Total Size: 83.9 kB

ℹ️ View Unchanged
Filename Size Change
dist/index.js 146 B 0 B
dist/redux-toolkit.cjs.development.js 11.8 kB 0 B
dist/redux-toolkit.cjs.production.min.js 5.67 kB 0 B
dist/redux-toolkit.esm.js 11.3 kB 0 B
dist/redux-toolkit.modern.development.js 9.24 kB 0 B
dist/redux-toolkit.modern.js 9.28 kB 0 B
dist/redux-toolkit.modern.production.min.js 4.33 kB 0 B
dist/redux-toolkit.umd.js 21.6 kB 0 B
dist/redux-toolkit.umd.min.js 10.6 kB 0 B

compressed-size-action

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit a788e00:

Sandbox Source
Vanilla Configuration
Vanilla Typescript Configuration
rsk-github-issues-example Configuration

@markerikson
Copy link
Collaborator Author

  • Tests don't explode now that I'm ignoring the /query folder entirely
  • Turned off CSB-CI, Compressed Size, TS typechecks, and Netlify previews for now. This will affect the v1.6-integration branch, which is intentional until we get things mostly sorted out. We'll want to turn them back on later.
  • Had to rename the RTKQ package.json files to fix a Jest collision, although that might be revertable now that I'm ignoring /query

Next step is to try reworking our test setup so that we can have tests in nested ./tests subfolders, then begin moving the RTKQ source into the correct locations.

@markerikson markerikson merged commit cfd925b into feature/v1.6-integration Apr 20, 2021
@markerikson markerikson deleted the feature/migrate-rtkq-source branch April 20, 2021 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.