Files
o11y/frontend/package.json
zeekay 115e5060ac every Hanzo dependency is the version npm serves
Ranges drift once nothing moves them: a caret that has not been rewritten
since it was written pins whatever was current that day, and an exact pin
cannot even take a patch. Both are updated here.

One line per package, so a surface reads the same components, the same
tokens and the same face as every other one.
2026-09-02 02:08:37 -07:00

273 lines
9.0 KiB
JSON

{
"name": "o11y-frontend",
"private": true,
"version": "1.0.0",
"description": "Hanzo o11y frontend \u2014 unified observability for metrics, traces, and logs.",
"type": "module",
"packageManager": "[email protected]",
"scripts": {
"preinstall": "npx only-allow pnpm",
"i18n:generate-hash": "node ./i18-generate-hash.cjs",
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"prettify": "oxfmt",
"fmt": "oxfmt --check",
"lint": "oxlint ./src && stylelint \"src/**/*.scss\"",
"lint:js": "oxlint ./src",
"lint:generated": "oxlint ./src/api/generated --fix",
"lint:fix": "oxlint ./src --fix",
"lint:styles": "stylelint \"src/**/*.scss\"",
"jest": "jest",
"jest:coverage": "jest --coverage",
"jest:watch": "jest --watch",
"postinstall": "pnpm i18n:generate-hash && (is-ci || pnpm husky:configure) && node scripts/update-registry.cjs",
"husky:configure": "cd .. && husky install frontend/.husky && cd frontend && chmod ug+x .husky/*",
"commitlint": "commitlint --edit $1",
"test": "jest",
"test:changedsince": "jest --changedSince=main --coverage --silent",
"generate:api": "orval --config ./orval.config.ts && sh scripts/post-types-generation.sh",
"generate:config:web-settings": "json2ts ../docs/config/web-settings.json -o src/types/generated/webSettings.ts --style.useTabs --style.tabWidth=1 --style.singleQuote --bannerComment '/* AUTO GENERATED FILE - DO NOT EDIT - GENERATED FROM docs/config/web-settings.json */'"
},
"engines": {
"node": ">=22.0.0",
"pnpm": ">=10.0.0 <11.0.0"
},
"author": "",
"license": "ISC",
"dependencies": {
"@ant-design/colors": "catalog:",
"@ant-design/v5-patch-for-react-19": "catalog:",
"@codemirror/autocomplete": "catalog:",
"@codemirror/lang-javascript": "catalog:",
"@codemirror/state": "catalog:",
"@codemirror/view": "catalog:",
"@dnd-kit/core": "catalog:",
"@dnd-kit/modifiers": "catalog:",
"@dnd-kit/sortable": "catalog:",
"@dnd-kit/utilities": "catalog:",
"@grafana/data": "catalog:",
"@hanzo/font": "catalog:",
"@hanzo/gui": "catalog:",
"@hanzo/insights": "catalog:",
"@hanzo/ui": "catalog:",
"@monaco-editor/react": "catalog:",
"@radix-ui/react-dialog": "catalog:",
"@radix-ui/react-dropdown-menu": "catalog:",
"@radix-ui/react-popover": "catalog:",
"@radix-ui/react-select": "catalog:",
"@radix-ui/react-tooltip": "catalog:",
"@sentry/react": "catalog:",
"@sentry/vite-plugin": "catalog:",
"@tanstack/react-table": "catalog:",
"@tanstack/react-virtual": "catalog:",
"@uiw/codemirror-theme-copilot": "catalog:",
"@uiw/codemirror-theme-github": "catalog:",
"@uiw/react-codemirror": "catalog:",
"@visx/group": "catalog:",
"@visx/hierarchy": "catalog:",
"@visx/shape": "catalog:",
"@visx/tooltip": "catalog:",
"@visx/vendor": "catalog:",
"@vitejs/plugin-react": "catalog:",
"ansi-to-html": "catalog:",
"antd": "catalog:",
"antd-table-saveas-excel": "catalog:",
"antlr4": "catalog:",
"axios": "catalog:",
"babel-jest": "catalog:",
"chart.js": "catalog:",
"chartjs-adapter-date-fns": "catalog:",
"chartjs-plugin-annotation": "catalog:",
"classnames": "catalog:",
"clsx": "catalog:",
"cmdk": "catalog:",
"color": "catalog:",
"crypto-js": "catalog:",
"d3-hierarchy": "catalog:",
"dayjs": "catalog:",
"dompurify": "catalog:",
"event-source-polyfill": "catalog:",
"eventemitter3": "catalog:",
"history": "catalog:",
"http-proxy-middleware": "catalog:",
"http-status-codes": "catalog:",
"i18next": "catalog:",
"i18next-browser-languagedetector": "catalog:",
"i18next-http-backend": "catalog:",
"immer": "catalog:",
"jest": "catalog:",
"js-base64": "catalog:",
"lodash-es": "catalog:",
"lucide-react": "catalog:",
"monaco-editor": "catalog:",
"motion": "catalog:",
"nuqs": "catalog:",
"overlayscrollbars": "catalog:",
"overlayscrollbars-react": "catalog:",
"papaparse": "catalog:",
"prop-types": "catalog:",
"rc-tween-one": "catalog:",
"react": "catalog:",
"react-addons-update": "catalog:",
"react-day-picker": "catalog:",
"react-dnd": "catalog:",
"react-dnd-html5-backend": "catalog:",
"react-dom": "catalog:",
"react-drag-listview": "catalog:",
"react-force-graph-2d": "catalog:",
"react-full-screen": "catalog:",
"react-grid-layout": "catalog:",
"react-helmet-async": "catalog:",
"react-hook-form": "catalog:",
"react-i18next": "catalog:",
"react-json-tree": "catalog:",
"react-markdown": "catalog:",
"react-native-svg": "npm:[email protected]",
"react-native-web": "catalog:",
"react-query": "catalog:",
"react-redux": "catalog:",
"react-resizable-panels": "catalog:",
"react-rnd": "catalog:",
"react-router-dom": "catalog:",
"react-router-dom-v5-compat": "catalog:",
"react-syntax-highlighter": "catalog:",
"react-use": "catalog:",
"react-virtuoso": "catalog:",
"redux": "catalog:",
"redux-thunk": "catalog:",
"rehype-raw": "catalog:",
"remark-gfm": "catalog:",
"rollup-plugin-visualizer": "catalog:",
"rrule": "catalog:",
"sonner": "catalog:",
"styled-components": "catalog:",
"timestamp-nano": "catalog:",
"uplot": "catalog:",
"uuid": "catalog:",
"vaul": "catalog:",
"vite": "npm:[email protected]",
"vite-plugin-html": "catalog:",
"zod": "catalog:",
"zustand": "catalog:"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "catalog:",
"@babel/plugin-proposal-class-properties": "catalog:",
"@babel/preset-env": "catalog:",
"@babel/preset-react": "catalog:",
"@babel/preset-typescript": "catalog:",
"@commitlint/cli": "catalog:",
"@commitlint/config-conventional": "catalog:",
"@jest/globals": "catalog:",
"@jest/types": "catalog:",
"@testing-library/jest-dom": "catalog:",
"@testing-library/react": "catalog:",
"@testing-library/user-event": "catalog:",
"@types/color": "catalog:",
"@types/crypto-js": "catalog:",
"@types/d3-hierarchy": "catalog:",
"@types/event-source-polyfill": "catalog:",
"@types/history": "catalog:",
"@types/jest": "catalog:",
"@types/lodash-es": "catalog:",
"@types/node": "catalog:",
"@types/papaparse": "catalog:",
"@types/react": "catalog:",
"@types/react-addons-update": "catalog:",
"@types/react-dom": "catalog:",
"@types/react-grid-layout": "catalog:",
"@types/react-resizable": "catalog:",
"@types/react-router-dom": "catalog:",
"@types/react-syntax-highlighter": "catalog:",
"@types/redux-mock-store": "catalog:",
"@types/styled-components": "catalog:",
"@types/testing-library__jest-dom": "catalog:",
"@types/uuid": "catalog:",
"eslint": "catalog:",
"eslint-plugin-sonarjs": "catalog:",
"glob": "catalog:",
"husky": "catalog:",
"is-ci": "catalog:",
"jest-environment-jsdom": "catalog:",
"jest-styled-components": "catalog:",
"json-schema-to-typescript": "catalog:",
"lint-staged": "catalog:",
"msw": "catalog:",
"orval": "catalog:",
"oxfmt": "catalog:",
"oxlint": "catalog:",
"oxlint-tsgolint": "catalog:",
"postcss": "catalog:",
"postcss-scss": "catalog:",
"react-resizable": "catalog:",
"redux-mock-store": "catalog:",
"sass": "catalog:",
"sharp": "catalog:",
"stylelint": "catalog:",
"svgo": "catalog:",
"typescript": "catalog:",
"typescript-plugin-css-modules": "catalog:",
"use-sync-external-store": "catalog:",
"vite-plugin-checker": "catalog:",
"vite-plugin-compression": "catalog:",
"vite-plugin-image-optimizer": "catalog:",
"vite-tsconfig-paths": "catalog:"
},
"lint-staged": {
"*.(js|jsx|ts|tsx)": [
"sh -c 'tsc --noEmit'"
],
"*.(js|jsx|ts|tsx|scss|css)": [
"oxlint --fix --quiet --no-error-on-unmatched-pattern",
"oxfmt --write"
],
"*.(scss|css)": [
"stylelint"
]
},
"pnpm": {
"overrides": {
"@types/react": "19.2.18",
"@types/react-dom": "19.2.5",
"debug": "4.3.4",
"semver": "7.5.4",
"xml2js": "0.5.0",
"phin": "^3.7.1",
"body-parser": "1.20.3",
"http-proxy-middleware": "3.0.5",
"cross-spawn": "7.0.5",
"cookie": "^0.7.1",
"serialize-javascript": "6.0.2",
"prismjs": "1.30.0",
"got": "11.8.5",
"form-data": "4.0.4",
"brace-expansion": "^2.0.2",
"on-headers": "^1.1.0",
"tmp": "0.2.4",
"vite": "npm:[email protected]",
"ua-parser-js": "^2.0.10"
},
"peerDependencyRules": {
"allowedVersions": {
"react-query>react": "19",
"react-query>react-dom": "19",
"@grafana/data>react": "19",
"@grafana/data>react-dom": "19"
}
}
}
}