* setting up pr workflow for dte
* fixing yml syntax error
* fixing more pr workflow errors
* fixing more pr workflow errors
* removing coverage upload step from agents
* starting the ci run
* making the test:build cacheable
* setting matrix down to 4 total agents
* rm NX_VERBOSE_LOGGING env var in workflow files
* rm option to skip nx cache
* testing with parallel option of 1
* adding affected base option
* busting cache
* adding root package.json as dep
* adding parallel=2 option and busting cache
* default parallel option and busting cache
* rm debris from cache-busting for time tests
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* switiching to an affected strategy
* updating base affected option for ci and ci-v3 workflows
* Update .github/workflows/ci-v3.yml
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* checking github context
* checking pnpm version
* fix?
* does not like main - let's use a sha then
* checking git head
* checking git in general
* fix????
* fix???????? pleeeease
* still in detatched head state
* try checking out the pr head sha?
* checking out pr branch
* checking githubref
* full gh ref
* dumping context again
* try to checkout head ref
* adding repo prop
* git logging
* trying with sha for base
* fixing other jobs
* fixing other jobs again
* reverting root specific projects to run many
* removing special stuff from build test
* testing affected
* reverting change
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* adding the nx-cloud task-runner
* empty commit to trigger ci with warm cache
* retrying after adding workspace to TanStack organization
* another empty commit...
* another empty commit...
* this is why I should never use the in-browser conflict resolver...
* another empty commit...
* another empty commit...
* Update packages/query-core/src/tests/hydration.test.tsx
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* rm console.log left in query core
* empty commit to trigger re-build
* updating nx cloud dependency
* empty commit to attempt to recreate unexpected cache miss
* gather hash data to check
* empty commit
* invalidating cache again
* removing old key and adding read-only key to source control
* empty commit
* updating build task
* adding rollup to cacheable operations
* fixing the project json file with better globs
* removing test:format and test:build as cacheable operations
* updating package scripts for better terminal logging
* removing comment left in
* bumping to latest cloud runner version
* updating pnpm-lock.yaml file
* adding skip-nx-cache to publish script
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* caching added for eslint for packages
* project definition added for scripts project and test:eslint target
* adding task caching for test:types
* adding appropriate dependsOn and outputs to test:types
* updating test:react:17
* running many on test:ci for nx scripts
* adding output to test:types
* adding root project and format task
* adding caching for build and test:build
* fixing frozen lockfile error in ci
* fixing pnpm build to include the build of the eslin-plugin
* adding build for svelte-query as well
* parallelizing bundlewatch and validate pacakges script
* cleaning up a bit more
* moving build config to the root project
* adding quick caching test
* reverting workflow change
* updating pr yml to test nx speed
* fixing yml on property
* fixing yml on property
* fixing target name
* upping to running4 in parallel
* upping to running 5 in parallel
* upping to running 6 in parallel
* upping to running 7 in parallel
* upping to running 8 in parallel
* upping to running 9 in parallel
* upping to running 10 in parallel
* opting for --parallel=5
* cleaning up nx.json
* revert touching of ci.yml file
* reverting on property of pr.yml file
* updating root pacakge.json test:lib command
* fixing frozen lockfile error in ci
---------
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* Use rimraf for clean script
Supported on windows
* Restructure jest tests, types test, and building types
* Relative eslint and jest paths are not needed
Now works on windows too, and tested to make sure it doesn't break linux
* Run codemod tests from main jest.config.ts
--collectCoverage false breaks when passed in to the union of these
* Remove unused test:lib scripts
* Add prettier-plugin-svelte
* Call test:types in github workflow
* Add missing build:types to query-async-storage-persister
* Simplify build script
Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
* chore: get rit of rescript
* chore: solid-query doesn't need jscodeshift
* chore: move react dependencies to react packages
* chore: move react dependencies to react packages
* chore: add descriptions
* chore: remove special lint tsconfigs
we want to use the same tsconfigs for linting as for everything else
* chore: make all tests run in parallel with pnpm
* chore: chunk ci pipeline
* chore: move react specific test setup into react packages
* chore: remove jest configs from tsconfig.json
because they live outside of the root dir (src)
* chore: fix weird type errors in solid tests
* chore: fix running the lint task
* chore: run the typecheck task in parallel
* chore: add a clean task
* Revert "chore: run the typecheck task in parallel"
This reverts commit 53573f5b13.
* chore: no idea why this is errors
* chore: fix codecov upload
* chore: add runInBand
* Revert "chore: add runInBand"
This reverts commit 568e12c41b.
* chore: make jest tests temporarily exit with 0
so that we can test code-coverage
* chore: only run test jests
* Revert "chore: make jest tests temporarily exit with 0"
This reverts commit ad099006f8.
* chore: fix solid-query tests with a custom transform
* chore: use checkout v3
* chore: fix node-version for Test React 17 pipeline
* chore: fix watch mode
we cannot run jest:dev anymore because streaming watch mode to multiple packages is not a thing; you'd need to go into a separate package and watch those tests there
* feat(queryObserver): add isInitialLoading derived flag
this flag describes isLoading && isFetching and can be used to show a loading spinner for lazy or disabled queries
* chore(ci): fix caching
apparently, v3 has a fix: https://github.com/actions/setup-node/issues/543
* chore(ci): properly fix token issue
as described here: https://stackoverflow.com/questions/52015748/npm-failed-to-replace-env-in-config-npm-token
he extra warn output made the caching fail
* chore: fix bundlewatch glob
* docs: add a section about isInitialLoading to the migration guide
RELEASE_ALL
* chore(pnpm): update lockfile
* chore(pnpm): add pnpm
* chore(pnpm): get rid of private:true
which was only needed for yarn workspaces; also, remove the csb workaround, because it didn't work with private:true
* chore(pnpm): switch to workspace:* dependencies
because pnpm will replace them automatically during publish
* chore(pnpm): use ^ dependencies for examples
we will always get the latest version as there is no lockfile for them
* chore(pnpm): update publish script to use pnpm
this also means we don't need to update package.json at all because we use workspace dependencies now
* chore(pnpm): devtools need react-error-boundary
* chore(pnpm): replace lerna with pnpm
* chore(pnpm): use pnpm to install in CI
* chore(pnpm): fix install in ci
* chore(pnpm): fix yml syntax
* chore(pnpm): add jest-dom to react-query
* chore(pnpm): add jest-dom to types
* chore(pnpm): explicitly add jest-dom typings
* chore(pnpm): revert jest-com changes
* chore(pnpm): ok prettier, whatever
* chore(pnpm): go to pnpm v7
* chore(pnpm): use stricter node version
* chore(pnpm): oh boy
* chore(pnpm): remove engines
because codesandbox-ci has a different version
* chore(pnpm): restore updating version in publish script
* chore(pnpm): filter pnpm scripts and installs down to ./packages
so that we exclude examples
* chore(pnpm): remove filtering from installs
as it doesn't install top-level dependencies; also, --frozen-lockfile is the default for CI environments
* chore: remove testing from ci-publish pipeline
because the cipublish script does it internally, so we have been doing twice the tests now
* chore: fix release script
any change in package should result in a package release - not just the `src` directory
* fix: publish script
the Package that's defined in config does not have dependencies / peerDependencies, so we need to iterate over the object we find package.json