Skip to content

Commit

Permalink
chore: update deps (#1222)
Browse files Browse the repository at this point in the history
# Overview

<!--
    A clear and concise description of what this pr is about.
 -->

## PR Checklist

- [x] I did below actions if need

1. I read the [Contributing
Guide](https://github.com/toss/suspensive/blob/main/CONTRIBUTING.md)
2. I added documents and tests.
  • Loading branch information
manudeli authored Aug 19, 2024
1 parent 29205c7 commit 4e65f80
Show file tree
Hide file tree
Showing 18 changed files with 847 additions and 652 deletions.
9 changes: 0 additions & 9 deletions .eslintrc.cjs

This file was deleted.

8 changes: 4 additions & 4 deletions configs/eslint-config-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"ci:eslint": "eslint \"**/*.{js,jsx,cjs,mjs,ts,tsx,cts,mts}\""
},
"dependencies": {
"@cspell/eslint-plugin": "^8.10.0",
"@vitest/eslint-plugin": "^1.0.2",
"@cspell/eslint-plugin": "^8.14.1",
"@vitest/eslint-plugin": "^1.0.3",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest-dom": "^5.4.0",
"eslint-plugin-jsdoc": "^48.2.12",
"eslint-plugin-prettier": "^5.1.3"
"eslint-plugin-jsdoc": "^50.2.2",
"eslint-plugin-prettier": "^5.2.1"
}
}
6 changes: 3 additions & 3 deletions configs/eslint-config-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
},
"dependencies": {
"@suspensive/eslint-config-js": "workspace:*",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.2.12"
"eslint-plugin-jsdoc": "^50.2.2"
}
}
4 changes: 2 additions & 2 deletions configs/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"dependencies": {
"@suspensive/eslint-config-js": "workspace:*",
"@suspensive/eslint-config-ts": "workspace:*",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-compiler": "0.0.0-experimental-0998c1e-20240625",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-compiler": "0.0.0-experimental-9aef357-20240815",
"eslint-plugin-react-hooks": "^4.6.2"
}
}
12 changes: 6 additions & 6 deletions docs/suspensive.org/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@tanstack/react-query": "4",
"@tanstack/react-query-devtools": "4",
"d3": "^7.9.0",
"next": "^14.2.3",
"next": "^14.2.5",
"nextra": "^2.13.4",
"nextra-theme-docs": "^2.13.4",
"react": "^18.3.1",
Expand All @@ -37,14 +37,14 @@
"sharp": "^0.33.4"
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.2.3",
"@next/eslint-plugin-next": "^14.2.5",
"@suspensive/eslint-config": "workspace:*",
"@types/d3": "^7.4.3",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.4.4"
"autoprefixer": "^10.4.20",
"postcss": "^8.4.41",
"prettier-plugin-tailwindcss": "^0.6.6",
"tailwindcss": "^3.4.10"
}
}
19 changes: 10 additions & 9 deletions examples/next-streaming-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,21 @@
"dependencies": {
"@suspensive/react": "workspace:*",
"@suspensive/react-query-5": "workspace:*",
"@tanstack/react-query": "^5.51.16",
"@tanstack/react-query-devtools": "^5.51.16",
"@tanstack/react-query-next-experimental": "^5.51.16",
"next": "^14.2.3",
"@tanstack/react-query": "^5.51.23",
"@tanstack/react-query-devtools": "^5.51.23",
"@tanstack/react-query-next-experimental": "^5.51.23",
"next": "^14.2.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^3.4.4"
"react-dom": "^18.3.1"
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.2.3",
"@next/eslint-plugin-next": "^14.2.5",
"@suspensive/eslint-config": "workspace:*",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38"
"autoprefixer": "^10.4.20",
"postcss": "^8.4.41",
"prettier-plugin-tailwindcss": "^0.6.6",
"tailwindcss": "^3.4.10"
}
}
8 changes: 8 additions & 0 deletions examples/next-streaming-react-query/prettier.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import rootConfig from '../../prettier.config.mjs'

/** @type {import("prettier").Config} */
export default {
...rootConfig,
plugins: ['prettier-plugin-tailwindcss'],
tailwindConfig: './tailwind.config.js',
}
13 changes: 7 additions & 6 deletions examples/next-streaming-react-query/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"incremental": true,
"plugins": [
{
"name": "next",
},
"name": "next"
}
],
"paths": {
"~/*": ["./src/*"],
},
"~/*": ["./src/*"]
}
},
"include": [
"next-env.d.ts",
Expand All @@ -31,7 +31,8 @@
"./.eslintrc.cjs",
"next.config.js",
"postcss.config.js",
"tailwind.config.js",
"prettier.config.mjs",
"tailwind.config.js"
],
"exclude": ["node_modules"],
"exclude": ["node_modules"]
}
13 changes: 7 additions & 6 deletions examples/react-query-next-experimental-4-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@
"@suspensive/react-query-next-experimental-4": "workspace:*",
"@tanstack/react-query": "^4.36.1",
"@tanstack/react-query-devtools": "^4.36.1",
"next": "^14.2.3",
"next": "^14.2.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^3.4.4"
"react-dom": "^18.3.1"
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.2.3",
"@next/eslint-plugin-next": "^14.2.5",
"@suspensive/eslint-config": "workspace:*",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38"
"autoprefixer": "^10.4.20",
"postcss": "^8.4.41",
"prettier-plugin-tailwindcss": "^0.6.6",
"tailwindcss": "^3.4.10"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import rootConfig from '../../prettier.config.mjs'

/** @type {import("prettier").Config} */
export default {
...rootConfig,
plugins: ['prettier-plugin-tailwindcss'],
tailwindConfig: './tailwind.config.js',
}
13 changes: 7 additions & 6 deletions examples/react-query-next-experimental-4-example/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"incremental": true,
"plugins": [
{
"name": "next",
},
"name": "next"
}
],
"paths": {
"~/*": ["./src/*"],
},
"~/*": ["./src/*"]
}
},
"include": [
"next-env.d.ts",
Expand All @@ -31,7 +31,8 @@
"./.eslintrc.cjs",
"next.config.js",
"postcss.config.js",
"tailwind.config.js",
"prettier.config.mjs",
"tailwind.config.js"
],
"exclude": ["node_modules"],
"exclude": ["node_modules"]
}
3 changes: 3 additions & 0 deletions examples/visualization/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
const nextConfig = {
reactStrictMode: true,
transpilePackages: ['@suspensive/react', '@suspensive/react-query'],
experimental: {
typedRoutes: true,
},
}

module.exports = nextConfig
12 changes: 6 additions & 6 deletions examples/visualization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@
"@tanstack/react-query-devtools": "^4.36.1",
"axios": "^1.7.4",
"clsx": "^2.1.1",
"next": "^14.2.3",
"next": "^14.2.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.2.3",
"@next/eslint-plugin-next": "^14.2.5",
"@suspensive/eslint-config": "workspace:*",
"@suspensive/tsconfig": "workspace:*",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.4.4"
"autoprefixer": "^10.4.20",
"postcss": "^8.4.41",
"prettier-plugin-tailwindcss": "^0.6.6",
"tailwindcss": "^3.4.10"
}
}
2 changes: 1 addition & 1 deletion knip.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"ignoreWorkspaces": ["websites/**", "examples/**"],
"ignoreWorkspaces": ["examples/**"],
"ignoreDependencies": ["@suspensive/utils"],
"workspaces": {
".": {
Expand Down
31 changes: 15 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,14 @@
"start": "turbo run start"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@arethetypeswrong/cli": "^0.15.4",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.7",
"@codspeed/vitest-plugin": "^3.1.0",
"@commitlint/cli": "^19.3.0",
"@codspeed/vitest-plugin": "^3.1.1",
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@suspensive/eslint-config-ts": "workspace:*",
"@testing-library/dom": "^10.3.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^20.14.13",
Expand All @@ -59,20 +58,20 @@
"broken-link-checker": "^0.7.8",
"eslint": "^8.57.0",
"husky": "^9.1.4",
"jsdom": "^24.1.0",
"knip": "^5.26.0",
"jsdom": "^24.1.1",
"knip": "^5.27.2",
"lint-staged": "^15.2.7",
"ms": "3.0.0-canary.1",
"packlint": "^0.2.4",
"playwright": "^1.45.1",
"prettier": "^3.3.2",
"publint": "^0.2.8",
"rimraf": "^5.0.7",
"sherif": "^0.9.0",
"tsup": "^8.1.0",
"turbo": "^2.0.11",
"playwright": "^1.46.1",
"prettier": "^3.3.3",
"publint": "^0.2.10",
"rimraf": "^6.0.1",
"sherif": "^0.11.0",
"tsup": "^8.2.4",
"turbo": "^2.0.14",
"typescript": "^5.4.5",
"vite": "^5.3.2",
"vite": "^5.4.1",
"vitest": "^2.0.5"
}
}
2 changes: 1 addition & 1 deletion packages/react-query-5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@suspensive/react": "workspace:*",
"@suspensive/tsconfig": "workspace:*",
"@suspensive/tsup": "workspace:*",
"@tanstack/react-query": "^5.51.16",
"@tanstack/react-query": "^5.51.23",
"@types/react": "^18.3.3",
"react": "^18.3.1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export function createHydrationStreamProvider<TShape>() {
.join(',')

// Flush stream
// eslint-disable-next-line react-compiler/react-compiler
stream.length = 0

const html: Array<string> = [
Expand Down
Loading

0 comments on commit 4e65f80

Please sign in to comment.