Skip to content

Commit ecf3e6f

Browse files
committed
rename to tanstack-query-builder
1 parent 250d704 commit ecf3e6f

File tree

17 files changed

+51
-51
lines changed

17 files changed

+51
-51
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- run: npm test
2626

2727
- run: npm run attw
28-
working-directory: ./packages/react-query-builder
28+
working-directory: ./packages/tanstack-query-builder
2929

3030
- run: npm run publint
31-
working-directory: ./packages/react-query-builder
31+
working-directory: ./packages/tanstack-query-builder

.vscode/react-query-builder.code-workspace

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"path": ".."
66
},
77
{
8-
"name": "📦 React Query Builder",
9-
"path": "../packages/react-query-builder"
8+
"name": "📦 Tanstack Query Builder",
9+
"path": "../packages/tanstack-query-builder"
1010
},
1111
{
1212
"name": "🌐 Website",

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# react-query-builder
1+
# tanstack-query-builder

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
[![npm](https://img.shields.io/npm/v/react-query-builder?style=for-the-badge)](https://www.npmjs.com/package/react-query-builder)
2-
[![NPM](https://img.shields.io/npm/l/react-query-builder?style=for-the-badge)](https://github.com/KurtGokhan/react-query-builder/blob/main/LICENSE)
3-
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/KurtGokhan/react-query-builder/ci.yml?style=for-the-badge)](https://github.com/KurtGokhan/react-query-builder/actions/workflows/ci.yml)
1+
[![npm](https://img.shields.io/npm/v/tanstack-query-builder?style=for-the-badge)](https://www.npmjs.com/package/tanstack-query-builder)
2+
[![NPM](https://img.shields.io/npm/l/tanstack-query-builder?style=for-the-badge)](https://github.com/KurtGokhan/tanstack-query-builder/blob/main/LICENSE)
3+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/KurtGokhan/tanstack-query-builder/ci.yml?style=for-the-badge)](https://github.com/KurtGokhan/tanstack-query-builder/actions/workflows/ci.yml)
44

5-
# React Query Builder
5+
# Tanstack Query Builder
66

77
The simplest way to start building with Tanstack Query.
88

99
This library builds on top of Tanstack Query to provide out-of-the-box functionality to help you get started faster, and keep the application code well-structured.
1010

1111
It uses the builder pattern, the best pattern for working with complex Typescript types.
1212

13-
[Visit the docs →](https://gkurt.com/react-query-builder/)
13+
[Visit the docs →](https://gkurt.com/tanstack-query-builder/)
1414

1515
## Features
1616

@@ -36,7 +36,7 @@ When a Post is deleted, the list query is automatically invalidated and refetche
3636

3737
```tsx
3838
import { QueryClient } from "@tanstack/react-query";
39-
import { HttpQueryBuilder } from "react-query-builder";
39+
import { HttpQueryBuilder } from "tanstack-query-builder";
4040

4141
type PostData = { id: number; title: string; body: string; userId: number };
4242

@@ -95,4 +95,4 @@ export function MyApp() {
9595
}
9696
```
9797

98-
For more examples and documentation, [Visit the docs →](https://gkurt.com/react-query-builder/)
98+
For more examples and documentation, [Visit the docs →](https://gkurt.com/tanstack-query-builder/)

examples/vite/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "react-query-builder-example-vite",
2+
"name": "tanstack-query-builder-example-vite",
33
"private": true,
44
"version": "0.0.0",
55
"type": "module",
@@ -15,8 +15,8 @@
1515
"@tanstack/react-query-devtools": "^5.66.11",
1616
"react": "^19.0.0",
1717
"react-dom": "^19.0.0",
18-
"react-query-builder": "*",
19-
"react-query-builder-example-mocks": "*"
18+
"tanstack-query-builder": "*",
19+
"tanstack-query-builder-example-mocks": "*"
2020
},
2121
"devDependencies": {
2222
"@types/react": "^19.0.10",

examples/vite/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { setupWorker } from 'msw/browser';
22
import { useRef, useState } from 'react';
3-
import { CommentData, PostData, baseUrl, getMockHandlers } from 'react-query-builder-example-mocks';
3+
import { CommentData, PostData, baseUrl, getMockHandlers } from 'tanstack-query-builder-example-mocks';
44
import './App.css';
55
import { QueryClientProvider } from '@tanstack/react-query';
66
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
7-
import { HttpQueryBuilder } from 'react-query-builder';
7+
import { HttpQueryBuilder } from 'tanstack-query-builder';
88
import { queryClient } from './client';
99
import './index.css';
1010

examples/vite/src/SimpleExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { QueryClient } from '@tanstack/react-query';
2-
import { HttpQueryBuilder } from 'react-query-builder';
2+
import { HttpQueryBuilder } from 'tanstack-query-builder';
33

44
type PostData = { id: number; title: string; body: string; userId: number };
55

examples/vite/tests/Render.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { baseUrl } from 'react-query-builder-example-mocks';
1+
import { baseUrl } from 'tanstack-query-builder-example-mocks';
22
import { expect, test } from 'vitest';
33
import { render } from 'vitest-browser-react';
44
import { App } from '../src/App';
@@ -70,7 +70,7 @@ test('Posts deleted in other tabs are synced', async () => {
7070

7171
// Simulate delete in another tab and send sync message
7272
await fetch(`${baseUrl}/posts/1`, { method: 'DELETE' });
73-
new BroadcastChannel('react-query-builder-tags').postMessage({ type: 'invalidate', data: [{ type: 'posts' }] });
73+
new BroadcastChannel('tanstack-query-builder-tags').postMessage({ type: 'invalidate', data: [{ type: 'posts' }] });
7474

7575
await expect.element(el).not.toBeInTheDocument();
7676
});

examples/vite/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { defineConfig } from 'vite';
66
// https://vitejs.dev/config/
77
export default defineConfig({
88
plugins: [react()],
9-
optimizeDeps: { exclude: ['react-query-builder'] },
9+
optimizeDeps: { exclude: ['tanstack-query-builder'] },
1010
test: {
1111
globals: true,
1212
includeTaskLocation: true,

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)