cra-template-demplate
Advanced tools
Comparing version 0.2.6 to 0.3.0
{ | ||
"name": "cra-template-demplate", | ||
"version": "0.2.6", | ||
"version": "0.3.0", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "react", |
@@ -5,26 +5,26 @@ { | ||
"@testing-library/jest-dom": "^5.16.5", | ||
"@testing-library/react": "^13.3.0", | ||
"@testing-library/react": "^14.0.0", | ||
"@testing-library/user-event": "^14.4.3", | ||
"@types/jest": "^29.0.0", | ||
"@types/node": "^18.7.14", | ||
"@types/react": "^18.0.17", | ||
"@types/react-dom": "^18.0.6", | ||
"typescript": "^4.8.2", | ||
"web-vitals": "^3.0.0", | ||
"zustand": "^4.1.1", | ||
"antd": "^4.22.8", | ||
"react-router-dom": "^6.3.0", | ||
"styled-components": "^5.3.5", | ||
"@types/jest": "^29.5.1", | ||
"@types/node": "^18.16.3", | ||
"@types/react": "^18.2.3", | ||
"@types/react-dom": "^18.2.3", | ||
"@types/styled-components": "^5.1.26", | ||
"antd": "^5.4.6", | ||
"react-intl": "^6.4.2", | ||
"react-router-dom": "^6.11.1", | ||
"styled-components": "^5.3.10", | ||
"stylis-rtlcss": "^2.1.1", | ||
"react-intl": "^6.1.0", | ||
"@types/styled-components": "^5.1.26" | ||
"typescript": "^5.0.4", | ||
"web-vitals": "^3.3.1", | ||
"zustand": "^4.3.7" | ||
}, | ||
"devDependencies": { | ||
"babel-plugin-styled-components": "^2.1.1", | ||
"customize-cra": "^1.0.0", | ||
"demplate-addons": "latest", | ||
"javascript-obfuscator": "^4.0.2", | ||
"path-browserify": "^1.0.1", | ||
"react-app-rewired": "^2.2.1", | ||
"customize-cra": "^1.0.0", | ||
"babel-plugin-styled-components": "^2.0.7", | ||
"webpack-obfuscator": "^3.5.1", | ||
"javascript-obfuscator": "^4.0.0" | ||
"webpack-obfuscator": "^3.5.1" | ||
}, | ||
@@ -31,0 +31,0 @@ "scripts": { |
@@ -1,2 +0,2 @@ | ||
import create, {GetState, SetState, StateCreator, StoreApi} from 'zustand'; | ||
import {create, StateCreator} from 'zustand'; | ||
import {log} from '@/utils/index'; | ||
@@ -12,6 +12,6 @@ | ||
export const logMiddleware = <T extends {}>(config: StateCreator<T>) => ( | ||
set: SetState<T>, | ||
get: GetState<T>, | ||
store: StoreApi<T> | ||
export const logMiddleware: Middleware<any> = (config) => ( | ||
set, | ||
get, | ||
store | ||
) => config(args => { | ||
@@ -18,0 +18,0 @@ log(' applying', args); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
55891
43
966