hyperdx/packages/common-utils/package.json
Brandon Pereira 7405d18308
Bump Typescript Version (app) (#1401)
As part of implementing a dependency upgrade (nuqs) we noticed that it requires Typescript 5, but we are on 4.

We should update this dependency so we don't get too outdated, by bumping this we can unblock other upgrades.

The biggest painpoint in this upgrade was the way that Typescript handles ESM in v4->v5 broke ts-jest ESM handling logic. I have mitigated this problem but using a lower version of `flat` which supports CJS, and mocking `ky` package since it's not actually needed for tests.

Fixes HDX-2900
2025-11-24 21:19:42 +00:00

64 lines
2 KiB
JSON

{
"name": "@hyperdx/common-utils",
"description": "Common utilities for HyperDX application",
"version": "0.8.0",
"license": "MIT",
"private": true,
"files": [
"dist/*"
],
"engines": {
"node": ">=22.16.0"
},
"dependencies": {
"@clickhouse/client": "^1.12.1",
"@clickhouse/client-common": "^1.12.1",
"@clickhouse/client-web": "^1.12.1",
"@hyperdx/lucene": "^3.1.1",
"date-fns": "^2.28.0",
"date-fns-tz": "^2.0.0",
"lodash": "^4.17.21",
"node-sql-parser": "^5.3.5",
"object-hash": "^3.0.0",
"semver": "^7.5.2",
"sql-formatter": "^15.4.11",
"sqlstring": "^2.3.3",
"store2": "^2.14.4",
"uuid": "^8.3.2",
"zod": "3.25"
},
"devDependencies": {
"@types/hyperdx__lucene": "npm:@types/lucene@*",
"@types/jest": "^28.1.1",
"@types/lodash": "^4.14.198",
"@types/object-hash": "^2.2.1",
"@types/semver": "^7.3.12",
"@types/sqlstring": "^2.3.0",
"@types/supertest": "^2.0.12",
"@types/uuid": "^8.3.4",
"dotenv": "^17.2.3",
"jest": "^28.1.1",
"nodemon": "^2.0.20",
"rimraf": "^4.4.1",
"supertest": "^6.3.1",
"ts-jest": "^28.0.5",
"ts-node": "^10.8.1",
"tsc-alias": "^1.8.8",
"tsconfig-paths": "^4.2.0",
"tsup": "^8.4.0",
"typescript": "^5.9.3"
},
"scripts": {
"dev": "nodemon --watch ./src --ext ts --exec \"yarn dev:build\"",
"dev:build": "tsup && tsc --emitDeclarationOnly --declaration",
"build": "tsup",
"ci:build": "tsup",
"lint": "npx eslint --quiet . --ext .ts",
"lint:fix": "npx eslint . --ext .ts --fix",
"ci:lint": "yarn lint && yarn tsc --noEmit",
"ci:unit": "jest --runInBand --ci --forceExit --coverage",
"dev:unit": "jest --watchAll --runInBand --detectOpenHandles",
"ci:int": "DOTENV_CONFIG_PATH=.env.test jest --config jest.int.config.js --runInBand --ci --forceExit --coverage",
"dev:int": "DOTENV_CONFIG_PATH=.env.test jest --config jest.int.config.js --watchAll --runInBand --detectOpenHandles"
}
}