forked from mirrors/thatmattlove-hyperglass
migrate ui to pnpm
This commit is contained in:
parent
cbaf102015
commit
0397605fc6
4 changed files with 8479 additions and 8084 deletions
|
|
@ -16,8 +16,8 @@ const queryClient = new QueryClient();
|
|||
|
||||
export const HyperglassProvider = (props: HyperglassProviderProps): JSX.Element => {
|
||||
const { config, children } = props;
|
||||
const value = useMemo(() => config, []);
|
||||
const theme = useMemo(() => makeTheme(value.web.theme, value.web.theme.defaultColorMode), []);
|
||||
const value = useMemo(() => config, []); // eslint-disable-line react-hooks/exhaustive-deps
|
||||
const theme = useMemo(() => makeTheme(value.web.theme, value.web.theme.defaultColorMode), []); // eslint-disable-line react-hooks/exhaustive-deps
|
||||
|
||||
return (
|
||||
<HyperglassContext.Provider value={value}>
|
||||
|
|
|
|||
11
hyperglass/ui/package.json
vendored
11
hyperglass/ui/package.json
vendored
|
|
@ -18,6 +18,9 @@
|
|||
"browserslist": "> 0.25%, not dead",
|
||||
"dependencies": {
|
||||
"@chakra-ui/react": "^2.5.5",
|
||||
"@chakra-ui/theme": "3.0.1",
|
||||
"@chakra-ui/theme-tools": "^2.0.17",
|
||||
"@chakra-ui/utils": "^2.0.15",
|
||||
"@emotion/react": "^11.10.6",
|
||||
"@emotion/styled": "^11.10.6",
|
||||
"@hookform/devtools": "^4.3.0",
|
||||
|
|
@ -32,22 +35,22 @@
|
|||
"palette-by-numbers": "^0.1.6",
|
||||
"plur": "^4.0.0",
|
||||
"react": "^18.2.0",
|
||||
"react-countdown": "^2.2.1",
|
||||
"react-countdown": "^2.3.0",
|
||||
"react-device-detect": "^1.15.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-fast-compare": "^3.2.0",
|
||||
"react-fast-compare": "^3.2.1",
|
||||
"react-flow-renderer": "^10.3.17",
|
||||
"react-hook-form": "^7.42.1",
|
||||
"react-icons": "^4.3.1",
|
||||
"react-if": "^4.1.4",
|
||||
"react-markdown": "^5.0.3",
|
||||
"react-select": "^5.7.0",
|
||||
"react-string-replace": "^v0.5.0",
|
||||
"react-string-replace": "^0.5.0",
|
||||
"react-table": "^7.7.0",
|
||||
"remark-gfm": "^1.0.0",
|
||||
"string-format": "^2.0.0",
|
||||
"vest": "^3.2.8",
|
||||
"zustand": "^3.6.6"
|
||||
"zustand": "^3.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/jest-dom": "^5.16.5",
|
||||
|
|
|
|||
8470
hyperglass/ui/pnpm-lock.yaml
generated
Normal file
8470
hyperglass/ui/pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load diff
8078
hyperglass/ui/yarn.lock
vendored
8078
hyperglass/ui/yarn.lock
vendored
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue