Skip to content

build(deps): bump @reduxjs/toolkit from 1.9.7 to 2.2.1 #781

build(deps): bump @reduxjs/toolkit from 1.9.7 to 2.2.1

build(deps): bump @reduxjs/toolkit from 1.9.7 to 2.2.1 #781

Triggered via pull request February 19, 2024 23:11
Status Failure
Total duration 38s
Artifacts

build.yml

on: pull_request
update-mobile  /  update-web
update-mobile / update-web
update-web  /  update-web
update-web / update-web
deploy-mobile
0s
deploy-mobile
Fit to window
Zoom out
Zoom in

Annotations

15 errors
lint: src/store/store.ts#L26
Cannot find module '@reduxjs/toolkit/dist/configureStore' or its corresponding type declarations.
lint: src/store/store.ts#L37
Spread types may only be created from object types.
lint: src/store/store.ts#L38
'action' is of type 'unknown'.
lint: src/store/store.ts#L67
Type '(getDefaultMiddleware: import("/home/runner/work/terraso-client-shared/terraso-client-shared/node_modules/@reduxjs/toolkit/dist/getDefaultMiddleware").GetDefaultMiddleware<{ account: { currentUser: { fetching: boolean; data: import("/home/runner/work/terraso-client-shared/terraso-client-shared/src/account/accountSli...' is not assignable to type '(getDefaultMiddleware: import("/home/runner/work/terraso-client-shared/terraso-client-shared/node_modules/@reduxjs/toolkit/dist/getDefaultMiddleware").GetDefaultMiddleware<{ account: { currentUser: { fetching: boolean; data: import("/home/runner/work/terraso-client-shared/terraso-client-shared/src/account/accountSli...'. Two different types with this name exist, but they are unrelated.
lint: src/store/store.ts#L69
Type '{ account: Reducer<{ currentUser: { fetching: boolean; data: User | null; }; profile: { fetching: boolean; data: User | null; }; login: { urls: {}; fetching: boolean; }; hasToken: boolean; preferences: { ...; }; unsubscribe: { ...; }; users: Record<...>; }>; notifications: Reducer<...>; site: Reducer<...>; project: ...' is not assignable to type 'Reducer<{ account: { currentUser: { fetching: boolean; data: User | null; }; profile: { fetching: boolean; data: User | null; }; login: { urls: {}; fetching: boolean; }; hasToken: boolean; preferences: { ...; }; unsubscribe: { ...; }; users: Record<...>; }; notifications: { ...; }; site: { ...; }; project: { ...; };...'.
lint: src/store/utils.ts#L25
Cannot find module '@reduxjs/toolkit/dist/createAsyncThunk' or its corresponding type declarations.
lint
Process completed with exit code 2.
build: src/store/store.ts#L26
Cannot find module '@reduxjs/toolkit/dist/configureStore' or its corresponding type declarations.
build: src/store/store.ts#L37
Spread types may only be created from object types.
build: src/store/store.ts#L38
'action' is of type 'unknown'.
build: src/store/store.ts#L67
Type '(getDefaultMiddleware: import("/home/runner/work/terraso-client-shared/terraso-client-shared/node_modules/@reduxjs/toolkit/dist/getDefaultMiddleware").GetDefaultMiddleware<{ account: { currentUser: { fetching: boolean; data: import("/home/runner/work/terraso-client-shared/terraso-client-shared/src/account/accountSli...' is not assignable to type '(getDefaultMiddleware: import("/home/runner/work/terraso-client-shared/terraso-client-shared/node_modules/@reduxjs/toolkit/dist/getDefaultMiddleware").GetDefaultMiddleware<{ account: { currentUser: { fetching: boolean; data: import("/home/runner/work/terraso-client-shared/terraso-client-shared/src/account/accountSli...'. Two different types with this name exist, but they are unrelated.
build: src/store/store.ts#L69
Type '{ account: Reducer<{ currentUser: { fetching: boolean; data: User | null; }; profile: { fetching: boolean; data: User | null; }; login: { urls: {}; fetching: boolean; }; hasToken: boolean; preferences: { ...; }; unsubscribe: { ...; }; users: Record<...>; }>; notifications: Reducer<...>; site: Reducer<...>; project: ...' is not assignable to type 'Reducer<{ account: { currentUser: { fetching: boolean; data: User | null; }; profile: { fetching: boolean; data: User | null; }; login: { urls: {}; fetching: boolean; }; hasToken: boolean; preferences: { ...; }; unsubscribe: { ...; }; users: Record<...>; }; notifications: { ...; }; site: { ...; }; project: { ...; };...'.
build: src/store/utils.ts#L25
Cannot find module '@reduxjs/toolkit/dist/createAsyncThunk' or its corresponding type declarations.
build
Process completed with exit code 2.
tests
Process completed with exit code 1.