mirror of
https://github.com/hanzoai/insights.git
synced 2026-10-30 16:15:31 +00:00
A version written into a manifest is written into every manifest that wants the package, and the copies drift. The catalog moves the number out of the manifest: a manifest names the package, the workspace names the version. Only names that already resolve to exactly one version move, so nothing installs differently -- 1424 resolutions are unchanged. Three kinds stay where they are: a name used at two specifiers, because the catalog would pick a winner; a name an override already decides, because pnpm records the overridden specifier; and a name whose one specifier resolved to two versions, because one entry would unify them.
129 lines
7.3 KiB
JSON
129 lines
7.3 KiB
JSON
{
|
|
"name": "@hanzo/root",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "",
|
|
"homepage": "https://github.com/hanzoai/insights#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/hanzoai/insights/issues"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Insights Inc.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/hanzoai/insights.git"
|
|
},
|
|
"browser": {
|
|
"path": "path-browserify"
|
|
},
|
|
"scripts": {
|
|
"prepare": "husky install",
|
|
"schema:build": "bin/insightscli build:schema",
|
|
"openapi:build": "bin/insightscli build:openapi",
|
|
"schema:build:python": "bash bin/build-schema-python.sh",
|
|
"taxonomy:build": "pnpm run taxonomy:build:json",
|
|
"taxonomy:build:json": "python bin/build-taxonomy-json.py",
|
|
"grammar:build": "pnpm grammar:build:cpp",
|
|
"grammar:build:cpp": "cd insights/insightsql/grammar && cat InsightsQLLexer.cpp.g4 > InsightsQLLexer.g4 && tail -n +2 InsightsQLLexer.common.g4 >> InsightsQLLexer.g4 && antlr -o ../../../common/insightsql_parser -Dlanguage=Cpp InsightsQLLexer.g4 && rm InsightsQLLexer.g4 && antlr -o ../../../common/insightsql_parser -visitor -no-listener -Dlanguage=Cpp InsightsQLParser.g4",
|
|
"build:products": "pnpm --filter=@hanzo/frontend run build:products",
|
|
"generate:source-configs": "DEBUG=1 python manage.py generate_source_configs",
|
|
"// DEPRECATED - use insightscli migrations:run instead": "",
|
|
"dev:migrate:postgres": "export DEBUG=1 && source env/bin/activate && python manage.py migrate",
|
|
"// DEPRECATED - use insightscli migrations:run instead ": "",
|
|
"dev:migrate:datastore": "export DEBUG=1 && source env/bin/activate && python manage.py migrate_datastore",
|
|
"// DEPRECATED - use insightscli format:python instead": "",
|
|
"format:backend": "./bin/ruff.sh format .",
|
|
"// DEPRECATED - use insightscli format:js instead": "",
|
|
"format:frontend": "oxfmt \"{products,frontend/src,docs}/**/*.{js,mjs,ts,tsx,json,yaml,yml,css,scss}\"",
|
|
"format:frontend:check": "oxfmt --check \"{products,frontend/src,docs}/**/*.{js,mjs,ts,tsx,json,yaml,yml,css,scss}\"",
|
|
"// DEPRECATED - use insightscli format instead": "",
|
|
"format": "pnpm format:backend && pnpm format:frontend",
|
|
"cleandep": "rm -rf node_modules && pnpm -r exec rm -rf node_modules",
|
|
"storybook": "pnpm turbo --filter=@hanzo/storybook start",
|
|
"quill:dev": "pnpm --filter=@hanzo/quill-workspace dev",
|
|
"quill:build": "pnpm --filter='@hanzo/quill...' --filter='@hanzo/quill-charts...' build",
|
|
"quill:storybook": "pnpm --filter=@hanzo/quill-workspace storybook",
|
|
"quill:publish": "pnpm quill:build && pnpm --filter @hanzo/quill-tokens publish --tag alpha --no-git-checks && pnpm --filter @hanzo/quill publish --tag alpha --no-git-checks && pnpm --filter @hanzo/quill-charts publish --tag alpha --no-git-checks",
|
|
"// DEPRECATED - use insightscli start instead": "",
|
|
"start": "./bin/start",
|
|
"postinstall": "git config --get blame.ignoreRevsFile > /dev/null 2>&1 || git config blame.ignoreRevsFile .git-blame-ignore-revs > /dev/null 2>&1 || true; [ ! -f bin/fix-rdkafka-paths ] || bin/fix-rdkafka-paths",
|
|
"lint": "pnpm lint:js && pnpm lint:css",
|
|
"lint:js": "oxlint --quiet",
|
|
"lint:css": "stylelint \"(frontend|products)/**/*.{css,scss}\" --ignore-pattern \"products/desktop/**\"",
|
|
"test:unit": "pnpm --filter=@hanzo/frontend test"
|
|
},
|
|
"dependencies": {
|
|
"concurrently": "catalog:",
|
|
"fuse.js": "catalog:",
|
|
"husky": "catalog:",
|
|
"lint-staged": "catalog:",
|
|
"uuid": "catalog:",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@parcel/packager-ts": "catalog:",
|
|
"@parcel/transformer-typescript-types": "catalog:",
|
|
"@playwright/test": "catalog:",
|
|
"@tailwindcss/postcss": "4.3.0",
|
|
"@typescript/native-preview": "catalog:",
|
|
"autoprefixer": "^10.4.13",
|
|
"cssnano": "catalog:",
|
|
"markdownlint-cli2": "catalog:",
|
|
"oxfmt": "catalog:",
|
|
"oxlint": "catalog:",
|
|
"playwright": "catalog:",
|
|
"postcss": "catalog:",
|
|
"postcss-preset-env": "catalog:",
|
|
"stylelint": "^15.11.0",
|
|
"stylelint-config-recess-order": "catalog:",
|
|
"stylelint-config-standard-scss": "catalog:",
|
|
"stylelint-order": "catalog:",
|
|
"syncpack": "catalog:",
|
|
"turbo": "catalog:"
|
|
},
|
|
"optionalDependencies": {
|
|
"fsevents": "^2.3.3"
|
|
},
|
|
"lint-staged": {
|
|
".claude/settings.json": "sh -c 'printf \"\\n\\033[31mDo not commit .claude/settings.json — personal permissions belong in .claude/settings.local.json (gitignored).\\nUnstage with: git restore --staged .claude/settings.json\\033[0m\\n\\n\" >&2 && exit 1'",
|
|
".claude/hooks/**": "sh -c 'printf \"\\n\\033[33mWarning: hooks in .claude/ are reserved for env bootstrapping (SessionStart only).\\nPrefer skills, AGENTS.md instructions, or lint-staged rules. See Agent automation in AGENTS.md.\\033[0m\\n\\n\"'",
|
|
"**/{AGENTS,CLAUDE}.md": "sh -c '.github/scripts/check-agents-md-symlinks.sh'",
|
|
"packages/quill/packages/*/src/**/*.{ts,tsx,css}": "sh -c 'git diff --cached --name-only | grep -q \"^packages/quill/.*AGENTS\\\\.md$\" || printf \"\\n\\033[33mWarning: quill component sources changed without an AGENTS.md update.\\nIf variants, composition, or spacing changed, update the consumer guide (packages/quill/packages/<pkg>/AGENTS.md) in the same PR.\\033[0m\\n\\n\"'",
|
|
"frontend/public/services/*.{png,jpg,jpeg,gif}": "node frontend/bin/check-service-icon-size.mjs",
|
|
"products/**/manifest.tsx": [
|
|
"bin/insightscli format:js",
|
|
"sh -c 'pnpm build:products && git add frontend/src/products.tsx frontend/src/productScenes.tsx frontend/src/products.json'"
|
|
],
|
|
"!(**/.sqlx/**|products/review/backend/reviewer/prompts/*/schema.json|**/chart/*/templates/**|products/metrics/agent/tests/**/golden/**)*.{json,yaml,yml}": "bin/insightscli format:yaml",
|
|
"*.{css,scss}": "bin/insightscli format:css",
|
|
"frontend/src/lib/constants.tsx": [
|
|
"bin/insightscli lint:feature-flags:fix",
|
|
"bin/insightscli format:js"
|
|
],
|
|
"{playwright,frontend,products,common,ee,services,docs}/**/*.{js,jsx,mjs,mts,ts,tsx}": "bin/insightscli format:js",
|
|
"products/desktop/**/*.{js,mjs,ts,tsx,json,jsonc,css}": "pnpm --dir products/desktop exec biome check --write --no-errors-on-unmatched --files-ignore-unknown=true",
|
|
"nodejs/**/*.{js,jsx,mjs,mts,ts,tsx}": "bin/insightscli format:nodejs",
|
|
"funnel-udf/**/*.rs": "bin/insightscli format:rust",
|
|
"!(insights/insightsql/grammar/*|insights/personinsights_client/proto/generated/*|products/*/skills/*/scripts/*)*.{py,pyi}": [
|
|
"bin/insightscli lint:python:fix",
|
|
"bin/insightscli format:python",
|
|
"uv run --no-sync ty check"
|
|
],
|
|
"*.{md,mdx}": "bin/insightscli format:markdown"
|
|
},
|
|
"browserslist": {
|
|
"development": [
|
|
"last 2 chrome versions",
|
|
"last 2 firefox versions",
|
|
"last 2 edge versions"
|
|
],
|
|
"production": [
|
|
"defaults and not op_mini all"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=24 <25"
|
|
},
|
|
"packageManager": "[email protected]"
|
|
}
|