mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
* chore: use pnpm to manage dependencies * Fix CI errors * Don't report Docker image size for external PRs * Fix pnpm-lock.yaml formatting * Fix module versions * Ignore pnpm-lock.yaml * Upgrade Cypress action for pnpm support * Set up node and pnpm before Cypress * Fix typescript issues * Include patches directory in Dockerfile * Fix Jest tests in CI * Update lockfile * Update lockfile * Clean up Dockerfile * Update pnpm-lock.yaml to reflect current package.json files * remove yarn-error.log from .gitignore * formatting * update data exploration readme * type jest.config.ts * fix @react-hook issues for jest * fix react-syntax-highlighter issues for jest * fix jest issues from query-selector-shadow-dom * fix transform ignore patterns and undo previous fixes * add missing storybook peer dependencies * fix nullish coalescing operator for storybook * reorder storybook plugins * update editor-update-tsd warning to new npm script * use legacy ssl for chromatic / node 18 compatibility * use pnpm for visual regression testing workflow * use node 16 for chromatic * add @babel/plugin-proposal-nullish-coalescing-operator as direct dependency * try fix for plugin-server * cleanup * fix comment and warning * update more comments * update playwright dockerfile * update plugin source types * conditional image size reporting * revert react-native instructions * less restrictive pnpm verions * use ref component name in line with style guide Co-authored-by: Jacob Gillespie <jacobwgillespie@gmail.com>
131 lines
4.9 KiB
JSON
131 lines
4.9 KiB
JSON
{
|
|
"name": "@posthog/plugin-server",
|
|
"version": "1.10.5",
|
|
"description": "PostHog Plugin Server",
|
|
"types": "dist/index.d.ts",
|
|
"main": "dist/index.js",
|
|
"packageManager": "pnpm@7.14.2",
|
|
"scripts": {
|
|
"test": "jest --runInBand --forceExit",
|
|
"functional_tests": "jest --config ./jest.config.functional.js",
|
|
"start": "pnpm start:dist",
|
|
"start:dist": "BASE_DIR=.. node dist/index.js",
|
|
"start:dev": "NODE_ENV=dev BASE_DIR=.. ts-node-dev --debug --exit-child src/index.ts",
|
|
"build": "pnpm clean && pnpm compile",
|
|
"clean": "rimraf dist/*",
|
|
"typescript:compile": "tsc -b",
|
|
"typescript:check": "tsc --noEmit -p .",
|
|
"compile": "pnpm typescript:compile",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint --fix .",
|
|
"prettier": "prettier --write .",
|
|
"prettier:check": "prettier --check .",
|
|
"prepublishOnly": "pnpm build",
|
|
"setup:dev:clickhouse": "cd .. && DEBUG=1 python manage.py migrate_clickhouse",
|
|
"setup:test": "cd .. && TEST=1 python manage.py setup_test_environment",
|
|
"services:start": "cd .. && docker compose -f docker-compose.dev.yml up",
|
|
"services:stop": "cd .. && docker compose -f docker-compose.dev.yml down",
|
|
"services:clean": "cd .. && docker compose -f docker-compose.dev.yml rm -v",
|
|
"services": "pnpm services:stop && pnpm services:clean && pnpm services:start"
|
|
},
|
|
"bin": {
|
|
"posthog-plugin-server": "bin/posthog-plugin-server"
|
|
},
|
|
"author": "PostHog <hey@posthog.com>",
|
|
"repository": "https://github.com/PostHog/posthog-plugin-server",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@babel/core": "^7.18.10",
|
|
"@babel/plugin-transform-react-jsx": "^7.18.10",
|
|
"@babel/preset-env": "^7.18.10",
|
|
"@babel/preset-typescript": "^7.18.6",
|
|
"@babel/standalone": "^7.18.12",
|
|
"@google-cloud/bigquery": "^5.6.0",
|
|
"@google-cloud/pubsub": "3.0.1",
|
|
"@google-cloud/storage": "^5.8.5",
|
|
"@maxmind/geoip2-node": "^3.4.0",
|
|
"@posthog/clickhouse": "^1.7.0",
|
|
"@posthog/piscina": "^3.2.0-posthog",
|
|
"@posthog/plugin-contrib": "^0.0.5",
|
|
"@posthog/plugin-scaffold": "1.3.4",
|
|
"@sentry/node": "^7.17.4",
|
|
"@sentry/tracing": "^7.17.4",
|
|
"@sentry/utils": "^7.17.4",
|
|
"@types/lru-cache": "^5.1.0",
|
|
"asn1.js": "^5.4.1",
|
|
"aws-sdk": "^2.927.0",
|
|
"escape-string-regexp": "^4.0.0",
|
|
"ethers": "^5.5.2",
|
|
"faker": "^5.5.3",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"generic-pool": "^3.7.1",
|
|
"graphile-worker": "0.13.0",
|
|
"hot-shots": "^9.2.0",
|
|
"ioredis": "^4.27.6",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"kafkajs": "^2.2.0",
|
|
"kafkajs-snappy": "^1.1.0",
|
|
"lru-cache": "^6.0.0",
|
|
"luxon": "^1.27.0",
|
|
"node-fetch": "^2.6.1",
|
|
"node-schedule": "^2.1.0",
|
|
"pg": "^8.6.0",
|
|
"pino": "^8.6.0",
|
|
"posthog-node": "2.0.2",
|
|
"pretty-bytes": "^5.6.0",
|
|
"re2": "^1.17.7",
|
|
"safe-stable-stringify": "^2.4.0",
|
|
"snowflake-sdk": "^1.6.10",
|
|
"uuid": "^8.3.2",
|
|
"vm2": "3.9.11"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.18.10",
|
|
"@babel/types": "^7.20.2",
|
|
"@sentry/types": "^7.17.4",
|
|
"@swc-node/register": "^1.5.1",
|
|
"@swc/core": "^1.2.186",
|
|
"@swc/jest": "^0.2.21",
|
|
"@types/adm-zip": "^0.4.34",
|
|
"@types/babel__core": "^7.1.19",
|
|
"@types/babel__standalone": "^7.1.4",
|
|
"@types/faker": "^5.5.7",
|
|
"@types/generic-pool": "^3.1.9",
|
|
"@types/ioredis": "^4.26.4",
|
|
"@types/jest": "^28.1.1",
|
|
"@types/jsonwebtoken": "^8.5.5",
|
|
"@types/long": "4.x.x",
|
|
"@types/luxon": "^1.27.0",
|
|
"@types/node": "^16.0.0",
|
|
"@types/node-fetch": "^2.5.10",
|
|
"@types/node-schedule": "^2.1.0",
|
|
"@types/pg": "^8.6.0",
|
|
"@types/redlock": "^4.0.1",
|
|
"@types/snowflake-sdk": "^1.5.1",
|
|
"@types/tar-stream": "^2.2.0",
|
|
"@types/uuid": "^8.3.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.33.0",
|
|
"@typescript-eslint/parser": "^5.33.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"c8": "^7.12.0",
|
|
"deepmerge": "^4.2.2",
|
|
"eslint": "^8.22.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-no-only-tests": "^3.0.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-promise": "^6.0.0",
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
"jest": "^28.1.1",
|
|
"pino-pretty": "^9.1.0",
|
|
"prettier": "^2.7.1",
|
|
"rimraf": "^3.0.2",
|
|
"timekeeper": "^2.2.0",
|
|
"ts-node": "^10.9.1",
|
|
"ts-node-dev": "^2.0.0",
|
|
"typescript": "^4.7.4"
|
|
}
|
|
}
|