Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/framework/react/basic-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ createRoot(document.getElementById('root')!).render(
)
```

Finally add any additional configuration you desire to the `TanStackDevtools` component, more information can be found under the [TanStack Devtools Configuration](../../../configuration.md) section.
Finally add any additional configuration you desire to the `TanStackDevtools` component, more information can be found under the [TanStack Devtools Configuration](../../configuration.md) section.

A complete working example can be found in our [basic example](https://tanstack.com/devtools/latest/docs/framework/react/examples/basic).
2 changes: 1 addition & 1 deletion docs/framework/react/guides/custom-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export function DevtoolPanel() {

## Application Integration

This step follows what's shown in [basic-setup](../../basic-setup.md) for a more documented guide go check it out. As well as the complete [custom-devtools example](https://tanstack.com/devtools/latest/docs/framework/react/examples/custom-devtools) in our examples section.
This step follows what's shown in [basic-setup](../basic-setup.md) for a more documented guide go check it out. As well as the complete [custom-devtools example](https://tanstack.com/devtools/latest/docs/framework/react/examples/custom-devtools) in our examples section.

Main.tsx
```tsx
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/solid/basic-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ render(() => (
), document.getElementById('root')!)
```

Finally add any additional configuration you desire to the `TanStackDevtools` component, more information can be found under the [TanStack Devtools Configuration](../../../configuration.md) section.
Finally add any additional configuration you desire to the `TanStackDevtools` component, more information can be found under the [TanStack Devtools Configuration](../../configuration.md) section.

A complete working example can be found in our [examples section](https://tanstack.com/devtools/latest/docs/framework/solid/examples).
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ npm install -D @tanstack/devtools-vite
```


Read more about using the devtools in production in our [Production docs](https://tanstack.com/devtools/latest/docs/production).
Read more about using the devtools in production in our [Production docs](./production.md).
4 changes: 2 additions & 2 deletions docs/reference/classes/tanstackdevtoolscore.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Defined in: [devtools/src/core.tsx:53](https://github.com/TanStack/devtools/blob

##### init

[`TanStackDevtoolsInit`](../interfaces/tanstackdevtoolsinit.md)
[`TanStackDevtoolsInit`](./interfaces/tanstackdevtoolsinit.md)

#### Returns

Expand Down Expand Up @@ -67,7 +67,7 @@ Defined in: [devtools/src/core.tsx:94](https://github.com/TanStack/devtools/blob

##### config

`Partial`\<[`TanStackDevtoolsInit`](../interfaces/tanstackdevtoolsinit.md)\>
`Partial`\<[`TanStackDevtoolsInit`](./interfaces/tanstackdevtoolsinit.md)\>

#### Returns

Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check

// @ts-ignore Needed due to moduleResolution Node vs Bundler
import { tanstackConfig } from '@tanstack/config/eslint'
import { tanstackConfig } from '@tanstack/eslint-config'
import unusedImports from 'eslint-plugin-unused-imports'

export default [
Expand Down
4 changes: 4 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
"inputs": ["production", "^production"],
"outputs": ["{projectRoot}/build", "{projectRoot}/dist"]
},
"test:docs": {
"cache": true,
"inputs": ["{workspaceRoot}/docs/**/*"]
},
"test:knip": {
"cache": true,
"inputs": ["{workspaceRoot}/**/*"]
Expand Down
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"clean:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf {} +",
"clean:all": "pnpm run clean && pnpm run clean:node_modules",
"dev": "pnpm run watch",
"docs:generate": "node scripts/generateDocs.ts",
"format": "pnpm run prettier:write",
"generate-docs": "node scripts/generate-docs.ts",
"lint:fix": "nx affected --target=lint:fix --exclude=examples/**",
"lint:fix:all": "pnpm run format && nx run-many --targets=lint --fix",
"preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
Expand All @@ -29,6 +29,7 @@
"test": "pnpm run test:ci",
"test:build": "nx affected --target=test:build --exclude=examples/**",
"test:ci": "nx run-many --targets=test:format,test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build",
"test:docs": "node scripts/verify-links.ts",
"test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
"test:format": "pnpm run prettier --check",
"test:knip": "knip",
Expand All @@ -41,6 +42,7 @@
},
"nx": {
"includedScripts": [
"test:docs",
"test:knip",
"test:sherif"
]
Expand All @@ -60,13 +62,16 @@
"@faker-js/faker": "^9.9.0",
"@size-limit/preset-small-lib": "^11.2.0",
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
"@tanstack/config": "0.20.2",
"@tanstack/eslint-config": "0.3.2",
"@tanstack/typedoc-config": "0.2.1",
"@tanstack/vite-config": "0.2.1",
"@testing-library/jest-dom": "^6.8.0",
"@types/node": "^22.15.2",
"eslint": "^9.36.0",
"eslint-plugin-unused-imports": "^4.2.0",
"jsdom": "^27.0.0",
"knip": "^5.64.0",
"markdown-link-extractor": "^4.0.2",
"nx": "^21.5.3",
"premove": "^4.0.0",
"prettier": "^3.6.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-client/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, mergeConfig } from 'vitest/config'
import { tanstackViteConfig } from '@tanstack/config/vite'
import { tanstackViteConfig } from '@tanstack/vite-config'
import packageJson from './package.json'

const config = defineConfig({
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-ui/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, mergeConfig } from 'vitest/config'
import { tanstackViteConfig } from '@tanstack/config/vite'
import { tanstackViteConfig } from '@tanstack/vite-config'
import solid from 'vite-plugin-solid'
import packageJson from './package.json'
import type { Plugin } from 'vite'
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-utils/vite.config.solid.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, mergeConfig } from 'vitest/config'
import { tanstackViteConfig } from '@tanstack/config/vite'
import { tanstackViteConfig } from '@tanstack/vite-config'
import solid from 'vite-plugin-solid'
import packageJson from './package.json'
import tsconfig from './tsconfig.solid.json'
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-utils/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, mergeConfig } from 'vitest/config'
import { tanstackViteConfig } from '@tanstack/config/vite'
import { tanstackViteConfig } from '@tanstack/vite-config'
import packageJson from './package.json'

const config = defineConfig({
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-vite/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, mergeConfig } from 'vitest/config'
import { tanstackViteConfig } from '@tanstack/config/vite'
import { tanstackViteConfig } from '@tanstack/vite-config'
import packageJson from './package.json'

const config = defineConfig({
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, mergeConfig } from 'vitest/config'
import { tanstackViteConfig } from '@tanstack/config/vite'
import { tanstackViteConfig } from '@tanstack/vite-config'
import solid from 'vite-plugin-solid'
import packageJson from './package.json'
import type { Plugin } from 'vite'
Expand Down
2 changes: 1 addition & 1 deletion packages/event-bus-client/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, mergeConfig } from 'vitest/config'
import { tanstackViteConfig } from '@tanstack/config/vite'
import { tanstackViteConfig } from '@tanstack/vite-config'
import packageJson from './package.json'

const config = defineConfig({
Expand Down
2 changes: 1 addition & 1 deletion packages/event-bus/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, mergeConfig } from 'vitest/config'
import { tanstackViteConfig } from '@tanstack/config/vite'
import { tanstackViteConfig } from '@tanstack/vite-config'
import packageJson from './package.json'

const config = defineConfig({
Expand Down
2 changes: 1 addition & 1 deletion packages/react-devtools/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, mergeConfig } from 'vitest/config'
import { tanstackViteConfig } from '@tanstack/config/vite'
import { tanstackViteConfig } from '@tanstack/vite-config'
import react from '@vitejs/plugin-react'
import packageJson from './package.json'
import type { Plugin } from 'vitest/config'
Expand Down
2 changes: 1 addition & 1 deletion packages/solid-devtools/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, mergeConfig } from 'vitest/config'
import { tanstackViteConfig } from '@tanstack/config/vite'
import { tanstackViteConfig } from '@tanstack/vite-config'
import solid from 'vite-plugin-solid'
import packageJson from './package.json'
import type { Plugin } from 'vite'
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-devtools/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, mergeConfig } from 'vitest/config'
import { tanstackViteConfig } from '@tanstack/config/vite'
import { tanstackViteConfig } from '@tanstack/vite-config'
import vue from '@vitejs/plugin-vue'
import packageJson from './package.json'

Expand Down
Loading
Loading