mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-07 21:04:26 +08:00
- Added new SQL migrations for Clickhouse to support spans and events, including new columns and views. - Implemented validation for analytics events and spans, ensuring proper structure and data integrity. - Introduced new API endpoints for uploading analytics spans and events, improving data collection capabilities. - Updated existing analytics event handling to accommodate new fields and ensure compatibility with the updated database schema. - Added tests for analytics event insertion and validation to ensure reliability and correctness. These changes improve the analytics framework, enabling better tracking and analysis of user interactions.
173 lines
5.7 KiB
JSON
173 lines
5.7 KiB
JSON
{
|
|
"//": "IF_PLATFORM template",
|
|
"name": "@stackframe/template",
|
|
"//": "ELSE_IF_PLATFORM js",
|
|
"name": "@stackframe/js",
|
|
"//": "ELSE_IF_PLATFORM next",
|
|
"name": "@stackframe/stack",
|
|
"//": "ELSE_IF_PLATFORM react",
|
|
"name": "@stackframe/react",
|
|
"//": "END_PLATFORM",
|
|
|
|
"//": "NEXT_LINE_PLATFORM template",
|
|
"private": true,
|
|
"version": "2.8.77",
|
|
"repository": "https://github.com/stack-auth/stack-auth",
|
|
"sideEffects": false,
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": {
|
|
"default": "./dist/esm/index.js"
|
|
},
|
|
"require": {
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"./convex.config": {
|
|
"types": "./dist/integrations/convex/component/convex.config.d.ts",
|
|
"import": {
|
|
"default": "./dist/esm/integrations/convex/component/convex.config.js"
|
|
},
|
|
"require": {
|
|
"default": "./dist/integrations/convex/component/convex.config.js"
|
|
}
|
|
},
|
|
"./convex-auth.config": {
|
|
"types": "./dist/integrations/convex.d.ts",
|
|
"import": {
|
|
"default": "./dist/esm/integrations/convex.js"
|
|
},
|
|
"require": {
|
|
"default": "./dist/integrations/convex.js"
|
|
}
|
|
}
|
|
},
|
|
"homepage": "https://stack-auth.com",
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "rimraf dist && rimraf node_modules",
|
|
"lint": "eslint --ext .tsx,.ts .",
|
|
|
|
"//": "IF_PLATFORM template react-like",
|
|
"build": "rimraf dist && pnpm run css && tsdown",
|
|
"dev": "rimraf dist && concurrently -n \"build,codegen\" -k \"tsdown --watch\" \"pnpm run codegen:watch\"",
|
|
"codegen": "pnpm run css",
|
|
"codegen:watch": "pnpm run css:watch"
|
|
,"//": "ELSE_PLATFORM",
|
|
"build": "rimraf dist && tsdown",
|
|
"dev": "rimraf dist && tsdown --watch"
|
|
,"//": "END_PLATFORM",
|
|
|
|
"//": "IF_PLATFORM template react-like"
|
|
,"css": "pnpm run css-tw && pnpm run css-sc",
|
|
"css:watch": "concurrently -n \"tw,sc\" -k \"pnpm run css-tw:watch\" \"pnpm run css-sc:watch\"",
|
|
"css-tw:watch": "tailwindcss -i ./src/global.css -o ./src/generated/tailwind.css --watch",
|
|
"css-tw": "tailwindcss -i ./src/global.css -o ./src/generated/tailwind.css",
|
|
"css-sc": "tsx ./scripts/process-css.ts ./src/generated/tailwind.css ./src/generated/global-css.ts",
|
|
"css-sc:watch": "chokidar --silent './src/generated/tailwind.css' -c 'pnpm run css-sc' --throttle 2000"
|
|
,"//": "END_PLATFORM",
|
|
|
|
"//": "IF_PLATFORM template"
|
|
,"codegen": "pnpm run css",
|
|
"codegen:watch": "concurrently -n \"css\" -k \"pnpm run css:watch\"",
|
|
"override-env-local-for-quetzal": "echo \"\\n$STACK_ENV_LOCAL_PACKAGE_BUILD_OVERRIDE_FOR_QUETZAL\\n\" >> .env.local",
|
|
"quetzal": "rimraf quetzal-translations && pnpm run override-env-local-for-quetzal && quetzal-process-translations && tsx ./scripts/merge-quetzal-translations.ts",
|
|
"quetzal:ignore-errors": "pnpm run quetzal || echo Quetzal failed, probably because the API key is missing. We will just ignore it",
|
|
"quetzal:watch": "chokidar --silent \"src/**/*\" -i \"src/generated/quetzal-translations.ts\" -c 'pnpm run quetzal:ignore-errors' --throttle 2000"
|
|
,"//": "END_PLATFORM"
|
|
},
|
|
"files": [
|
|
"README.md",
|
|
"dist",
|
|
"CHANGELOG.md",
|
|
"LICENSE"
|
|
],
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^5.2.2",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"@stripe/react-stripe-js": "^3.8.1",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"@stripe/stripe-js": "^7.7.0",
|
|
"@simplewebauthn/browser": "^13.2.2",
|
|
"//": "NEXT_LINE_PLATFORM next",
|
|
"@stackframe/stack-sc": "workspace:*",
|
|
"@stackframe/stack-shared": "workspace:*",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"@stackframe/stack-ui": "workspace:*",
|
|
"@tanstack/react-table": "^8.21.3",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"browser-image-compression": "^2.0.2",
|
|
"color": "^5.0.3",
|
|
"cookie": "^1.1.1",
|
|
"jose": "^6.1.3",
|
|
"js-cookie": "^3.0.5",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"lucide-react": "^0.378.0",
|
|
"oauth4webapi": "^3.8.3",
|
|
"@oslojs/otp": "^1.1.0",
|
|
"qrcode": "^1.5.4",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"react-easy-crop": "^5.5.6",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"react-hook-form": "^7.70.0",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"rrweb": "^1.1.3",
|
|
"tsx": "^4.21.0",
|
|
"yup": "^1.7.1"
|
|
},
|
|
"//": "IF_PLATFORM react-like",
|
|
"peerDependencies": {
|
|
"@types/react": ">=18.3.0",
|
|
"//": "IF_PLATFORM next",
|
|
"@types/react-dom": ">=18.3.0",
|
|
"react-dom": ">=18.3.0",
|
|
"next": ">=14.1 || >=15.0.0-canary.0 || >=15.0.0-rc.0",
|
|
"//": "END_PLATFORM",
|
|
"react": ">=18.3.0"
|
|
},
|
|
"//": "END_PLATFORM",
|
|
"//": "IF_PLATFORM react-like",
|
|
"peerDependenciesMeta": {
|
|
"//": "IF_PLATFORM next",
|
|
"@types/react-dom": {
|
|
"optional": true
|
|
},
|
|
"//": "END_PLATFORM",
|
|
"@types/react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"//": "END_PLATFORM",
|
|
"devDependencies": {
|
|
"@quetzallabs/i18n": "^0.1.19",
|
|
"h3": "^1.15.3",
|
|
"@types/color": "^3.0.6",
|
|
"@types/cookie": "^0.6.0",
|
|
"@types/js-cookie": "^3.0.6",
|
|
"@types/qrcode": "^1.5.5",
|
|
"@types/react-avatar-editor": "^13.0.3",
|
|
"autoprefixer": "^10.4.17",
|
|
"chokidar-cli": "^3.0.0",
|
|
"esbuild": "^0.20.2",
|
|
"i18next": "^23.14.0",
|
|
"i18next-parser": "^9.0.2",
|
|
"//": "NEXT_LINE_PLATFORM next",
|
|
"next": "^14.2.35",
|
|
"postcss": "^8.4.38",
|
|
"postcss-nested": "^6.0.1",
|
|
"react": "^19.0.0",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"@types/react-dom": "^19.0.0",
|
|
"//": "NEXT_LINE_PLATFORM react-like",
|
|
"react-dom": "^19.0.0",
|
|
"rimraf": "^6.1.2",
|
|
"tailwindcss": "^3.4.4",
|
|
"tsdown": "^0.20.3",
|
|
"convex": "^1.27.0"
|
|
}
|
|
}
|