Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Updated check-db.
Mike Cao21367e166ea9
diff --git a/package.json b/package.jsonindex 831a58f9c..5d0352841 100644--- a/package.json+++ b/package.json@@ -133,6 +133,7 @@"@rollup/plugin-json": "^6.0.0","@rollup/plugin-node-resolve": "^15.2.0","@rollup/plugin-replace": "^5.0.2",+ "@rollup/plugin-terser": "^0.4.4","@svgr/rollup": "^8.1.0","@svgr/webpack": "^8.1.0","@types/jest": "^29.5.14",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex bdcd18cb6..0564f02f1 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -201,6 +201,9 @@ importers:'@rollup/plugin-replace':specifier: ^5.0.2version: 5.0.7([email protected])+ '@rollup/plugin-terser':+ specifier: ^0.4.4+ version: 0.4.4([email protected])'@svgr/rollup':specifier: ^8.1.0version: 8.1.0([email protected])([email protected])@@ -1770,6 +1773,9 @@ packages:resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==}engines: {node: '>=6.0.0'}+ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==}+'@jridgewell/[email protected]':resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==}@@ -1999,6 +2005,15 @@ packages:rollup:optional: true+ '@rollup/[email protected]':+ resolution: {integrity: sha512-XHeJC5Bgvs8LfukDwWZp7yeqin6ns8RTl2B9avbejt6tZqsqvVoWI7ZTQrcNsfKEDWBTnTxM8nMDkO2IFFbd0A==}+ engines: {node: '>=14.0.0'}+ peerDependencies:+ rollup: ^2.0.0||^3.0.0||^4.0.0+ peerDependenciesMeta:+ rollup:+ optional: true+'@rollup/[email protected]':resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==}engines: {node: '>=14.0.0'}@@ -5621,6 +5636,9 @@ packages:resolution: {integrity: sha512-tQkJl2GRWh83ui2DiPTJz9wEiMN20syf+5oKfB03yYP7ioZcJwsIK8FjrtLwH1m7C7e+Tt2yYBlrOpdT+dyeIQ==}+ resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==}+resolution: {integrity: sha512-TQtNZMeH5FtJjYxSN72rBmZWlIcs9jK3oVSCUUxfZq9LnFdoFSagTLCrihs3YCnX8vZEJXaJHQsp7lKEfyH5sw==}engines: {node: '>= 14'}@@ -5933,6 +5951,9 @@ packages:resolution: {integrity: sha512-ZYkZLAvKTKQXWuh5XpBw7CdbSzagarX39WyZ2H07CDLC5/KfsRGlIXV8d4+tfqX1M7916mRqR1QfNHSij+c9Pw==}engines: {node: '>=18'}+ resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==}+resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}engines: {node: '>= 0.4'}@@ -6014,6 +6035,9 @@ packages:resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==}engines: {node: '>=12'}+ resolution: {integrity: sha512-g6T+p7QO8npa+/hNx9ohv1E5pVCmWrVCUzUXJyLdMmftX6ER0oiWY/w9knEonLpnOp6b6FenKnMfR8gqwWdwig==}+resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==}@@ -6028,6 +6052,9 @@ packages:resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==}+ resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==}+resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}engines: {node: '>=0.10.0'}@@ -6247,6 +6274,11 @@ packages:resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==}engines: {node: '>=10'}+ resolution: {integrity: sha512-LBAhFyLho16harJoWMg/nZsQYgTrg5jXOn2nCYjRUcZZEdE3qa2zb8QEDRUGVZBW4rlazf2fxkg8tztybTaqWw==}+ engines: {node: '>=10'}+ hasBin: true+resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==}engines: {node: '>=8'}@@ -8292,6 +8324,11 @@ snapshots:'@jridgewell/[email protected]': {}+ '@jridgewell/[email protected]':+ dependencies:+ '@jridgewell/gen-mapping': 0.3.8+ '@jridgewell/trace-mapping': 0.3.25+'@jridgewell/[email protected]': {}'@jridgewell/[email protected]':@@ -8495,6 +8532,14 @@ snapshots:optionalDependencies:rollup: 3.29.5+ '@rollup/[email protected]([email protected])':+ dependencies:+ serialize-javascript: 6.0.2+ smob: 1.5.0+ terser: 5.39.0+ optionalDependencies:+ rollup: 3.29.5+'@rollup/[email protected]([email protected])':dependencies:'@types/estree': 1.0.7@@ -12653,6 +12698,10 @@ snapshots:+ dependencies:+ safe-buffer: 5.2.1+dependencies:@@ -13014,6 +13063,10 @@ snapshots:dependencies:type-fest: 4.39.1+ dependencies:+ randombytes: 2.1.0+dependencies:define-data-property: 1.1.4@@ -13136,6 +13189,8 @@ snapshots:ansi-styles: 6.2.1is-fullwidth-code-point: 4.0.0+ [email protected]: {}+dependencies:dot-case: 3.0.4@@ -13152,6 +13207,11 @@ snapshots:buffer-from: 1.1.2source-map: 0.6.1+ dependencies:+ buffer-from: 1.1.2+ source-map: 0.6.1+@@ -13446,6 +13506,13 @@ snapshots:mkdirp: 1.0.4yallist: 4.0.0+ dependencies:+ '@jridgewell/source-map': 0.3.6+ acorn: 8.14.1+ commander: 2.20.3+ source-map-support: 0.5.21+dependencies:'@istanbuljs/schema': 0.1.3diff --git a/scripts/check-db.mjs b/scripts/check-db.mjsindex 8e3818448..669ef558d 100644--- a/scripts/check-db.mjs+++ b/scripts/check-db.mjs@@ -1,7 +1,7 @@/* eslint-disable no-console */import 'dotenv/config';-import { PrismaClient } from '@prisma/client';+import { PrismaClient } from '../src/generated/prisma';import chalk from 'chalk';import { execSync } from 'child_process';import semver from 'semver';