Skip to content

Commit

Permalink
bump to 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandawg93 committed Dec 5, 2024
1 parent 3142d0b commit 63daf1f
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 37 deletions.
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
import reactPlugin from 'eslint-plugin-react'
import prettier from 'eslint-plugin-prettier'
import nextPlugin from '@next/eslint-plugin-next'
import pluginQuery from '@tanstack/eslint-plugin-query'

export default [
{
Expand All @@ -29,6 +30,7 @@ export default [
},
{ languageOptions: { parserOptions: { ecmaFeatures: { jsx: true } } } },
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
...pluginQuery.configs['flat/recommended'],
pluginJs.configs.recommended,
...tseslint.configs.recommended,
...fixupConfigRules(pluginReactConfig),
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "peanut",
"version": "4.0.2",
"version": "4.1.0",
"private": true,
"scripts": {
"clean": "rm -rf .next .swc coverage test-results",
Expand Down Expand Up @@ -33,10 +33,10 @@
"@influxdata/influxdb-client": "^1.35.0",
"@influxdata/influxdb-client-apis": "^1.35.0",
"@material-tailwind/react": "^2.1.10",
"@tanstack/react-query": "^5.62.0",
"chart.js": "^4.4.6",
"@tanstack/react-query": "^5.62.2",
"chart.js": "^4.4.7",
"chartjs-plugin-annotation": "^3.1.0",
"i18next": "^24.0.2",
"i18next": "^24.0.5",
"i18next-browser-languagedetector": "^8.0.0",
"i18next-resources-to-backend": "^1.2.1",
"js-yaml": "^4.1.0",
Expand All @@ -56,6 +56,7 @@
"@next/bundle-analyzer": "^15.0.3",
"@next/eslint-plugin-next": "^15.0.3",
"@playwright/test": "^1.49.0",
"@tanstack/eslint-plugin-query": "^5.62.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
Expand Down
80 changes: 48 additions & 32 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/client/components/grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function NutGrid(props: Props) {
const [edit, setEdit] = useState<number>(-1)
const ref = useRef<any>(null)
const { data: descriptions } = useQuery({
queryKey: ['deviceDescriptions'],
queryKey: ['deviceDescriptions', data.name, data.vars],
queryFn: () => getAllVarDescriptions(data.name, Object.keys(data.vars)),
})

Expand Down

0 comments on commit 63daf1f

Please sign in to comment.