SIGN IN SIGN UP
TanStack / query UNCLAIMED

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

48981 0 0 TypeScript
feat(angular-query): add angular-persist-query-client * feat(angular-query): - Created isRestoring injection token and provider - handled restoration phase in create-base-query.ts - handled restoration phase in * feat(angular-query): created package for experimental persistence support, and the withPersistQueryClient feature * test(persistQuery): add tests for withPersistQueryClient * docs(angular-query): add basic persister example * fix(angular-query): synced angular versions in new package * fix(angular-query): commit before ng update * feat(angular-query): updated example to v18 * fix(angular-query): fixed project name to basic-persister * feat(angular-query): updated example basic-persister to v19 * feat(angular-query): included back the persister package after angular migration * feat(angular-query): migrate to provideEnvironmentInitializer * fix(angular-query): fix eslint issues in inject-queries.ts * Revert "feat(angular-query): migrate to provideEnvironmentInitializer" This reverts commit af5b47b31511dd2db180abfd92f08541f29532d4. * fix(angular-query): only track the isRestoring in the effect * fix(angular-query): removed conditional _isRestoring * ci: apply automated fixes * fix(angular-query): used effect onCleanup instead of destroy ref * Update examples/angular/basic-persister/.devcontainer/devcontainer.json Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com> * Update examples/angular/basic-persister/package.json Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com> * Update examples/angular/basic-persister/src/index.html Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com> * Update examples/angular/basic-persister/tsconfig.json Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com> * Update examples/angular/basic-persister/tsconfig.json Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com> * Update examples/angular/basic-persister/tsconfig.json Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com> * Update packages/angular-query-experimental/src/inject-is-restoring.ts Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com> * fix(angular-query): fixed lock file * fix(angular-query): aligned package.json versions * added missing dep from basic-persister example * Added a more complex example for persistence. This examples demonstrates how to selectively persist queries to different persisters. * fix(angular-query) bumped versions to 5.62.4 * refactor(angular-query) refactored to implicit return * fix(angular-query) bump angular persister package and examples version * fix(angular-query) fixed eslint errors * refactor(angular-query) set initial `isRestoring` to true to match the React adapter logic * Revert "refactor(angular-query) set initial `isRestoring` to true to match the React adapter logic" This reverts commit 235bbabebf0dbc64d0b3eb767b2b858047c9929a. * fix(angular-query) fixed formatting of JSDOC comment ruined by eslint * update build configs * zoneless unit tests * replace deprecated injectQueryClient * createBaseQuery is always run in injection context, remove inject(Injector) * remove api extractor config * update example dependencies * comment out from publish script for now * refactor(persist-query-client): simplify configuration by removing array structure for persistOptions * refactor(angular-query-persist-client): removed experimental from package name and updated configurations * fix example * fix outdated comment * exclude from preview for now * mark package as private instead * configure injectIsRestoring injector through options object --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
2025-04-13 20:42:49 +03:00
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"cli": {
"packageManager": "pnpm",
"analytics": false,
"cache": {
"enabled": false
}
},
"newProjectRoot": "projects",
"projects": {
"basic-persister": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"inlineTemplate": true,
"inlineStyle": true,
"skipTests": true
},
"@schematics/angular:class": {
"skipTests": true
},
"@schematics/angular:directive": {
"skipTests": true
},
"@schematics/angular:guard": {
"skipTests": true
},
"@schematics/angular:interceptor": {
"skipTests": true
},
"@schematics/angular:pipe": {
"skipTests": true
},
"@schematics/angular:resolver": {
"skipTests": true
},
"@schematics/angular:service": {
"skipTests": true
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"outputPath": "dist/basic-persister",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"assets": ["src/favicon.ico", "src/assets"],
"styles": [],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular/build:dev-server",
"configurations": {
"production": {
"buildTarget": "basic-persister:build:production"
},
"development": {
"buildTarget": "basic-persister:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular/build:extract-i18n",
"options": {
"buildTarget": "basic-persister:build"
}
}
}
}
}
}