diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4259a2bacd..e3668415d1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -138,7 +138,7 @@ jobs: include: # React 19 × all TS versions - node: '24.x' - ts: '5.4' + ts: '5.5' react: { version: '^19', @@ -146,7 +146,7 @@ jobs: react-dom: { version: '^19', types: '^19' }, } - node: '24.x' - ts: '5.5' + ts: '5.6' react: { version: '^19', @@ -154,7 +154,7 @@ jobs: react-dom: { version: '^19', types: '^19' }, } - node: '24.x' - ts: '5.6' + ts: '5.7' react: { version: '^19', @@ -162,7 +162,7 @@ jobs: react-dom: { version: '^19', types: '^19' }, } - node: '24.x' - ts: '5.7' + ts: '5.8' react: { version: '^19', @@ -170,7 +170,7 @@ jobs: react-dom: { version: '^19', types: '^19' }, } - node: '24.x' - ts: '5.8' + ts: '5.9' react: { version: '^19', @@ -178,7 +178,7 @@ jobs: react-dom: { version: '^19', types: '^19' }, } - node: '24.x' - ts: '5.9' + ts: '6.0' react: { version: '^19', @@ -193,9 +193,9 @@ jobs: types: '^19', react-dom: { version: '^19', types: '^19' }, } - # React 18 × boundary TS versions only (5.4, 5.9, next) + # React 18 × boundary TS versions only (5.5, 6.0, next) - node: '24.x' - ts: '5.4' + ts: '5.5' react: { version: '^18', @@ -203,7 +203,7 @@ jobs: react-dom: { version: '^18', types: '^18' }, } - node: '24.x' - ts: '5.9' + ts: '6.0' react: { version: '^18', @@ -386,9 +386,6 @@ jobs: # Sparse matrix: All TS versions with bundler, boundary TS versions with nodenext include: # bundler × all TS versions - - node: '24.x' - ts: '5.4' - example: { name: 'bundler', moduleResolution: 'Bundler' } - node: '24.x' ts: '5.5' example: { name: 'bundler', moduleResolution: 'Bundler' } @@ -404,25 +401,28 @@ jobs: - node: '24.x' ts: '5.9' example: { name: 'bundler', moduleResolution: 'Bundler' } + - node: '24.x' + ts: '6.0' + example: { name: 'bundler', moduleResolution: 'Bundler' } - node: '24.x' ts: 'next' example: { name: 'bundler', moduleResolution: 'Bundler' } - # nodenext-cjs × boundary TS versions only (5.4, 5.9, next) + # nodenext-cjs × boundary TS versions only (5.5, 6.0, next) - node: '24.x' - ts: '5.4' + ts: '5.5' example: { name: 'nodenext-cjs', moduleResolution: 'NodeNext' } - node: '24.x' - ts: '5.9' + ts: '6.0' example: { name: 'nodenext-cjs', moduleResolution: 'NodeNext' } - node: '24.x' ts: 'next' example: { name: 'nodenext-cjs', moduleResolution: 'NodeNext' } - # nodenext-esm × boundary TS versions only (5.4, 5.9, next) + # nodenext-esm × boundary TS versions only (5.5, 6.0, next) - node: '24.x' - ts: '5.4' + ts: '5.5' example: { name: 'nodenext-esm', moduleResolution: 'NodeNext' } - node: '24.x' - ts: '5.9' + ts: '6.0' example: { name: 'nodenext-esm', moduleResolution: 'NodeNext' } - node: '24.x' ts: 'next' diff --git a/docs/api/matching-utilities.mdx b/docs/api/matching-utilities.mdx index 4c9323ac17..e8cf68bce8 100644 --- a/docs/api/matching-utilities.mdx +++ b/docs/api/matching-utilities.mdx @@ -258,7 +258,8 @@ function someFunction(action: PayloadAction) { ```ts title="Using isAnyOf as a type guard" import { isAnyOf } from '@reduxjs/toolkit' import type { PayloadAction } from '@reduxjs/toolkit' -import { Data, isSpecial, isInteresting } from '@virtual/matchers' // this is a fake pkg that provides the types shown above +import type { Data } from '@virtual/matchers' // this is a fake pkg that provides the types shown above +import { isSpecial, isInteresting } from '@virtual/matchers' // this is a fake pkg that provides the types shown above const isSpecialOrInteresting = isAnyOf(isSpecial, isInteresting) diff --git a/docs/components/DetailedExplanation.jsx b/docs/components/DetailedExplanation.tsx similarity index 61% rename from docs/components/DetailedExplanation.jsx rename to docs/components/DetailedExplanation.tsx index da47f48a28..72c37af207 100644 --- a/docs/components/DetailedExplanation.jsx +++ b/docs/components/DetailedExplanation.tsx @@ -1,6 +1,6 @@ -import React from 'react' +import type { FC, PropsWithChildren } from 'react' -export const DetailedExplanation = ({ +export const DetailedExplanation: FC> = ({ children, title = 'Detailed Explanation', }) => { diff --git a/docs/package.json b/docs/package.json index 72b17dc4e2..56e74fa094 100644 --- a/docs/package.json +++ b/docs/package.json @@ -2,7 +2,9 @@ "name": "docs", "devDependencies": { "@manaflair/redux-batch": "^1.0.0", + "@reduxjs/toolkit": "workspace:^", "@types/nanoid": "^2.1.0", + "@types/node": "^25.5.0", "@types/react": "^19.0.1", "async-mutex": "^0.3.2", "axios": "^0.20.0", @@ -12,6 +14,7 @@ "nanoid": "^3.1.23", "next-redux-wrapper": "^7.0.5", "redux-persist": "^6.0.0", - "rxjs": "^6.6.2" + "rxjs": "^6.6.2", + "typescript": "^6.0.3" } } diff --git a/docs/rtk-query/usage/automated-refetching.mdx b/docs/rtk-query/usage/automated-refetching.mdx index 5ea3f97434..e84687697b 100644 --- a/docs/rtk-query/usage/automated-refetching.mdx +++ b/docs/rtk-query/usage/automated-refetching.mdx @@ -541,7 +541,7 @@ e.g. `['Post'] / [{ type: 'Post' }]` Will `invalidate` any `provided` tag with the matching type, including general and specific tags. -Example: +Example: If a general tag of `Post` was invalidated, endpoints whose data `provided` the following tags would all have their data invalidated: - `['Post']` @@ -778,11 +778,11 @@ The example below demonstrates an example with the following behavior: - Provides an `UNAUTHORIZED` cache tag if a query fails with an error code of `401 UNAUTHORIZED` - Provides an `UNKNOWN_ERROR` cache tag if a query fails with a different error -- Enables a 'login' mutation, which when _successful_, will `invalidate` the data with the `UNAUTHORIZED` tag. +- Enables a 'login' mutation, which when _successful_, will `invalidate` the data with the `UNAUTHORIZED` tag. This will trigger the `postById` endpoint to re-fire if: 1. The last call for `postById` had encountered an unauthorized error, and 2. A component is still subscribed to the cached data -- Enables a 'refetchErroredQueries' mutation which when _called_, will `invalidate` the data with the `UNKNOWN_ERROR` tag. +- Enables a 'refetchErroredQueries' mutation which when _called_, will `invalidate` the data with the `UNKNOWN_ERROR` tag. This will trigger the `postById` endpoint to re-fire if: 1. The last call for `postById` had encountered an unknown error, and 2. A component is still subscribed to the cached data @@ -797,7 +797,7 @@ export interface LoginResponse {} // file: api.ts import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query' -import { Post, LoginResponse } from './types' +import type { LoginResponse, Post } from './types' const api = createApi({ baseQuery: fetchBaseQuery({ baseUrl: 'https://example.com' }), diff --git a/docs/rtk-query/usage/customizing-create-api.mdx b/docs/rtk-query/usage/customizing-create-api.mdx index 21c2bb6199..ee3cdbc46b 100644 --- a/docs/rtk-query/usage/customizing-create-api.mdx +++ b/docs/rtk-query/usage/customizing-create-api.mdx @@ -23,11 +23,11 @@ If you want the hooks to use different versions of `useSelector`, `useDispatch` ```ts import * as React from 'react' +import type { ReactReduxContextValue } from 'react-redux' import { createDispatchHook, createSelectorHook, createStoreHook, - ReactReduxContextValue, } from 'react-redux' import { buildCreateApi, diff --git a/docs/rtk-query/usage/customizing-queries.mdx b/docs/rtk-query/usage/customizing-queries.mdx index e78d12dc80..9786d988fa 100644 --- a/docs/rtk-query/usage/customizing-queries.mdx +++ b/docs/rtk-query/usage/customizing-queries.mdx @@ -844,7 +844,7 @@ export const { useGetPostsQuery } = api ```ts title="GraphQL transformation example" // file: graphqlBaseQuery.ts noEmit -import { BaseQueryFn } from '@reduxjs/toolkit/query' +import type { BaseQueryFn } from '@reduxjs/toolkit/query' declare const graphqlBaseQuery: (args: { baseUrl: string }) => BaseQueryFn declare const gql: (literals: TemplateStringsArray) => void export { graphqlBaseQuery, gql } diff --git a/docs/rtk-query/usage/migrating-to-rtk-query.mdx b/docs/rtk-query/usage/migrating-to-rtk-query.mdx index 2e32c7f556..0ccca5bee3 100644 --- a/docs/rtk-query/usage/migrating-to-rtk-query.mdx +++ b/docs/rtk-query/usage/migrating-to-rtk-query.mdx @@ -197,8 +197,8 @@ Below we create a hook to manage sending our request at the appropriate time, as ```ts title="src/hooks.ts" // file: src/services/pokemonSlice.ts noEmit -import { AsyncThunkAction } from '@reduxjs/toolkit' -import { RootState } from '../store' +import type { AsyncThunkAction } from '@reduxjs/toolkit' +import type { RootState } from '../store' interface Pokemon {} export declare const fetchPokemonByName: ( arg: string, @@ -211,7 +211,7 @@ export const selectDataByName = (state: RootState, name: string) => // file: src/store.ts noEmit import { useDispatch } from 'react-redux' -import { EnhancedStore } from '@reduxjs/toolkit' +import type { EnhancedStore } from '@reduxjs/toolkit' interface Pokemon {} type RequestState = 'pending' | 'fulfilled' | 'rejected' diff --git a/docs/tsconfig.json b/docs/tsconfig.json index 5692743ab2..ef2f2b8dd5 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "allowSyntheticDefaultImports": true, "esModuleInterop": true, - "moduleResolution": "node", + "moduleResolution": "bundler", "noUnusedLocals": false, "noUnusedParameters": false, "allowUnusedLabels": true, @@ -14,7 +14,6 @@ "target": "ES2020", "allowJs": true, "checkJs": true, - "alwaysStrict": false, "baseUrl": "..", "jsx": "preserve", "traceResolution": false, @@ -31,6 +30,8 @@ "your-cool-library": ["docs/virtual/your-cool-library/index.ts"], "redux-logger": ["docs/virtual/redux-logger/index.ts"], "petstore-api.generated": ["docs/virtual/petstore-api.generated/index.ts"] - } + }, + "ignoreDeprecations": "6.0", + "noUncheckedSideEffectImports": false } } diff --git a/docs/usage/nextjs.mdx b/docs/usage/nextjs.mdx index e6a38c64b9..475ff68aee 100644 --- a/docs/usage/nextjs.mdx +++ b/docs/usage/nextjs.mdx @@ -149,7 +149,7 @@ export const useAppStore = useStore.withTypes() To use this new `makeStore` function we need to create a new "client" component that will create the store and share it using the React-Redux `Provider` component. -```ts title="app/StoreProvider.tsx" +```tsx title="app/StoreProvider.tsx" // file: lib/store.ts noEmit import { configureStore } from '@reduxjs/toolkit' @@ -172,7 +172,8 @@ export type AppDispatch = AppStore['dispatch'] import { useRef } from 'react' import { Provider } from 'react-redux' // highlight-start -import { makeStore, AppStore } from '../lib/store' +import type { AppStore } from '../lib/store' +import { makeStore } from '../lib/store' // highlight-end export default function StoreProvider({ @@ -206,7 +207,7 @@ The next step is to **include the `StoreProvider` anywhere in the tree above whe If you need to initialize the store with data from the parent component, then define that data as a prop on the client `StoreProvider` component and use a Redux action on the slice to set the data in the store as shown below. -```ts title="src/app/StoreProvider.tsx" +```tsx title="src/app/StoreProvider.tsx" // file: lib/features/counter/counterSlice.ts noEmit import { createSlice } from '@reduxjs/toolkit' import type { PayloadAction } from '@reduxjs/toolkit' @@ -250,7 +251,8 @@ export type AppDispatch = AppStore['dispatch'] 'use client' import { useRef } from 'react' import { Provider } from 'react-redux' -import { makeStore, AppStore } from '../lib/store' +import type { AppStore } from '../lib/store' +import { makeStore } from '../lib/store' // highlight-start import { initializeCount } from '../lib/features/counter/counterSlice' // highlight-end @@ -282,7 +284,7 @@ If you use Next.js's support for client side SPA-style navigation by using `next Shown below is a `ProductName` example component that uses the Redux store to manage the mutable name of a product. The `ProductName` component is part of a product detail route. In order to ensure that we have the correct name in the store we need to set the value in the store any time the `ProductName` component is initially rendered, which happens on any route change to the product detail route. -```ts title="app/ProductName.tsx" +```tsx title="app/ProductName.tsx" // file: lib/features/product/productSlice.ts noEmit import { createSlice } from '@reduxjs/toolkit' import type { PayloadAction } from '@reduxjs/toolkit' @@ -344,10 +346,10 @@ export const useAppStore = useStore.withTypes() 'use client' import { useRef } from 'react' import { useAppSelector, useAppDispatch, useAppStore } from '../lib/hooks' +import type { Product } from '../lib/features/product/productSlice' import { initializeProduct, setProductName, - Product, } from '../lib/features/product/productSlice' export default function ProductName({ product }: { product: Product }) { diff --git a/docs/virtual/matchers/index.ts b/docs/virtual/matchers/index.ts index aba086bcf5..8f2453871c 100644 --- a/docs/virtual/matchers/index.ts +++ b/docs/virtual/matchers/index.ts @@ -1,8 +1,5 @@ -import { - createAsyncThunk, - createReducer, - PayloadAction, -} from '@reduxjs/toolkit' +import type { PayloadAction } from '@reduxjs/toolkit' +import { createAsyncThunk, createReducer } from '@reduxjs/toolkit' export interface Data { isInteresting: boolean diff --git a/examples/action-listener/counter/package.json b/examples/action-listener/counter/package.json index ee6e15e8a0..639ca3164b 100644 --- a/examples/action-listener/counter/package.json +++ b/examples/action-listener/counter/package.json @@ -12,7 +12,7 @@ "react-dom": "^19.0.0", "react-redux": "^9.1.2", "react-scripts": "5.0.1", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "scripts": { "start": "react-scripts start", diff --git a/examples/action-listener/counter/src/react-app-env.d.ts b/examples/action-listener/counter/src/react-app-env.d.ts index 6431bc5fc6..985df9bf3b 100644 --- a/examples/action-listener/counter/src/react-app-env.d.ts +++ b/examples/action-listener/counter/src/react-app-env.d.ts @@ -1 +1,3 @@ /// + +declare module '*.css' {} diff --git a/examples/action-listener/counter/tsconfig.json b/examples/action-listener/counter/tsconfig.json index 9d379a3c4a..4a18f5f23d 100644 --- a/examples/action-listener/counter/tsconfig.json +++ b/examples/action-listener/counter/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es5", + "target": "esnext", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, @@ -10,11 +10,12 @@ "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react-jsx" + "jsx": "react-jsx", + "types": ["node", "jest"] }, "include": ["src"] } diff --git a/examples/publish-ci/cra4/package.json b/examples/publish-ci/cra4/package.json index c69e7f57fd..83d87d1d00 100644 --- a/examples/publish-ci/cra4/package.json +++ b/examples/publish-ci/cra4/package.json @@ -51,6 +51,6 @@ "@types/react-dom": "^18.0.10", "prettier": "^3.2.5", "serve": "^14.2.0", - "typescript": "^5.9.3" + "typescript": "^6.0.3" } } diff --git a/examples/publish-ci/cra4/src/react-app-env.d.ts b/examples/publish-ci/cra4/src/react-app-env.d.ts index 6431bc5fc6..985df9bf3b 100644 --- a/examples/publish-ci/cra4/src/react-app-env.d.ts +++ b/examples/publish-ci/cra4/src/react-app-env.d.ts @@ -1 +1,3 @@ /// + +declare module '*.css' {} diff --git a/examples/publish-ci/cra4/tsconfig.json b/examples/publish-ci/cra4/tsconfig.json index 9d379a3c4a..d22f853d27 100644 --- a/examples/publish-ci/cra4/tsconfig.json +++ b/examples/publish-ci/cra4/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es5", + "target": "esnext", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, @@ -10,11 +10,12 @@ "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "node10", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react-jsx" + "jsx": "react-jsx", + "types": ["node", "jest"] }, "include": ["src"] } diff --git a/examples/publish-ci/cra4/yarn.lock b/examples/publish-ci/cra4/yarn.lock index 29bc23cfeb..0fc82a2ee9 100644 --- a/examples/publish-ci/cra4/yarn.lock +++ b/examples/publish-ci/cra4/yarn.lock @@ -13935,7 +13935,7 @@ __metadata: react-redux: "npm:^9.0.0-rc.0" react-scripts: "npm:^4" serve: "npm:^14.2.0" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" web-vitals: "npm:^2.1.4" languageName: unknown linkType: soft @@ -15642,23 +15642,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.9.3": - version: 5.9.3 - resolution: "typescript@npm:5.9.3" +"typescript@npm:^6.0.3": + version: 6.0.3 + resolution: "typescript@npm:6.0.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/c089d9d3da2729fd4ac517f9b0e0485914c4b3c26f80dc0cffcb5de1719a17951e92425d55db59515c1a7ddab65808466debb864d0d56dcf43f27007d0709594 + checksum: 10/0ef2357a4cffd916b52b683a021cdab0f81eea4e9aa35f2d254581c9a5106da02224e3392e1b0ed42b7a48f80c966e5f52b8e1a27941fa0523c1705a9c2e0330 languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.9.3#optional!builtin": - version: 5.9.3 - resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=8c6c40" +"typescript@patch:typescript@npm%3A^6.0.3#optional!builtin": + version: 6.0.3 + resolution: "typescript@patch:typescript@npm%3A6.0.3#optional!builtin::version=6.0.3&hash=8c6c40" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/5d416ad4f2ea564f515a3f919e901edbfa4b497cc17dd325c5726046c3eef7ed22d1f59c787267d478311f6f0a265ff790f8a6c7e9df3ea3471458f5ec81e8b7 + checksum: 10/a7487148ae5bae463e49e22f885e77e53a45bab250f02140dad35d4850d0afa422af5a5e69fd5102dc771421eaf8dc5507b35a55cb3e0422cde72ad47765206b languageName: node linkType: hard diff --git a/examples/publish-ci/cra5/package.json b/examples/publish-ci/cra5/package.json index 6144a5fd51..4974606c09 100644 --- a/examples/publish-ci/cra5/package.json +++ b/examples/publish-ci/cra5/package.json @@ -51,6 +51,6 @@ "@types/react-dom": "^18.0.10", "prettier": "^3.2.5", "serve": "^14.2.0", - "typescript": "^5.9.3" + "typescript": "^6.0.3" } } diff --git a/examples/publish-ci/cra5/src/react-app-env.d.ts b/examples/publish-ci/cra5/src/react-app-env.d.ts index 6431bc5fc6..985df9bf3b 100644 --- a/examples/publish-ci/cra5/src/react-app-env.d.ts +++ b/examples/publish-ci/cra5/src/react-app-env.d.ts @@ -1 +1,3 @@ /// + +declare module '*.css' {} diff --git a/examples/publish-ci/cra5/tsconfig.json b/examples/publish-ci/cra5/tsconfig.json index 9d379a3c4a..4a18f5f23d 100644 --- a/examples/publish-ci/cra5/tsconfig.json +++ b/examples/publish-ci/cra5/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es5", + "target": "esnext", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, @@ -10,11 +10,12 @@ "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react-jsx" + "jsx": "react-jsx", + "types": ["node", "jest"] }, "include": ["src"] } diff --git a/examples/publish-ci/cra5/yarn.lock b/examples/publish-ci/cra5/yarn.lock index 2b1c1c3a75..6347d60aa0 100644 --- a/examples/publish-ci/cra5/yarn.lock +++ b/examples/publish-ci/cra5/yarn.lock @@ -12309,7 +12309,7 @@ __metadata: react-redux: "npm:^9.0.0-rc.0" react-scripts: "npm:5" serve: "npm:^14.2.0" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" web-vitals: "npm:^2.1.4" languageName: unknown linkType: soft @@ -13814,23 +13814,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.9.3": - version: 5.9.3 - resolution: "typescript@npm:5.9.3" +"typescript@npm:^6.0.3": + version: 6.0.3 + resolution: "typescript@npm:6.0.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/c089d9d3da2729fd4ac517f9b0e0485914c4b3c26f80dc0cffcb5de1719a17951e92425d55db59515c1a7ddab65808466debb864d0d56dcf43f27007d0709594 + checksum: 10/0ef2357a4cffd916b52b683a021cdab0f81eea4e9aa35f2d254581c9a5106da02224e3392e1b0ed42b7a48f80c966e5f52b8e1a27941fa0523c1705a9c2e0330 languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.9.3#optional!builtin": - version: 5.9.3 - resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=8c6c40" +"typescript@patch:typescript@npm%3A^6.0.3#optional!builtin": + version: 6.0.3 + resolution: "typescript@patch:typescript@npm%3A6.0.3#optional!builtin::version=6.0.3&hash=8c6c40" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/5d416ad4f2ea564f515a3f919e901edbfa4b497cc17dd325c5726046c3eef7ed22d1f59c787267d478311f6f0a265ff790f8a6c7e9df3ea3471458f5ec81e8b7 + checksum: 10/a7487148ae5bae463e49e22f885e77e53a45bab250f02140dad35d4850d0afa422af5a5e69fd5102dc771421eaf8dc5507b35a55cb3e0422cde72ad47765206b languageName: node linkType: hard diff --git a/examples/publish-ci/expo/package.json b/examples/publish-ci/expo/package.json index ca7e27d2b9..4a5af394a9 100644 --- a/examples/publish-ci/expo/package.json +++ b/examples/publish-ci/expo/package.json @@ -46,7 +46,7 @@ "prettier": "^3.5.3", "react-test-renderer": "19.0.0", "ts-node": "^10.9.2", - "typescript": "^5.9.3", + "typescript": "^6.0.3", "typescript-eslint": "^8.31.1" }, "private": true diff --git a/examples/publish-ci/expo/yarn.lock b/examples/publish-ci/expo/yarn.lock index 6051debbc0..fe6a4a8a89 100644 --- a/examples/publish-ci/expo/yarn.lock +++ b/examples/publish-ci/expo/yarn.lock @@ -5132,7 +5132,7 @@ __metadata: react-redux: "npm:^9.2.0" react-test-renderer: "npm:19.0.0" ts-node: "npm:^10.9.2" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" typescript-eslint: "npm:^8.31.1" languageName: unknown linkType: soft @@ -10528,23 +10528,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.9.3": - version: 5.9.3 - resolution: "typescript@npm:5.9.3" +"typescript@npm:^6.0.3": + version: 6.0.3 + resolution: "typescript@npm:6.0.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/c089d9d3da2729fd4ac517f9b0e0485914c4b3c26f80dc0cffcb5de1719a17951e92425d55db59515c1a7ddab65808466debb864d0d56dcf43f27007d0709594 + checksum: 10/0ef2357a4cffd916b52b683a021cdab0f81eea4e9aa35f2d254581c9a5106da02224e3392e1b0ed42b7a48f80c966e5f52b8e1a27941fa0523c1705a9c2e0330 languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.9.3#optional!builtin": - version: 5.9.3 - resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=8c6c40" +"typescript@patch:typescript@npm%3A^6.0.3#optional!builtin": + version: 6.0.3 + resolution: "typescript@patch:typescript@npm%3A6.0.3#optional!builtin::version=6.0.3&hash=8c6c40" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/5d416ad4f2ea564f515a3f919e901edbfa4b497cc17dd325c5726046c3eef7ed22d1f59c787267d478311f6f0a265ff790f8a6c7e9df3ea3471458f5ec81e8b7 + checksum: 10/a7487148ae5bae463e49e22f885e77e53a45bab250f02140dad35d4850d0afa422af5a5e69fd5102dc771421eaf8dc5507b35a55cb3e0422cde72ad47765206b languageName: node linkType: hard diff --git a/examples/publish-ci/next/package.json b/examples/publish-ci/next/package.json index 8e8a168c8b..13d6c44d94 100644 --- a/examples/publish-ci/next/package.json +++ b/examples/publish-ci/next/package.json @@ -12,7 +12,7 @@ "dependencies": { "@reduxjs/toolkit": "^2.0.0-rc.3", "msw": "^1.3.2", - "next": "^13.2", + "next": "^16.2.7", "react": "^18.2.0", "react-dom": "^18.2.0", "react-redux": "^9.0.0-rc.0" @@ -28,7 +28,7 @@ "@types/react-dom": "^18.0.10", "prettier": "^3.2.5", "serve": "^14.2.0", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "msw": { "workerDirectory": "public" diff --git a/examples/publish-ci/next/tsconfig.json b/examples/publish-ci/next/tsconfig.json index b8d597880a..5a512cc320 100644 --- a/examples/publish-ci/next/tsconfig.json +++ b/examples/publish-ci/next/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es5", + "target": "esnext", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, @@ -9,11 +9,12 @@ "noEmit": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", - "incremental": true + "incremental": true, + "types": ["node"] }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], "exclude": ["node_modules"] diff --git a/examples/publish-ci/next/yarn.lock b/examples/publish-ci/next/yarn.lock index 59abf7babb..5155a77903 100644 --- a/examples/publish-ci/next/yarn.lock +++ b/examples/publish-ci/next/yarn.lock @@ -48,6 +48,242 @@ __metadata: languageName: node linkType: hard +"@emnapi/runtime@npm:^1.7.0": + version: 1.10.0 + resolution: "@emnapi/runtime@npm:1.10.0" + dependencies: + tslib: "npm:^2.4.0" + checksum: 10/d21083d07fa0c2da171c142e78ef986b66b07d45b06accc0bcaf49fcc61bb4dbc10e1c1760813070165b9f49b054376a931045347f21c0f42ff1eb2d2040faac + languageName: node + linkType: hard + +"@img/colour@npm:^1.0.0": + version: 1.1.0 + resolution: "@img/colour@npm:1.1.0" + checksum: 10/2a29be7b06b046bd33c80ffa0f3493b7535b0841a69f54af81bf5e2d8867f21704fab42e9cf24ec30c089de34f790bae4dad1fc617c3163fbf264998dc316f0a + languageName: node + linkType: hard + +"@img/sharp-darwin-arm64@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-darwin-arm64@npm:0.34.5" + dependencies: + "@img/sharp-libvips-darwin-arm64": "npm:1.2.4" + dependenciesMeta: + "@img/sharp-libvips-darwin-arm64": + optional: true + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@img/sharp-darwin-x64@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-darwin-x64@npm:0.34.5" + dependencies: + "@img/sharp-libvips-darwin-x64": "npm:1.2.4" + dependenciesMeta: + "@img/sharp-libvips-darwin-x64": + optional: true + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@img/sharp-libvips-darwin-arm64@npm:1.2.4": + version: 1.2.4 + resolution: "@img/sharp-libvips-darwin-arm64@npm:1.2.4" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@img/sharp-libvips-darwin-x64@npm:1.2.4": + version: 1.2.4 + resolution: "@img/sharp-libvips-darwin-x64@npm:1.2.4" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-arm64@npm:1.2.4": + version: 1.2.4 + resolution: "@img/sharp-libvips-linux-arm64@npm:1.2.4" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-arm@npm:1.2.4": + version: 1.2.4 + resolution: "@img/sharp-libvips-linux-arm@npm:1.2.4" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-ppc64@npm:1.2.4": + version: 1.2.4 + resolution: "@img/sharp-libvips-linux-ppc64@npm:1.2.4" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-riscv64@npm:1.2.4": + version: 1.2.4 + resolution: "@img/sharp-libvips-linux-riscv64@npm:1.2.4" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-s390x@npm:1.2.4": + version: 1.2.4 + resolution: "@img/sharp-libvips-linux-s390x@npm:1.2.4" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linux-x64@npm:1.2.4": + version: 1.2.4 + resolution: "@img/sharp-libvips-linux-x64@npm:1.2.4" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-libvips-linuxmusl-arm64@npm:1.2.4": + version: 1.2.4 + resolution: "@img/sharp-libvips-linuxmusl-arm64@npm:1.2.4" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-libvips-linuxmusl-x64@npm:1.2.4": + version: 1.2.4 + resolution: "@img/sharp-libvips-linuxmusl-x64@npm:1.2.4" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-linux-arm64@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-linux-arm64@npm:0.34.5" + dependencies: + "@img/sharp-libvips-linux-arm64": "npm:1.2.4" + dependenciesMeta: + "@img/sharp-libvips-linux-arm64": + optional: true + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-arm@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-linux-arm@npm:0.34.5" + dependencies: + "@img/sharp-libvips-linux-arm": "npm:1.2.4" + dependenciesMeta: + "@img/sharp-libvips-linux-arm": + optional: true + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-ppc64@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-linux-ppc64@npm:0.34.5" + dependencies: + "@img/sharp-libvips-linux-ppc64": "npm:1.2.4" + dependenciesMeta: + "@img/sharp-libvips-linux-ppc64": + optional: true + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-riscv64@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-linux-riscv64@npm:0.34.5" + dependencies: + "@img/sharp-libvips-linux-riscv64": "npm:1.2.4" + dependenciesMeta: + "@img/sharp-libvips-linux-riscv64": + optional: true + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-s390x@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-linux-s390x@npm:0.34.5" + dependencies: + "@img/sharp-libvips-linux-s390x": "npm:1.2.4" + dependenciesMeta: + "@img/sharp-libvips-linux-s390x": + optional: true + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linux-x64@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-linux-x64@npm:0.34.5" + dependencies: + "@img/sharp-libvips-linux-x64": "npm:1.2.4" + dependenciesMeta: + "@img/sharp-libvips-linux-x64": + optional: true + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@img/sharp-linuxmusl-arm64@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-linuxmusl-arm64@npm:0.34.5" + dependencies: + "@img/sharp-libvips-linuxmusl-arm64": "npm:1.2.4" + dependenciesMeta: + "@img/sharp-libvips-linuxmusl-arm64": + optional: true + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-linuxmusl-x64@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-linuxmusl-x64@npm:0.34.5" + dependencies: + "@img/sharp-libvips-linuxmusl-x64": "npm:1.2.4" + dependenciesMeta: + "@img/sharp-libvips-linuxmusl-x64": + optional: true + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@img/sharp-wasm32@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-wasm32@npm:0.34.5" + dependencies: + "@emnapi/runtime": "npm:^1.7.0" + conditions: cpu=wasm32 + languageName: node + linkType: hard + +"@img/sharp-win32-arm64@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-win32-arm64@npm:0.34.5" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@img/sharp-win32-ia32@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-win32-ia32@npm:0.34.5" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@img/sharp-win32-x64@npm:0.34.5": + version: 0.34.5 + resolution: "@img/sharp-win32-x64@npm:0.34.5" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@isaacs/cliui@npm:^8.0.2": version: 8.0.2 resolution: "@isaacs/cliui@npm:8.0.2" @@ -129,72 +365,65 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:13.5.8": - version: 13.5.8 - resolution: "@next/env@npm:13.5.8" - checksum: 10/eebf6e7c37fe072c8c0cae9ae7d14ad1074cfd572a15bba92e762e7026a45467325eccb5cc2d9518bf323f22b2c2890d121c0f32f00ee673a7326c21a5373074 +"@next/env@npm:16.2.7": + version: 16.2.7 + resolution: "@next/env@npm:16.2.7" + checksum: 10/2db7b07fc9b2e5c8bd9b88f6a470f7d6c3b471b0dfcf12b9928ba9635aa98afaf7fd809d37bcd2ec5fb3a8f1a415073735f738533dcb9d7e67a4806fb7f2cb4f languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:13.5.8": - version: 13.5.8 - resolution: "@next/swc-darwin-arm64@npm:13.5.8" +"@next/swc-darwin-arm64@npm:16.2.7": + version: 16.2.7 + resolution: "@next/swc-darwin-arm64@npm:16.2.7" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.5.8": - version: 13.5.8 - resolution: "@next/swc-darwin-x64@npm:13.5.8" +"@next/swc-darwin-x64@npm:16.2.7": + version: 16.2.7 + resolution: "@next/swc-darwin-x64@npm:16.2.7" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:13.5.8": - version: 13.5.8 - resolution: "@next/swc-linux-arm64-gnu@npm:13.5.8" +"@next/swc-linux-arm64-gnu@npm:16.2.7": + version: 16.2.7 + resolution: "@next/swc-linux-arm64-gnu@npm:16.2.7" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.5.8": - version: 13.5.8 - resolution: "@next/swc-linux-arm64-musl@npm:13.5.8" +"@next/swc-linux-arm64-musl@npm:16.2.7": + version: 16.2.7 + resolution: "@next/swc-linux-arm64-musl@npm:16.2.7" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.5.8": - version: 13.5.8 - resolution: "@next/swc-linux-x64-gnu@npm:13.5.8" +"@next/swc-linux-x64-gnu@npm:16.2.7": + version: 16.2.7 + resolution: "@next/swc-linux-x64-gnu@npm:16.2.7" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.5.8": - version: 13.5.8 - resolution: "@next/swc-linux-x64-musl@npm:13.5.8" +"@next/swc-linux-x64-musl@npm:16.2.7": + version: 16.2.7 + resolution: "@next/swc-linux-x64-musl@npm:16.2.7" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.5.8": - version: 13.5.8 - resolution: "@next/swc-win32-arm64-msvc@npm:13.5.8" +"@next/swc-win32-arm64-msvc@npm:16.2.7": + version: 16.2.7 + resolution: "@next/swc-win32-arm64-msvc@npm:16.2.7" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.5.8": - version: 13.5.8 - resolution: "@next/swc-win32-ia32-msvc@npm:13.5.8" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - -"@next/swc-win32-x64-msvc@npm:13.5.8": - version: 13.5.8 - resolution: "@next/swc-win32-x64-msvc@npm:13.5.8" +"@next/swc-win32-x64-msvc@npm:16.2.7": + version: 16.2.7 + resolution: "@next/swc-win32-x64-msvc@npm:16.2.7" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -273,12 +502,12 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.5.2": - version: 0.5.2 - resolution: "@swc/helpers@npm:0.5.2" +"@swc/helpers@npm:0.5.15": + version: 0.5.15 + resolution: "@swc/helpers@npm:0.5.15" dependencies: - tslib: "npm:^2.4.0" - checksum: 10/3a3b179b3369acd26c5da89a0e779c756ae5231eb18a5507524c7abf955f488d34d86649f5b8417a0e19879688470d06319f5cfca2273d6d6b2046950e0d79af + tslib: "npm:^2.8.0" + checksum: 10/e3f32c6deeecfb0fa3f22edff03a7b358e7ce16d27b0f1c8b5cdc3042c5c4ce4da6eac0b781ab7cc4f54696ece657467d56734fb26883439fb00017385364c4c languageName: node linkType: hard @@ -686,6 +915,15 @@ __metadata: languageName: node linkType: hard +"baseline-browser-mapping@npm:^2.9.19": + version: 2.10.34 + resolution: "baseline-browser-mapping@npm:2.10.34" + bin: + baseline-browser-mapping: dist/cli.cjs + checksum: 10/d0f2e4792b04b2f305e60ca5bf591fa92a2ee39125d8d8e39959e06d8ea68832a026782acd71050f27e44dc676e2de621c87aa698a47976b4e82ce735cd70fc1 + languageName: node + linkType: hard + "binary-extensions@npm:^2.0.0": version: 2.3.0 resolution: "binary-extensions@npm:2.3.0" @@ -758,15 +996,6 @@ __metadata: languageName: node linkType: hard -"busboy@npm:1.6.0": - version: 1.6.0 - resolution: "busboy@npm:1.6.0" - dependencies: - streamsearch: "npm:^1.1.0" - checksum: 10/bee10fa10ea58e7e3e7489ffe4bda6eacd540a17de9f9cd21cc37e297b2dd9fe52b2715a5841afaec82900750d810d01d7edb4b2d456427f449b92b417579763 - languageName: node - linkType: hard - "bytes@npm:3.0.0": version: 3.0.0 resolution: "bytes@npm:3.0.0" @@ -833,10 +1062,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001406": - version: 1.0.30001705 - resolution: "caniuse-lite@npm:1.0.30001705" - checksum: 10/2bc019c29af827c099df8d4510a2ec23be9fbd9dc9ce988a97d9f6cf30d1eb71479d9d22663bd7ed2255124998ceaf85edf4382219175a22f68ff3b6471a41cc +"caniuse-lite@npm:^1.0.30001579": + version: 1.0.30001797 + resolution: "caniuse-lite@npm:1.0.30001797" + checksum: 10/30d34d8ede7a99cedec5489cb7a4fc75b0d641afcc436d2b0986aaf9beb056d3f15391e6a08b06b0bd8a84c64793ac8197005b14a96412514706a5715be98796 languageName: node linkType: hard @@ -1150,6 +1379,13 @@ __metadata: languageName: node linkType: hard +"detect-libc@npm:^2.1.2": + version: 2.1.2 + resolution: "detect-libc@npm:2.1.2" + checksum: 10/b736c8d97d5d46164c0d1bed53eb4e6a3b1d8530d460211e2d52f1c552875e706c58a5376854e4e54f8b828c9cada58c855288c968522eb93ac7696d65970766 + languageName: node + linkType: hard + "diff-sequences@npm:^27.5.1": version: 27.5.1 resolution: "diff-sequences@npm:27.5.1" @@ -1474,13 +1710,6 @@ __metadata: languageName: node linkType: hard -"glob-to-regexp@npm:^0.4.1": - version: 0.4.1 - resolution: "glob-to-regexp@npm:0.4.1" - checksum: 10/9009529195a955c40d7b9690794aeff5ba665cc38f1519e111c58bb54366fd0c106bde80acf97ba4e533208eb53422c83b136611a54c5fefb1edd8dc267cb62e - languageName: node - linkType: hard - "glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7": version: 10.4.5 resolution: "glob@npm:10.4.5" @@ -1504,7 +1733,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": +"graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: 10/bf152d0ed1dc159239db1ba1f74fdbc40cb02f626770dcd5815c427ce0688c2635a06ed69af364396da4636d0408fcf7d4afdf7881724c3307e46aff30ca49e2 @@ -2319,30 +2548,31 @@ __metadata: languageName: node linkType: hard -"next@npm:^13.2": - version: 13.5.8 - resolution: "next@npm:13.5.8" - dependencies: - "@next/env": "npm:13.5.8" - "@next/swc-darwin-arm64": "npm:13.5.8" - "@next/swc-darwin-x64": "npm:13.5.8" - "@next/swc-linux-arm64-gnu": "npm:13.5.8" - "@next/swc-linux-arm64-musl": "npm:13.5.8" - "@next/swc-linux-x64-gnu": "npm:13.5.8" - "@next/swc-linux-x64-musl": "npm:13.5.8" - "@next/swc-win32-arm64-msvc": "npm:13.5.8" - "@next/swc-win32-ia32-msvc": "npm:13.5.8" - "@next/swc-win32-x64-msvc": "npm:13.5.8" - "@swc/helpers": "npm:0.5.2" - busboy: "npm:1.6.0" - caniuse-lite: "npm:^1.0.30001406" +"next@npm:^16.2.7": + version: 16.2.7 + resolution: "next@npm:16.2.7" + dependencies: + "@next/env": "npm:16.2.7" + "@next/swc-darwin-arm64": "npm:16.2.7" + "@next/swc-darwin-x64": "npm:16.2.7" + "@next/swc-linux-arm64-gnu": "npm:16.2.7" + "@next/swc-linux-arm64-musl": "npm:16.2.7" + "@next/swc-linux-x64-gnu": "npm:16.2.7" + "@next/swc-linux-x64-musl": "npm:16.2.7" + "@next/swc-win32-arm64-msvc": "npm:16.2.7" + "@next/swc-win32-x64-msvc": "npm:16.2.7" + "@swc/helpers": "npm:0.5.15" + baseline-browser-mapping: "npm:^2.9.19" + caniuse-lite: "npm:^1.0.30001579" postcss: "npm:8.4.31" - styled-jsx: "npm:5.1.1" - watchpack: "npm:2.4.0" + sharp: "npm:^0.34.5" + styled-jsx: "npm:5.1.6" peerDependencies: "@opentelemetry/api": ^1.1.0 - react: ^18.2.0 - react-dom: ^18.2.0 + "@playwright/test": ^1.51.1 + babel-plugin-react-compiler: "*" + react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0 + react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0 sass: ^1.3.0 dependenciesMeta: "@next/swc-darwin-arm64": @@ -2359,18 +2589,22 @@ __metadata: optional: true "@next/swc-win32-arm64-msvc": optional: true - "@next/swc-win32-ia32-msvc": - optional: true "@next/swc-win32-x64-msvc": optional: true + sharp: + optional: true peerDependenciesMeta: "@opentelemetry/api": optional: true + "@playwright/test": + optional: true + babel-plugin-react-compiler: + optional: true sass: optional: true bin: next: dist/bin/next - checksum: 10/8befc8dc4f09aaba9bdf85b12dad7b7d1ca6bd2f60baf87e1f4310476c0ec38cbda2bf8d39c0012736c152660b2c7bd11099d32baad1a28462e6f5edc3ba72e5 + checksum: 10/f17437a747f67149da27ece48f095ba453f34ef226f05858e17f5cfb3392938831449e674d2ed3d370aa8223f8425629e07c1b6292b798d21d1a8cc1e58100d9 languageName: node linkType: hard @@ -2855,13 +3089,13 @@ __metadata: "@types/react": "npm:^18.0.26" "@types/react-dom": "npm:^18.0.10" msw: "npm:^1.3.2" - next: "npm:^13.2" + next: "npm:^16.2.7" prettier: "npm:^3.2.5" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" react-redux: "npm:^9.0.0-rc.0" serve: "npm:^14.2.0" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -2931,6 +3165,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.7.3": + version: 7.8.2 + resolution: "semver@npm:7.8.2" + bin: + semver: bin/semver.js + checksum: 10/52221d8f1cadacda3cc3f0a2e7f7146e0442c7f4219acb25970bed055f5d0a6afbba5f22e293b078c2e93fca3dce0a08b088485e8b75d32a165f16c3627091c8 + languageName: node + linkType: hard + "serve-handler@npm:6.1.6": version: 6.1.6 resolution: "serve-handler@npm:6.1.6" @@ -2988,6 +3231,90 @@ __metadata: languageName: node linkType: hard +"sharp@npm:^0.34.5": + version: 0.34.5 + resolution: "sharp@npm:0.34.5" + dependencies: + "@img/colour": "npm:^1.0.0" + "@img/sharp-darwin-arm64": "npm:0.34.5" + "@img/sharp-darwin-x64": "npm:0.34.5" + "@img/sharp-libvips-darwin-arm64": "npm:1.2.4" + "@img/sharp-libvips-darwin-x64": "npm:1.2.4" + "@img/sharp-libvips-linux-arm": "npm:1.2.4" + "@img/sharp-libvips-linux-arm64": "npm:1.2.4" + "@img/sharp-libvips-linux-ppc64": "npm:1.2.4" + "@img/sharp-libvips-linux-riscv64": "npm:1.2.4" + "@img/sharp-libvips-linux-s390x": "npm:1.2.4" + "@img/sharp-libvips-linux-x64": "npm:1.2.4" + "@img/sharp-libvips-linuxmusl-arm64": "npm:1.2.4" + "@img/sharp-libvips-linuxmusl-x64": "npm:1.2.4" + "@img/sharp-linux-arm": "npm:0.34.5" + "@img/sharp-linux-arm64": "npm:0.34.5" + "@img/sharp-linux-ppc64": "npm:0.34.5" + "@img/sharp-linux-riscv64": "npm:0.34.5" + "@img/sharp-linux-s390x": "npm:0.34.5" + "@img/sharp-linux-x64": "npm:0.34.5" + "@img/sharp-linuxmusl-arm64": "npm:0.34.5" + "@img/sharp-linuxmusl-x64": "npm:0.34.5" + "@img/sharp-wasm32": "npm:0.34.5" + "@img/sharp-win32-arm64": "npm:0.34.5" + "@img/sharp-win32-ia32": "npm:0.34.5" + "@img/sharp-win32-x64": "npm:0.34.5" + detect-libc: "npm:^2.1.2" + semver: "npm:^7.7.3" + dependenciesMeta: + "@img/sharp-darwin-arm64": + optional: true + "@img/sharp-darwin-x64": + optional: true + "@img/sharp-libvips-darwin-arm64": + optional: true + "@img/sharp-libvips-darwin-x64": + optional: true + "@img/sharp-libvips-linux-arm": + optional: true + "@img/sharp-libvips-linux-arm64": + optional: true + "@img/sharp-libvips-linux-ppc64": + optional: true + "@img/sharp-libvips-linux-riscv64": + optional: true + "@img/sharp-libvips-linux-s390x": + optional: true + "@img/sharp-libvips-linux-x64": + optional: true + "@img/sharp-libvips-linuxmusl-arm64": + optional: true + "@img/sharp-libvips-linuxmusl-x64": + optional: true + "@img/sharp-linux-arm": + optional: true + "@img/sharp-linux-arm64": + optional: true + "@img/sharp-linux-ppc64": + optional: true + "@img/sharp-linux-riscv64": + optional: true + "@img/sharp-linux-s390x": + optional: true + "@img/sharp-linux-x64": + optional: true + "@img/sharp-linuxmusl-arm64": + optional: true + "@img/sharp-linuxmusl-x64": + optional: true + "@img/sharp-wasm32": + optional: true + "@img/sharp-win32-arm64": + optional: true + "@img/sharp-win32-ia32": + optional: true + "@img/sharp-win32-x64": + optional: true + checksum: 10/d62bc638c8ad382dffc266beeaffab71457d592abeb6fdf95b512e6dcbce0abf47b8d903b4ea081f012ceb40e4462f1e219184c729329146df32a5ccec2c231f + languageName: node + linkType: hard + "shebang-command@npm:^2.0.0": version: 2.0.0 resolution: "shebang-command@npm:2.0.0" @@ -3085,13 +3412,6 @@ __metadata: languageName: node linkType: hard -"streamsearch@npm:^1.1.0": - version: 1.1.0 - resolution: "streamsearch@npm:1.1.0" - checksum: 10/612c2b2a7dbcc859f74597112f80a42cbe4d448d03da790d5b7b39673c1197dd3789e91cd67210353e58857395d32c1e955a9041c4e6d5bae723436b3ed9ed14 - languageName: node - linkType: hard - "strict-event-emitter@npm:^0.2.4": version: 0.2.8 resolution: "strict-event-emitter@npm:0.2.8" @@ -3180,19 +3500,19 @@ __metadata: languageName: node linkType: hard -"styled-jsx@npm:5.1.1": - version: 5.1.1 - resolution: "styled-jsx@npm:5.1.1" +"styled-jsx@npm:5.1.6": + version: 5.1.6 + resolution: "styled-jsx@npm:5.1.6" dependencies: client-only: "npm:0.0.1" peerDependencies: - react: ">= 16.8.0 || 17.x.x || ^18.0.0-0" + react: ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0" peerDependenciesMeta: "@babel/core": optional: true babel-plugin-macros: optional: true - checksum: 10/4f6a5d0010770fdeea1183d919d528fd46c484e23c0535ef3e1dd49488116f639c594f3bd4440e3bc8a8686c9f8d53c5761599870ff039ede11a5c3bfe08a4be + checksum: 10/ba01200e8227fe1441a719c2e7da96c8aa7ef61d14211d1500e1abce12efa118479bcb6e7e12beecb9e1db76432caad2f4e01bbc0c9be21c134b088a4ca5ffe0 languageName: node linkType: hard @@ -3260,7 +3580,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.1.0, tslib@npm:^2.4.0": +"tslib@npm:^2.1.0, tslib@npm:^2.4.0, tslib@npm:^2.8.0": version: 2.8.1 resolution: "tslib@npm:2.8.1" checksum: 10/3e2e043d5c2316461cb54e5c7fe02c30ef6dccb3384717ca22ae5c6b5bc95232a6241df19c622d9c73b809bea33b187f6dbc73030963e29950c2141bc32a79f7 @@ -3281,23 +3601,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.9.3": - version: 5.9.3 - resolution: "typescript@npm:5.9.3" +"typescript@npm:^6.0.3": + version: 6.0.3 + resolution: "typescript@npm:6.0.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/c089d9d3da2729fd4ac517f9b0e0485914c4b3c26f80dc0cffcb5de1719a17951e92425d55db59515c1a7ddab65808466debb864d0d56dcf43f27007d0709594 + checksum: 10/0ef2357a4cffd916b52b683a021cdab0f81eea4e9aa35f2d254581c9a5106da02224e3392e1b0ed42b7a48f80c966e5f52b8e1a27941fa0523c1705a9c2e0330 languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.9.3#optional!builtin": - version: 5.9.3 - resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=8c6c40" +"typescript@patch:typescript@npm%3A^6.0.3#optional!builtin": + version: 6.0.3 + resolution: "typescript@patch:typescript@npm%3A6.0.3#optional!builtin::version=6.0.3&hash=8c6c40" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/5d416ad4f2ea564f515a3f919e901edbfa4b497cc17dd325c5726046c3eef7ed22d1f59c787267d478311f6f0a265ff790f8a6c7e9df3ea3471458f5ec81e8b7 + checksum: 10/a7487148ae5bae463e49e22f885e77e53a45bab250f02140dad35d4850d0afa422af5a5e69fd5102dc771421eaf8dc5507b35a55cb3e0422cde72ad47765206b languageName: node linkType: hard @@ -3381,16 +3701,6 @@ __metadata: languageName: node linkType: hard -"watchpack@npm:2.4.0": - version: 2.4.0 - resolution: "watchpack@npm:2.4.0" - dependencies: - glob-to-regexp: "npm:^0.4.1" - graceful-fs: "npm:^4.1.2" - checksum: 10/4280b45bc4b5d45d5579113f2a4af93b67ae1b9607cc3d86ae41cdd53ead10db5d9dc3237f24256d05ef88b28c69a02712f78e434cb7ecc8edaca134a56e8cab - languageName: node - linkType: hard - "wcwidth@npm:^1.0.1": version: 1.0.1 resolution: "wcwidth@npm:1.0.1" diff --git a/examples/publish-ci/react-native/package.json b/examples/publish-ci/react-native/package.json index 70b108cd76..1d3590694b 100644 --- a/examples/publish-ci/react-native/package.json +++ b/examples/publish-ci/react-native/package.json @@ -48,7 +48,7 @@ "prettier": "^3.5.3", "react-test-renderer": "19.0.0", "ts-node": "^10.9.2", - "typescript": "^5.9.3", + "typescript": "^6.0.3", "typescript-eslint": "^8.31.1" }, "engines": { diff --git a/examples/publish-ci/react-native/yarn.lock b/examples/publish-ci/react-native/yarn.lock index 55631eee8d..46c56e150d 100644 --- a/examples/publish-ci/react-native/yarn.lock +++ b/examples/publish-ci/react-native/yarn.lock @@ -7804,7 +7804,7 @@ __metadata: react-redux: "npm:^9.2.0" react-test-renderer: "npm:19.0.0" ts-node: "npm:^10.9.2" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" typescript-eslint: "npm:^8.31.1" languageName: unknown linkType: soft @@ -9067,23 +9067,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.9.3": - version: 5.9.3 - resolution: "typescript@npm:5.9.3" +"typescript@npm:^6.0.3": + version: 6.0.3 + resolution: "typescript@npm:6.0.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/c089d9d3da2729fd4ac517f9b0e0485914c4b3c26f80dc0cffcb5de1719a17951e92425d55db59515c1a7ddab65808466debb864d0d56dcf43f27007d0709594 + checksum: 10/0ef2357a4cffd916b52b683a021cdab0f81eea4e9aa35f2d254581c9a5106da02224e3392e1b0ed42b7a48f80c966e5f52b8e1a27941fa0523c1705a9c2e0330 languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.9.3#optional!builtin": - version: 5.9.3 - resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=8c6c40" +"typescript@patch:typescript@npm%3A^6.0.3#optional!builtin": + version: 6.0.3 + resolution: "typescript@patch:typescript@npm%3A6.0.3#optional!builtin::version=6.0.3&hash=8c6c40" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/5d416ad4f2ea564f515a3f919e901edbfa4b497cc17dd325c5726046c3eef7ed22d1f59c787267d478311f6f0a265ff790f8a6c7e9df3ea3471458f5ec81e8b7 + checksum: 10/a7487148ae5bae463e49e22f885e77e53a45bab250f02140dad35d4850d0afa422af5a5e69fd5102dc771421eaf8dc5507b35a55cb3e0422cde72ad47765206b languageName: node linkType: hard diff --git a/examples/publish-ci/vite/package.json b/examples/publish-ci/vite/package.json index 7ab18c245b..b2ffb89e48 100644 --- a/examples/publish-ci/vite/package.json +++ b/examples/publish-ci/vite/package.json @@ -29,7 +29,7 @@ "@vitejs/plugin-react": "^5", "prettier": "^3.2.5", "serve": "^14.2.0", - "typescript": "^5.9.3", + "typescript": "^6.0.3", "vite": "^7" }, "msw": { diff --git a/examples/publish-ci/vite/src/app/hooks.ts b/examples/publish-ci/vite/src/app/hooks.ts index b266933387..0283453507 100644 --- a/examples/publish-ci/vite/src/app/hooks.ts +++ b/examples/publish-ci/vite/src/app/hooks.ts @@ -1,6 +1,6 @@ -import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux' -import type { RootState, AppDispatch } from './store' +import { useDispatch, useSelector } from 'react-redux' +import type { AppDispatch, RootState } from './store' // Use throughout your app instead of plain `useDispatch` and `useSelector` -export const useAppDispatch = () => useDispatch() -export const useAppSelector: TypedUseSelectorHook = useSelector +export const useAppDispatch = useDispatch.withTypes() +export const useAppSelector = useSelector.withTypes() diff --git a/examples/publish-ci/vite/src/app/services/times.ts b/examples/publish-ci/vite/src/app/services/times.ts index addf93296b..ee35707e20 100644 --- a/examples/publish-ci/vite/src/app/services/times.ts +++ b/examples/publish-ci/vite/src/app/services/times.ts @@ -1,6 +1,6 @@ import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query' -interface TimeResponse { +export interface TimeResponse { time: string } diff --git a/examples/publish-ci/vite/src/app/store.ts b/examples/publish-ci/vite/src/app/store.ts index 3919843350..2e73b46668 100644 --- a/examples/publish-ci/vite/src/app/store.ts +++ b/examples/publish-ci/vite/src/app/store.ts @@ -1,4 +1,5 @@ -import { configureStore, ThunkAction, Action } from '@reduxjs/toolkit' +import type { Action, ThunkAction } from '@reduxjs/toolkit' +import { configureStore } from '@reduxjs/toolkit' import counterReducer from '../features/counter/counterSlice' import { postApi } from './services/post' import { timeApi } from './services/times' diff --git a/examples/publish-ci/vite/src/features/common/Container.tsx b/examples/publish-ci/vite/src/features/common/Container.tsx index ff3f2748d3..183436677e 100644 --- a/examples/publish-ci/vite/src/features/common/Container.tsx +++ b/examples/publish-ci/vite/src/features/common/Container.tsx @@ -1,4 +1,4 @@ -import { FC, ReactNode } from 'react' +import type { FC, ReactNode } from 'react' export const Container: FC<{ children: ReactNode }> = ({ children }) => (
diff --git a/examples/publish-ci/vite/src/features/counter/Counter.tsx b/examples/publish-ci/vite/src/features/counter/Counter.tsx index 3a0f63bc25..58c93dead2 100644 --- a/examples/publish-ci/vite/src/features/counter/Counter.tsx +++ b/examples/publish-ci/vite/src/features/counter/Counter.tsx @@ -1,4 +1,4 @@ -import React, { useState } from 'react' +import { useState } from 'react' import { useAppSelector, useAppDispatch } from '../../app/hooks' import { diff --git a/examples/publish-ci/vite/src/features/counter/counterSlice.ts b/examples/publish-ci/vite/src/features/counter/counterSlice.ts index 28ff82eaf9..6d4436bed8 100644 --- a/examples/publish-ci/vite/src/features/counter/counterSlice.ts +++ b/examples/publish-ci/vite/src/features/counter/counterSlice.ts @@ -1,5 +1,6 @@ -import { createAsyncThunk, createSlice, PayloadAction } from '@reduxjs/toolkit' -import { RootState, AppThunk } from '../../app/store' +import type { PayloadAction } from '@reduxjs/toolkit' +import { createAsyncThunk, createSlice } from '@reduxjs/toolkit' +import type { AppThunk, RootState } from '../../app/store' import { fetchCount } from './counterAPI' export interface CounterState { diff --git a/examples/publish-ci/vite/src/features/posts/Post.tsx b/examples/publish-ci/vite/src/features/posts/Post.tsx index 902fb52634..aeeac8aab0 100644 --- a/examples/publish-ci/vite/src/features/posts/Post.tsx +++ b/examples/publish-ci/vite/src/features/posts/Post.tsx @@ -1,5 +1,3 @@ -import React from 'react' - // import the file that injects "post" to make sure it has been loaded import { useGetPostQuery } from '../../app/services/post' diff --git a/examples/publish-ci/vite/src/mocks/handlers.ts b/examples/publish-ci/vite/src/mocks/handlers.ts index e682accda3..4e726eb1e3 100644 --- a/examples/publish-ci/vite/src/mocks/handlers.ts +++ b/examples/publish-ci/vite/src/mocks/handlers.ts @@ -1,6 +1,6 @@ import { rest } from 'msw' import { createEntityAdapter } from '@reduxjs/toolkit' -import { Post } from '../app/services/post' +import type { Post } from '../app/services/post' // We're just going to use a simple in-memory store for both the counter and posts // The entity adapter will handle modifications when triggered by the MSW handlers diff --git a/examples/publish-ci/vite/tsconfig.app.json b/examples/publish-ci/vite/tsconfig.app.json new file mode 100644 index 0000000000..82c12c96c4 --- /dev/null +++ b/examples/publish-ci/vite/tsconfig.app.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "compilerOptions": { + "allowImportingTsExtensions": true, + "jsx": "react-jsx", + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "module": "esnext", + "moduleDetection": "force", + "moduleResolution": "bundler", + "noEmit": true, + "noFallthroughCasesInSwitch": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "skipLibCheck": true, + "target": "esnext", + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", + "types": ["vite/client"], + "verbatimModuleSyntax": true + }, + "include": ["src"] +} diff --git a/examples/publish-ci/vite/tsconfig.build.json b/examples/publish-ci/vite/tsconfig.build.json new file mode 100644 index 0000000000..1ffef600d9 --- /dev/null +++ b/examples/publish-ci/vite/tsconfig.build.json @@ -0,0 +1,7 @@ +{ + "files": [], + "references": [ + { "path": "./tsconfig.app.json" }, + { "path": "./tsconfig.node.json" } + ] +} diff --git a/examples/publish-ci/vite/tsconfig.json b/examples/publish-ci/vite/tsconfig.json index 3d0a51a86e..e77ede7ae6 100644 --- a/examples/publish-ci/vite/tsconfig.json +++ b/examples/publish-ci/vite/tsconfig.json @@ -1,21 +1,38 @@ { "compilerOptions": { - "target": "ESNext", - "useDefineForClassFields": true, - "lib": ["DOM", "DOM.Iterable", "ESNext"], - "allowJs": false, - "skipLibCheck": true, - "esModuleInterop": false, + "allowJs": true, "allowSyntheticDefaultImports": true, - "strict": true, + "checkJs": true, + "declaration": true, + "declarationMap": true, + "esModuleInterop": true, + "exactOptionalPropertyTypes": true, "forceConsistentCasingInFileNames": true, - "module": "ESNext", - "moduleResolution": "Node", - "resolveJsonModule": true, "isolatedModules": true, + "jsx": "react-jsx", + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "module": "esnext", + "moduleDetection": "force", + "moduleResolution": "bundler", "noEmit": true, - "jsx": "react-jsx" + "noErrorTruncation": true, + "noFallthroughCasesInSwitch": true, + "noImplicitOverride": true, + "noImplicitReturns": true, + "noUncheckedIndexedAccess": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "outDir": "./dist", + "resolveJsonModule": true, + "rootDir": "./", + "skipLibCheck": true, + "sourceMap": true, + "strict": true, + "target": "esnext", + "types": ["node", "vite/client"], + "useDefineForClassFields": true, + "useUnknownInCatchVariables": true, + "verbatimModuleSyntax": true }, - "include": ["src"], - "references": [{ "path": "./tsconfig.node.json" }] + "exclude": ["coverage", "dist", "public"] } diff --git a/examples/publish-ci/vite/tsconfig.node.json b/examples/publish-ci/vite/tsconfig.node.json index 9d31e2aed9..0505dc7e52 100644 --- a/examples/publish-ci/vite/tsconfig.node.json +++ b/examples/publish-ci/vite/tsconfig.node.json @@ -1,9 +1,23 @@ { "compilerOptions": { - "composite": true, - "module": "ESNext", - "moduleResolution": "Node", - "allowSyntheticDefaultImports": true + "allowImportingTsExtensions": true, + "allowJs": true, + "checkJs": true, + "lib": ["ESNext"], + "module": "esnext", + "moduleDetection": "force", + "moduleResolution": "bundler", + "noEmit": true, + "noFallthroughCasesInSwitch": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "outDir": "./dist", + "rootDir": "./", + "skipLibCheck": true, + "target": "esnext", + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", + "types": ["node"], + "verbatimModuleSyntax": true }, - "include": ["vite.config.ts"] + "include": ["vite.config.ts", "playwright.config.ts"] } diff --git a/examples/publish-ci/vite/yarn.lock b/examples/publish-ci/vite/yarn.lock index 091c668818..5cc2be3f9a 100644 --- a/examples/publish-ci/vite/yarn.lock +++ b/examples/publish-ci/vite/yarn.lock @@ -3673,7 +3673,7 @@ __metadata: react-dom: "npm:^18.2.0" react-redux: "npm:^9.0.0-rc.0" serve: "npm:^14.2.0" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" vite: "npm:^7" languageName: unknown linkType: soft @@ -4097,23 +4097,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.9.3": - version: 5.9.3 - resolution: "typescript@npm:5.9.3" +"typescript@npm:^6.0.3": + version: 6.0.3 + resolution: "typescript@npm:6.0.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/c089d9d3da2729fd4ac517f9b0e0485914c4b3c26f80dc0cffcb5de1719a17951e92425d55db59515c1a7ddab65808466debb864d0d56dcf43f27007d0709594 + checksum: 10/0ef2357a4cffd916b52b683a021cdab0f81eea4e9aa35f2d254581c9a5106da02224e3392e1b0ed42b7a48f80c966e5f52b8e1a27941fa0523c1705a9c2e0330 languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.9.3#optional!builtin": - version: 5.9.3 - resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=8c6c40" +"typescript@patch:typescript@npm%3A^6.0.3#optional!builtin": + version: 6.0.3 + resolution: "typescript@patch:typescript@npm%3A6.0.3#optional!builtin::version=6.0.3&hash=8c6c40" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10/5d416ad4f2ea564f515a3f919e901edbfa4b497cc17dd325c5726046c3eef7ed22d1f59c787267d478311f6f0a265ff790f8a6c7e9df3ea3471458f5ec81e8b7 + checksum: 10/a7487148ae5bae463e49e22f885e77e53a45bab250f02140dad35d4850d0afa422af5a5e69fd5102dc771421eaf8dc5507b35a55cb3e0422cde72ad47765206b languageName: node linkType: hard diff --git a/examples/query/react/advanced/package.json b/examples/query/react/advanced/package.json index 250dfbfc25..112eddcd2f 100644 --- a/examples/query/react/advanced/package.json +++ b/examples/query/react/advanced/package.json @@ -15,7 +15,7 @@ "devDependencies": { "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "eslintConfig": { "extends": [ diff --git a/examples/query/react/advanced/src/react-app-env.d.ts b/examples/query/react/advanced/src/react-app-env.d.ts index 6431bc5fc6..985df9bf3b 100644 --- a/examples/query/react/advanced/src/react-app-env.d.ts +++ b/examples/query/react/advanced/src/react-app-env.d.ts @@ -1 +1,3 @@ /// + +declare module '*.css' {} diff --git a/examples/query/react/advanced/tsconfig.json b/examples/query/react/advanced/tsconfig.json index 2e7afa3896..3fa21821ef 100644 --- a/examples/query/react/advanced/tsconfig.json +++ b/examples/query/react/advanced/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node"] } } diff --git a/examples/query/react/authentication-with-extrareducers/package.json b/examples/query/react/authentication-with-extrareducers/package.json index de5bd811be..ff015b71e9 100644 --- a/examples/query/react/authentication-with-extrareducers/package.json +++ b/examples/query/react/authentication-with-extrareducers/package.json @@ -23,7 +23,7 @@ "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", "rimraf": "^6.1.3", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "scripts": { "start": "react-scripts start", diff --git a/examples/query/react/authentication-with-extrareducers/tsconfig.json b/examples/query/react/authentication-with-extrareducers/tsconfig.json index 2e7afa3896..49508bfde2 100644 --- a/examples/query/react/authentication-with-extrareducers/tsconfig.json +++ b/examples/query/react/authentication-with-extrareducers/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node", "jest"] } } diff --git a/examples/query/react/authentication/package.json b/examples/query/react/authentication/package.json index c83723ac19..78a9ac9ae9 100644 --- a/examples/query/react/authentication/package.json +++ b/examples/query/react/authentication/package.json @@ -23,7 +23,7 @@ "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", "rimraf": "^6.1.3", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "scripts": { "start": "react-scripts start", diff --git a/examples/query/react/authentication/tsconfig.json b/examples/query/react/authentication/tsconfig.json index 2e7afa3896..3fa21821ef 100644 --- a/examples/query/react/authentication/tsconfig.json +++ b/examples/query/react/authentication/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node"] } } diff --git a/examples/query/react/basic/package.json b/examples/query/react/basic/package.json index 4b394cab43..252bac4c32 100644 --- a/examples/query/react/basic/package.json +++ b/examples/query/react/basic/package.json @@ -19,7 +19,7 @@ "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", "msw": "^0.40.2", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "eslintConfig": { "extends": [ diff --git a/examples/query/react/basic/src/react-app-env.d.ts b/examples/query/react/basic/src/react-app-env.d.ts index 6431bc5fc6..985df9bf3b 100644 --- a/examples/query/react/basic/src/react-app-env.d.ts +++ b/examples/query/react/basic/src/react-app-env.d.ts @@ -1 +1,3 @@ /// + +declare module '*.css' {} diff --git a/examples/query/react/basic/tsconfig.json b/examples/query/react/basic/tsconfig.json index 2e7afa3896..49508bfde2 100644 --- a/examples/query/react/basic/tsconfig.json +++ b/examples/query/react/basic/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node", "jest"] } } diff --git a/examples/query/react/conditional-fetching/package.json b/examples/query/react/conditional-fetching/package.json index 20fb8c3731..137e0889ea 100644 --- a/examples/query/react/conditional-fetching/package.json +++ b/examples/query/react/conditional-fetching/package.json @@ -15,7 +15,7 @@ "devDependencies": { "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "eslintConfig": { "extends": [ diff --git a/examples/query/react/conditional-fetching/src/react-app-env.d.ts b/examples/query/react/conditional-fetching/src/react-app-env.d.ts index 6431bc5fc6..985df9bf3b 100644 --- a/examples/query/react/conditional-fetching/src/react-app-env.d.ts +++ b/examples/query/react/conditional-fetching/src/react-app-env.d.ts @@ -1 +1,3 @@ /// + +declare module '*.css' {} diff --git a/examples/query/react/conditional-fetching/tsconfig.json b/examples/query/react/conditional-fetching/tsconfig.json index 2e7afa3896..3fa21821ef 100644 --- a/examples/query/react/conditional-fetching/tsconfig.json +++ b/examples/query/react/conditional-fetching/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node"] } } diff --git a/examples/query/react/deduping-queries/package.json b/examples/query/react/deduping-queries/package.json index 01d4ea13c1..2de9aae24b 100644 --- a/examples/query/react/deduping-queries/package.json +++ b/examples/query/react/deduping-queries/package.json @@ -15,7 +15,7 @@ "devDependencies": { "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "eslintConfig": { "extends": [ diff --git a/examples/query/react/deduping-queries/tsconfig.json b/examples/query/react/deduping-queries/tsconfig.json index 2e7afa3896..3fa21821ef 100644 --- a/examples/query/react/deduping-queries/tsconfig.json +++ b/examples/query/react/deduping-queries/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node"] } } diff --git a/examples/query/react/graphql-codegen/package.json b/examples/query/react/graphql-codegen/package.json index 69daa5a20e..c9892df9eb 100644 --- a/examples/query/react/graphql-codegen/package.json +++ b/examples/query/react/graphql-codegen/package.json @@ -42,7 +42,7 @@ "cross-env": "^7.0.3", "rimraf": "^6.1.3", "ts-node": "^10.0.0", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "scripts": { "develop": "cross-env CHOKIDAR_USEPOLLING=true yarn start", diff --git a/examples/query/react/graphql-codegen/tsconfig.json b/examples/query/react/graphql-codegen/tsconfig.json index 4842cab6c4..3fa21821ef 100644 --- a/examples/query/react/graphql-codegen/tsconfig.json +++ b/examples/query/react/graphql-codegen/tsconfig.json @@ -5,17 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "baseUrl": "src" + "types": ["node"] } } diff --git a/examples/query/react/graphql/package.json b/examples/query/react/graphql/package.json index 65ebd4b1f0..d890b4854c 100644 --- a/examples/query/react/graphql/package.json +++ b/examples/query/react/graphql/package.json @@ -29,7 +29,7 @@ "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", "rimraf": "^6.1.3", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "scripts": { "start": "react-scripts start", diff --git a/examples/query/react/graphql/tsconfig.json b/examples/query/react/graphql/tsconfig.json index 2e7afa3896..3fa21821ef 100644 --- a/examples/query/react/graphql/tsconfig.json +++ b/examples/query/react/graphql/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node"] } } diff --git a/examples/query/react/infinite-queries/package.json b/examples/query/react/infinite-queries/package.json index 011ced474c..9ec2dcac2d 100644 --- a/examples/query/react/infinite-queries/package.json +++ b/examples/query/react/infinite-queries/package.json @@ -35,7 +35,7 @@ "jsdom": "^23.2.0", "msw": "^2.6.6", "prettier": "^3.2.1", - "typescript": "^5.9.3", + "typescript": "^6.0.3", "vite": "^7", "vitest": "^4" }, diff --git a/examples/query/react/infinite-queries/tsconfig.node.json b/examples/query/react/infinite-queries/tsconfig.node.json index a535f7d4d2..7dd08f1201 100644 --- a/examples/query/react/infinite-queries/tsconfig.node.json +++ b/examples/query/react/infinite-queries/tsconfig.node.json @@ -3,7 +3,8 @@ "composite": true, "module": "ESNext", "moduleResolution": "bundler", - "allowSyntheticDefaultImports": true + "allowSyntheticDefaultImports": true, + "types": ["node"] }, "include": ["vite.config.ts"] } diff --git a/examples/query/react/kitchen-sink/package.json b/examples/query/react/kitchen-sink/package.json index 0797241fc0..d3b3b18dd7 100644 --- a/examples/query/react/kitchen-sink/package.json +++ b/examples/query/react/kitchen-sink/package.json @@ -22,7 +22,7 @@ "@types/node": "^25.5.0", "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", - "typescript": "^5.9.3", + "typescript": "^6.0.3", "whatwg-fetch": "^3.4.1" }, "eslintConfig": { diff --git a/examples/query/react/kitchen-sink/src/react-app-env.d.ts b/examples/query/react/kitchen-sink/src/react-app-env.d.ts index 6431bc5fc6..985df9bf3b 100644 --- a/examples/query/react/kitchen-sink/src/react-app-env.d.ts +++ b/examples/query/react/kitchen-sink/src/react-app-env.d.ts @@ -1 +1,3 @@ /// + +declare module '*.css' {} diff --git a/examples/query/react/kitchen-sink/tsconfig.json b/examples/query/react/kitchen-sink/tsconfig.json index 2e7afa3896..49508bfde2 100644 --- a/examples/query/react/kitchen-sink/tsconfig.json +++ b/examples/query/react/kitchen-sink/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node", "jest"] } } diff --git a/examples/query/react/mutations/package.json b/examples/query/react/mutations/package.json index 4aa9b6c31d..08c74e2e1b 100644 --- a/examples/query/react/mutations/package.json +++ b/examples/query/react/mutations/package.json @@ -24,7 +24,7 @@ "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", "rimraf": "^6.1.3", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "scripts": { "start": "react-scripts start", diff --git a/examples/query/react/mutations/tsconfig.json b/examples/query/react/mutations/tsconfig.json index 2e7afa3896..3fa21821ef 100644 --- a/examples/query/react/mutations/tsconfig.json +++ b/examples/query/react/mutations/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node"] } } diff --git a/examples/query/react/optimistic-update/package.json b/examples/query/react/optimistic-update/package.json index 043402944a..3899d9ab5b 100644 --- a/examples/query/react/optimistic-update/package.json +++ b/examples/query/react/optimistic-update/package.json @@ -25,7 +25,7 @@ "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", "rimraf": "^6.1.3", - "typescript": "^5.9.3", + "typescript": "^6.0.3", "whatwg-fetch": "^3.4.1" }, "scripts": { diff --git a/examples/query/react/optimistic-update/tsconfig.json b/examples/query/react/optimistic-update/tsconfig.json index 2e7afa3896..3fa21821ef 100644 --- a/examples/query/react/optimistic-update/tsconfig.json +++ b/examples/query/react/optimistic-update/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node"] } } diff --git a/examples/query/react/pagination/package.json b/examples/query/react/pagination/package.json index c57a42c46a..38ea497ad2 100644 --- a/examples/query/react/pagination/package.json +++ b/examples/query/react/pagination/package.json @@ -25,7 +25,7 @@ "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", "rimraf": "^6.1.3", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "scripts": { "start": "react-scripts start", diff --git a/examples/query/react/pagination/tsconfig.json b/examples/query/react/pagination/tsconfig.json index 2e7afa3896..3fa21821ef 100644 --- a/examples/query/react/pagination/tsconfig.json +++ b/examples/query/react/pagination/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node"] } } diff --git a/examples/query/react/polling/package.json b/examples/query/react/polling/package.json index 2da11138c6..e14bc77f60 100644 --- a/examples/query/react/polling/package.json +++ b/examples/query/react/polling/package.json @@ -15,7 +15,7 @@ "devDependencies": { "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "eslintConfig": { "extends": [ diff --git a/examples/query/react/polling/src/react-app-env.d.ts b/examples/query/react/polling/src/react-app-env.d.ts index 6431bc5fc6..985df9bf3b 100644 --- a/examples/query/react/polling/src/react-app-env.d.ts +++ b/examples/query/react/polling/src/react-app-env.d.ts @@ -1 +1,3 @@ /// + +declare module '*.css' {} diff --git a/examples/query/react/polling/tsconfig.json b/examples/query/react/polling/tsconfig.json index 2e7afa3896..3fa21821ef 100644 --- a/examples/query/react/polling/tsconfig.json +++ b/examples/query/react/polling/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node"] } } diff --git a/examples/query/react/prefetching-automatic-waterfall/package.json b/examples/query/react/prefetching-automatic-waterfall/package.json index 661dd1f7ff..248b826935 100644 --- a/examples/query/react/prefetching-automatic-waterfall/package.json +++ b/examples/query/react/prefetching-automatic-waterfall/package.json @@ -26,7 +26,7 @@ "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", "rimraf": "^6.1.3", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "scripts": { "start": "react-scripts start", diff --git a/examples/query/react/prefetching-automatic-waterfall/tsconfig.json b/examples/query/react/prefetching-automatic-waterfall/tsconfig.json index 2e7afa3896..3fa21821ef 100644 --- a/examples/query/react/prefetching-automatic-waterfall/tsconfig.json +++ b/examples/query/react/prefetching-automatic-waterfall/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node"] } } diff --git a/examples/query/react/prefetching-automatic/package.json b/examples/query/react/prefetching-automatic/package.json index 382c869a71..141d4ae979 100644 --- a/examples/query/react/prefetching-automatic/package.json +++ b/examples/query/react/prefetching-automatic/package.json @@ -26,7 +26,7 @@ "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", "rimraf": "^6.1.3", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "scripts": { "start": "react-scripts start", diff --git a/examples/query/react/prefetching-automatic/tsconfig.json b/examples/query/react/prefetching-automatic/tsconfig.json index 2e7afa3896..3fa21821ef 100644 --- a/examples/query/react/prefetching-automatic/tsconfig.json +++ b/examples/query/react/prefetching-automatic/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node"] } } diff --git a/examples/query/react/prefetching/package.json b/examples/query/react/prefetching/package.json index b408a2ab8f..1bcbdc685d 100644 --- a/examples/query/react/prefetching/package.json +++ b/examples/query/react/prefetching/package.json @@ -26,7 +26,7 @@ "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", "rimraf": "^6.1.3", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "scripts": { "start": "react-scripts start", diff --git a/examples/query/react/prefetching/tsconfig.json b/examples/query/react/prefetching/tsconfig.json index 2e7afa3896..3fa21821ef 100644 --- a/examples/query/react/prefetching/tsconfig.json +++ b/examples/query/react/prefetching/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node"] } } diff --git a/examples/query/react/with-apiprovider/package.json b/examples/query/react/with-apiprovider/package.json index f93596275b..93c9ecfecf 100644 --- a/examples/query/react/with-apiprovider/package.json +++ b/examples/query/react/with-apiprovider/package.json @@ -15,7 +15,7 @@ "devDependencies": { "@types/react": "^19.0.1", "@types/react-dom": "^19.0.1", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "eslintConfig": { "extends": [ diff --git a/examples/query/react/with-apiprovider/tsconfig.json b/examples/query/react/with-apiprovider/tsconfig.json index 2e7afa3896..3fa21821ef 100644 --- a/examples/query/react/with-apiprovider/tsconfig.json +++ b/examples/query/react/with-apiprovider/tsconfig.json @@ -5,16 +5,17 @@ "esModuleInterop": true, "lib": ["dom", "es2015"], "jsx": "react-jsx", - "target": "es5", + "target": "esnext", "allowJs": true, "skipLibCheck": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "noFallthroughCasesInSwitch": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "types": ["node"] } } diff --git a/examples/type-portability/bundler/package.json b/examples/type-portability/bundler/package.json index b4078ee901..4948668127 100644 --- a/examples/type-portability/bundler/package.json +++ b/examples/type-portability/bundler/package.json @@ -17,7 +17,7 @@ "@types/react": "^19.2.13", "@types/react-dom": "^19.2.3", "rimraf": "^6.1.3", - "typescript": "^5.9.3", + "typescript": "^6.0.3", "vite": "^7.3.1" }, "scripts": { diff --git a/examples/type-portability/bundler/tsconfig.json b/examples/type-portability/bundler/tsconfig.json index cb506e6544..a2424cbcbb 100644 --- a/examples/type-portability/bundler/tsconfig.json +++ b/examples/type-portability/bundler/tsconfig.json @@ -9,8 +9,8 @@ "forceConsistentCasingInFileNames": true, "isolatedModules": true, "jsx": "react-jsx", - "module": "ESNext", - "moduleResolution": "Bundler", + "module": "esnext", + "moduleResolution": "bundler", "noEmit": false, "noEmitOnError": true, "noErrorTruncation": true, @@ -20,7 +20,8 @@ "rootDir": "./src", "skipLibCheck": true, "strict": true, - "target": "ESNext", + "target": "esnext", + "types": ["node"], "useDefineForClassFields": true, "useUnknownInCatchVariables": true, "verbatimModuleSyntax": true diff --git a/examples/type-portability/nodenext-cjs/package.json b/examples/type-portability/nodenext-cjs/package.json index 73d3c23fae..97cc840a35 100644 --- a/examples/type-portability/nodenext-cjs/package.json +++ b/examples/type-portability/nodenext-cjs/package.json @@ -18,7 +18,7 @@ "@types/react": "^19.2.13", "@types/react-dom": "^19.2.3", "rimraf": "^6.1.3", - "typescript": "^5.9.3", + "typescript": "^6.0.3", "vite": "^7.3.1" }, "scripts": { diff --git a/examples/type-portability/nodenext-cjs/tsconfig.json b/examples/type-portability/nodenext-cjs/tsconfig.json index 08d13a643d..d37456270e 100644 --- a/examples/type-portability/nodenext-cjs/tsconfig.json +++ b/examples/type-portability/nodenext-cjs/tsconfig.json @@ -20,7 +20,8 @@ "rootDir": "./src", "skipLibCheck": true, "strict": true, - "target": "ESNext", + "target": "esnext", + "types": ["node"], "useDefineForClassFields": true, "useUnknownInCatchVariables": true, "verbatimModuleSyntax": true diff --git a/examples/type-portability/nodenext-esm/package.json b/examples/type-portability/nodenext-esm/package.json index d6992d5259..b977493a58 100644 --- a/examples/type-portability/nodenext-esm/package.json +++ b/examples/type-portability/nodenext-esm/package.json @@ -18,7 +18,7 @@ "@types/react": "^19.2.13", "@types/react-dom": "^19.2.3", "rimraf": "^6.1.3", - "typescript": "^5.9.3", + "typescript": "^6.0.3", "vite": "^7.3.1" }, "scripts": { diff --git a/examples/type-portability/nodenext-esm/tsconfig.json b/examples/type-portability/nodenext-esm/tsconfig.json index 08d13a643d..d37456270e 100644 --- a/examples/type-portability/nodenext-esm/tsconfig.json +++ b/examples/type-portability/nodenext-esm/tsconfig.json @@ -20,7 +20,8 @@ "rootDir": "./src", "skipLibCheck": true, "strict": true, - "target": "ESNext", + "target": "esnext", + "types": ["node"], "useDefineForClassFields": true, "useUnknownInCatchVariables": true, "verbatimModuleSyntax": true diff --git a/package.json b/package.json index 3cae318e1f..392e0897ad 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "react-redux": "^9.1.2", "release-it": "^14.12.5", "serve": "^14.2.0", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "scripts": { "build": "yarn build:packages", diff --git a/packages/rtk-codemods/package.json b/packages/rtk-codemods/package.json index d02a014863..7ac92fd802 100644 --- a/packages/rtk-codemods/package.json +++ b/packages/rtk-codemods/package.json @@ -26,9 +26,10 @@ "globby": "^14.0.0", "jscodeshift": "^0.15.1", "ts-node": "^10.9.2", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "devDependencies": { + "@reduxjs/toolkit": "workspace:^", "@types/jscodeshift": "^0.11.11", "@types/node": "^25.5.0", "@typescript-eslint/parser": "^6.19.1", diff --git a/packages/rtk-codemods/tsconfig.json b/packages/rtk-codemods/tsconfig.json index 0f323fb7c5..b51cbd425b 100644 --- a/packages/rtk-codemods/tsconfig.json +++ b/packages/rtk-codemods/tsconfig.json @@ -1,28 +1,36 @@ { "compilerOptions": { + "allowJs": true, "allowSyntheticDefaultImports": true, - "noUnusedLocals": false, - "noUnusedParameters": false, - "isolatedModules": true, "checkJs": true, - "baseUrl": ".", - "noEmit": true, - "strict": true, - "target": "ESNext", - "module": "ESNext", - "moduleResolution": "Node", + "declaration": true, + "declarationMap": true, "esModuleInterop": true, - "skipLibCheck": true, - "allowJs": true, + "forceConsistentCasingInFileNames": true, + "isolatedModules": true, "jsx": "preserve", + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "module": "esnext", + "moduleDetection": "force", + "moduleResolution": "bundler", + "noEmit": true, + "noEmitOnError": true, "noErrorTruncation": true, - "forceConsistentCasingInFileNames": true, - "paths": { - "@reduxjs/toolkit": ["../toolkit/src/index.ts"], // @remap-prod-remove-line - "@reduxjs/toolkit/query": ["../toolkit/src/query/index.ts"], // @remap-prod-remove-line - "@reduxjs/toolkit/react": ["../toolkit/src/react/index.ts"], // @remap-prod-remove-line - "@reduxjs/toolkit/query/react": ["../toolkit/src/query/react/index.ts"] // @remap-prod-remove-line - } + "noImplicitOverride": true, + "noImplicitReturns": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "outDir": "./dist", + "rootDir": "./", + "skipLibCheck": true, + "sourceMap": true, + "strict": true, + "target": "esnext", + "types": ["node", "vitest/globals", "vitest/importMeta"], + "useDefineForClassFields": true, + "useUnknownInCatchVariables": true, + "verbatimModuleSyntax": true }, - "include": ["**/*.ts", "**/*.tsx", "bin/cli.mjs"] + "exclude": ["./dist", "./transforms/*/__testfixtures__/*.ts"], + "include": ["**/*.ts", "**/*.tsx", "**/*.mts", "./bin/cli.mjs"] } diff --git a/packages/rtk-query-codegen-openapi/package.json b/packages/rtk-query-codegen-openapi/package.json index d6e02416ed..36c379e890 100644 --- a/packages/rtk-query-codegen-openapi/package.json +++ b/packages/rtk-query-codegen-openapi/package.json @@ -73,7 +73,7 @@ "pretty-quick": "^4.0.0", "rimraf": "^6.1.3", "ts-node": "^10.9.2", - "tsup": "^8.4.0", + "tsup": "^8.5.1", "vite-tsconfig-paths": "^5.0.1", "vitest": "^4", "yalc": "^1.0.0-pre.47" @@ -87,7 +87,7 @@ "prettier": "^3.2.5", "semver": "^7.3.5", "swagger2openapi": "^7.0.4", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "husky": { "hooks": { diff --git a/packages/rtk-query-codegen-openapi/src/generate.ts b/packages/rtk-query-codegen-openapi/src/generate.ts index 220b163d7c..f39f4b8c05 100644 --- a/packages/rtk-query-codegen-openapi/src/generate.ts +++ b/packages/rtk-query-codegen-openapi/src/generate.ts @@ -569,7 +569,7 @@ export async function generateApi( ) : value; - return createPropertyAssignment(param.originalName, encodedValue); + return createPropertyAssignment(param.originalName, encodedValue as never); }); return factory.createPropertyAssignment( diff --git a/packages/rtk-query-codegen-openapi/tsconfig.build.json b/packages/rtk-query-codegen-openapi/tsconfig.build.json index dab75d1ecb..a4200a0857 100644 --- a/packages/rtk-query-codegen-openapi/tsconfig.build.json +++ b/packages/rtk-query-codegen-openapi/tsconfig.build.json @@ -1,10 +1,11 @@ { - "extends": "./tsconfig.json", "compilerOptions": { "allowJs": false, "checkJs": false, + "ignoreDeprecations": "6.0", "noEmit": false, - "rootDir": "src" + "rootDir": "./src" }, + "extends": "./tsconfig.json", "include": ["src"] } diff --git a/packages/rtk-query-codegen-openapi/tsconfig.json b/packages/rtk-query-codegen-openapi/tsconfig.json index 1969d8f61d..0c80c2e41e 100644 --- a/packages/rtk-query-codegen-openapi/tsconfig.json +++ b/packages/rtk-query-codegen-openapi/tsconfig.json @@ -4,26 +4,33 @@ "allowSyntheticDefaultImports": true, "checkJs": true, "declaration": true, + "declarationMap": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "isolatedModules": true, "jsx": "react", - "module": "ESNext", - "moduleResolution": "Bundler", + "module": "esnext", + "moduleDetection": "force", + "moduleResolution": "bundler", "noEmit": true, + "noEmitOnError": true, "noErrorTruncation": true, + "noFallthroughCasesInSwitch": true, + "noImplicitOverride": true, "noImplicitReturns": true, - "noUnusedLocals": false, - "outDir": "lib", - "rootDir": ".", + "outDir": "./lib", "paths": { "@rtk-query/codegen-openapi": ["./src/index.ts"] // @remap-prod-remove-line }, "resolveJsonModule": true, + "rootDir": "./", "skipLibCheck": true, "sourceMap": true, "strict": true, - "target": "ESNext", - "types": ["vitest/globals", "vitest/importMeta", "node"] + "target": "esnext", + "types": ["node", "vitest/globals", "vitest/importMeta"], + "useDefineForClassFields": true, + "useUnknownInCatchVariables": true, + "verbatimModuleSyntax": true } } diff --git a/packages/rtk-query-graphql-request-base-query/package.json b/packages/rtk-query-graphql-request-base-query/package.json index d2e7baab4a..c081e79ee3 100644 --- a/packages/rtk-query-graphql-request-base-query/package.json +++ b/packages/rtk-query-graphql-request-base-query/package.json @@ -18,9 +18,10 @@ "unpkg": "./dist/index.umd.js", "types": "./dist/index.d.ts", "scripts": { - "build": "microbundle", - "prepack": "rimraf dist/*; yarn build", - "dev": "microbundle watch", + "build": "microbundle build --tsconfig tsconfig.build.json", + "clean": "rimraf dist/", + "prepack": "yarn clean && yarn build", + "dev": "microbundle watch --tsconfig tsconfig.build.json", "test": "vitest run", "test:watch": "vitest" }, @@ -37,7 +38,7 @@ "graphql": "^16.5.0", "microbundle": "^0.13.3", "rimraf": "^6.1.3", - "typescript": "^5.9.3", + "typescript": "^6.0.3", "vitest": "^4" }, "publishConfig": { diff --git a/packages/rtk-query-graphql-request-base-query/tsconfig.build.json b/packages/rtk-query-graphql-request-base-query/tsconfig.build.json new file mode 100644 index 0000000000..9a5b7bac92 --- /dev/null +++ b/packages/rtk-query-graphql-request-base-query/tsconfig.build.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "ignoreDeprecations": "6.0", + "noEmit": false, + "rootDir": "./src" + }, + "exclude": ["dist", "**/*.test.*", "**/*.spec.*"], + "extends": "./tsconfig.json", + "include": ["src/**/*"] +} diff --git a/packages/toolkit/package.json b/packages/toolkit/package.json index 5532da033e..e4bc9b3e66 100644 --- a/packages/toolkit/package.json +++ b/packages/toolkit/package.json @@ -226,9 +226,9 @@ "react-redux": "^9.2.0", "rimraf": "^6.1.3", "size-limit": "^11.0.1", - "tsup": "^8.4.0", + "tsup": "^8.5.1", "tsx": "^4.19.0", - "typescript": "^5.9.3", + "typescript": "^6.0.3", "valibot": "^1.0.0", "vite-tsconfig-paths": "^4.3.1", "vitest": "^4" diff --git a/packages/toolkit/scripts/issue-triage/package.json b/packages/toolkit/scripts/issue-triage/package.json index 579438f8ec..3394451bdf 100644 --- a/packages/toolkit/scripts/issue-triage/package.json +++ b/packages/toolkit/scripts/issue-triage/package.json @@ -16,6 +16,6 @@ "license": "MIT", "devDependencies": { "@types/node": "^25.5.0", - "typescript": "^5.9.3" + "typescript": "^6.0.3" } } diff --git a/packages/toolkit/src/query/core/buildMiddleware/cacheCollection.ts b/packages/toolkit/src/query/core/buildMiddleware/cacheCollection.ts index b5f9dbaef5..f66fb283e5 100644 --- a/packages/toolkit/src/query/core/buildMiddleware/cacheCollection.ts +++ b/packages/toolkit/src/query/core/buildMiddleware/cacheCollection.ts @@ -1,6 +1,6 @@ -import { getEndpointDefinition } from '@internal/query/apiTypes' +import { getEndpointDefinition } from '../../apiTypes' import type { QueryDefinition } from '../../endpointDefinitions' -import type { ConfigState, QueryCacheKey, QuerySubState } from '../apiState' +import type { ConfigState, QueryCacheKey } from '../apiState' import { isAnyOf } from '../rtkImports' import type { ApiMiddlewareInternalHandler, diff --git a/packages/toolkit/src/query/core/buildMiddleware/cacheLifecycle.ts b/packages/toolkit/src/query/core/buildMiddleware/cacheLifecycle.ts index 012d28a361..072995d764 100644 --- a/packages/toolkit/src/query/core/buildMiddleware/cacheLifecycle.ts +++ b/packages/toolkit/src/query/core/buildMiddleware/cacheLifecycle.ts @@ -1,4 +1,5 @@ import type { ThunkDispatch, UnknownAction } from '@reduxjs/toolkit' +import { getEndpointDefinition } from '../../apiTypes' import type { BaseQueryFn, BaseQueryMeta, @@ -23,7 +24,6 @@ import type { PromiseWithKnownReason, SubMiddlewareApi, } from './types' -import { getEndpointDefinition } from '@internal/query/apiTypes' export type ReferenceCacheLifecycle = never @@ -129,7 +129,9 @@ export interface QueryCacheLifecycleApi< BaseQuery extends BaseQueryFn, ResultType, ReducerPath extends string = string, -> extends QueryBaseLifecycleApi, +> + extends + QueryBaseLifecycleApi, CacheLifecyclePromises> {} export type MutationCacheLifecycleApi< diff --git a/packages/toolkit/src/query/core/buildMiddleware/queryLifecycle.ts b/packages/toolkit/src/query/core/buildMiddleware/queryLifecycle.ts index d80b5e5693..8b79d912e5 100644 --- a/packages/toolkit/src/query/core/buildMiddleware/queryLifecycle.ts +++ b/packages/toolkit/src/query/core/buildMiddleware/queryLifecycle.ts @@ -1,4 +1,4 @@ -import { getEndpointDefinition } from '@internal/query/apiTypes' +import { getEndpointDefinition } from '../../apiTypes' import type { BaseQueryError, BaseQueryFn, diff --git a/packages/toolkit/tsconfig.base.json b/packages/toolkit/tsconfig.base.json index 3ce3355050..edcb803f56 100644 --- a/packages/toolkit/tsconfig.base.json +++ b/packages/toolkit/tsconfig.base.json @@ -34,6 +34,7 @@ "target": "esnext", "types": ["node", "vitest/globals", "vitest/importMeta"], "useDefineForClassFields": true, - "useUnknownInCatchVariables": true + "useUnknownInCatchVariables": true, + "verbatimModuleSyntax": true } } diff --git a/packages/toolkit/tsconfig.build.json b/packages/toolkit/tsconfig.build.json index 5eb75fec9e..0264b6b900 100644 --- a/packages/toolkit/tsconfig.build.json +++ b/packages/toolkit/tsconfig.build.json @@ -2,6 +2,7 @@ // For building the library. "extends": "./tsconfig.base.json", "compilerOptions": { + "ignoreDeprecations": "6.0", "noEmit": false }, "include": ["src"], diff --git a/website/package.json b/website/package.json index f558c466df..d3e7b19453 100644 --- a/website/package.json +++ b/website/package.json @@ -23,7 +23,7 @@ "react": "^19.0.0", "react-dom": "^19.0.0", "react-lite-youtube-embed": "^2.0.3", - "typescript": "^5.9.3" + "typescript": "^6.0.3" }, "browserslist": { "production": [ diff --git a/yarn.lock b/yarn.lock index 3118a17919..be554f6ee9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4353,7 +4353,7 @@ __metadata: react-dom: "npm:^19.0.0" react-redux: "npm:^9.1.2" react-scripts: "npm:5.0.1" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4368,7 +4368,7 @@ __metadata: react-dom: "npm:^19.0.0" react-redux: "npm:^9.1.2" react-scripts: "npm:5.0.1" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4391,7 +4391,7 @@ __metadata: react-router-dom: "npm:6.3.0" react-scripts: "npm:5.0.1" rimraf: "npm:^6.1.3" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4414,7 +4414,7 @@ __metadata: react-router-dom: "npm:6.3.0" react-scripts: "npm:5.0.1" rimraf: "npm:^6.1.3" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4433,7 +4433,7 @@ __metadata: react-dom: "npm:^19.0.0" react-redux: "npm:^9.1.2" react-scripts: "npm:5.0.1" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4448,7 +4448,7 @@ __metadata: react-dom: "npm:^19.0.0" react-redux: "npm:^9.1.2" react-scripts: "npm:5.0.1" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4463,7 +4463,7 @@ __metadata: react-dom: "npm:^19.0.0" react-redux: "npm:^9.1.2" react-scripts: "npm:5.0.1" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4506,7 +4506,7 @@ __metadata: react-scripts: "npm:5.0.1" rimraf: "npm:^6.1.3" ts-node: "npm:^10.0.0" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4535,7 +4535,7 @@ __metadata: react-router-dom: "npm:6.3.0" react-scripts: "npm:5.0.1" rimraf: "npm:^6.1.3" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4561,7 +4561,7 @@ __metadata: react-native-web: "npm:^0.19.13" react-redux: "npm:^9.1.0" react-router: "npm:^7.0.1" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" vite: "npm:^7" vitest: "npm:^4" languageName: unknown @@ -4585,7 +4585,7 @@ __metadata: react-redux: "npm:^9.1.2" react-router-dom: "npm:6.3.0" react-scripts: "npm:5.0.1" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" whatwg-fetch: "npm:^3.4.1" languageName: unknown linkType: soft @@ -4610,7 +4610,7 @@ __metadata: react-router-dom: "npm:6.3.0" react-scripts: "npm:5.0.1" rimraf: "npm:^6.1.3" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4634,7 +4634,7 @@ __metadata: react-router-dom: "npm:6.3.0" react-scripts: "npm:5.0.1" rimraf: "npm:^6.1.3" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" uuid: "npm:^8.3.2" whatwg-fetch: "npm:^3.4.1" languageName: unknown @@ -4661,7 +4661,7 @@ __metadata: react-redux: "npm:^9.1.2" react-scripts: "npm:5.0.1" rimraf: "npm:^6.1.3" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4676,7 +4676,7 @@ __metadata: react-dom: "npm:^19.0.0" react-redux: "npm:^9.1.2" react-scripts: "npm:5.0.1" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4702,7 +4702,7 @@ __metadata: react-router-dom: "npm:6.3.0" react-scripts: "npm:5.0.1" rimraf: "npm:^6.1.3" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4728,7 +4728,7 @@ __metadata: react-router-dom: "npm:6.3.0" react-scripts: "npm:5.0.1" rimraf: "npm:^6.1.3" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4754,7 +4754,7 @@ __metadata: react-router-dom: "npm:6.3.0" react-scripts: "npm:5.0.1" rimraf: "npm:^6.1.3" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4769,7 +4769,7 @@ __metadata: react-dom: "npm:^19.0.0" react-redux: "npm:^9.1.2" react-scripts: "npm:5.0.1" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -4786,7 +4786,7 @@ __metadata: react-redux: "npm:^9.2.0" react-router-dom: "npm:^7.13.0" rimraf: "npm:^6.1.3" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" vite: "npm:^7.3.1" languageName: unknown linkType: soft @@ -4804,7 +4804,7 @@ __metadata: react-redux: "npm:^9.2.0" react-router-dom: "npm:^7.13.0" rimraf: "npm:^6.1.3" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" vite: "npm:^7.3.1" languageName: unknown linkType: soft @@ -4822,7 +4822,7 @@ __metadata: react-redux: "npm:^9.2.0" react-router-dom: "npm:^7.13.0" rimraf: "npm:^6.1.3" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" vite: "npm:^7.3.1" languageName: unknown linkType: soft @@ -7674,6 +7674,7 @@ __metadata: version: 0.0.0-use.local resolution: "@reduxjs/rtk-codemods@workspace:packages/rtk-codemods" dependencies: + "@reduxjs/toolkit": "workspace:^" "@types/jscodeshift": "npm:^0.11.11" "@types/node": "npm:^25.5.0" "@typescript-eslint/parser": "npm:^6.19.1" @@ -7686,7 +7687,7 @@ __metadata: jscodeshift: "npm:^0.15.1" prettier: "npm:^3.2.5" ts-node: "npm:^10.9.2" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" vitest: "npm:^4" bin: rtk-codemods: ./bin/cli.mjs @@ -7807,9 +7808,9 @@ __metadata: reselect: "npm:^5.1.0" rimraf: "npm:^6.1.3" size-limit: "npm:^11.0.1" - tsup: "npm:^8.4.0" + tsup: "npm:^8.5.1" tsx: "npm:^4.19.0" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" valibot: "npm:^1.0.0" vite-tsconfig-paths: "npm:^4.3.1" vitest: "npm:^4" @@ -8400,8 +8401,8 @@ __metadata: semver: "npm:^7.3.5" swagger2openapi: "npm:^7.0.4" ts-node: "npm:^10.9.2" - tsup: "npm:^8.4.0" - typescript: "npm:^5.9.3" + tsup: "npm:^8.5.1" + typescript: "npm:^6.0.3" vite-tsconfig-paths: "npm:^5.0.1" vitest: "npm:^4" yalc: "npm:^1.0.0-pre.47" @@ -8432,7 +8433,7 @@ __metadata: graphql-request: "npm:^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0" microbundle: "npm:^0.13.3" rimraf: "npm:^6.1.3" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" vitest: "npm:^4" peerDependencies: "@reduxjs/toolkit": ^1.7.1 || ^2.0.0 @@ -15157,7 +15158,9 @@ __metadata: resolution: "docs@workspace:docs" dependencies: "@manaflair/redux-batch": "npm:^1.0.0" + "@reduxjs/toolkit": "workspace:^" "@types/nanoid": "npm:^2.1.0" + "@types/node": "npm:^25.5.0" "@types/react": "npm:^19.0.1" async-mutex: "npm:^0.3.2" axios: "npm:^0.20.0" @@ -15168,6 +15171,7 @@ __metadata: next-redux-wrapper: "npm:^7.0.5" redux-persist: "npm:^6.0.0" rxjs: "npm:^6.6.2" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -29509,7 +29513,7 @@ __metadata: react-redux: "npm:^9.1.2" release-it: "npm:^14.12.5" serve: "npm:^14.2.0" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft @@ -31988,7 +31992,7 @@ __metadata: languageName: node linkType: hard -"tsup@npm:^8.4.0": +"tsup@npm:^8.5.1": version: 8.5.1 resolution: "tsup@npm:8.5.1" dependencies: @@ -32249,6 +32253,16 @@ __metadata: languageName: node linkType: hard +"typescript@npm:^6.0.3": + version: 6.0.3 + resolution: "typescript@npm:6.0.3" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10/0ef2357a4cffd916b52b683a021cdab0f81eea4e9aa35f2d254581c9a5106da02224e3392e1b0ed42b7a48f80c966e5f52b8e1a27941fa0523c1705a9c2e0330 + languageName: node + linkType: hard + "typescript@patch:typescript@npm%3A5.6.1-rc#optional!builtin": version: 5.6.1-rc resolution: "typescript@patch:typescript@npm%3A5.6.1-rc#optional!builtin::version=5.6.1-rc&hash=8c6c40" @@ -32279,6 +32293,16 @@ __metadata: languageName: node linkType: hard +"typescript@patch:typescript@npm%3A^6.0.3#optional!builtin": + version: 6.0.3 + resolution: "typescript@patch:typescript@npm%3A6.0.3#optional!builtin::version=6.0.3&hash=8c6c40" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10/a7487148ae5bae463e49e22f885e77e53a45bab250f02140dad35d4850d0afa422af5a5e69fd5102dc771421eaf8dc5507b35a55cb3e0422cde72ad47765206b + languageName: node + linkType: hard + "ua-parser-js@npm:^1.0.35": version: 1.0.41 resolution: "ua-parser-js@npm:1.0.41" @@ -33516,7 +33540,7 @@ __metadata: react-dom: "npm:^19.0.0" react-lite-youtube-embed: "npm:^2.0.3" remark-typescript-tools: "npm:2.0.0-alpha.1" - typescript: "npm:^5.9.3" + typescript: "npm:^6.0.3" languageName: unknown linkType: soft