OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
chore: use ultacite
Carl-Gerhard Lindesvärd860223f22e3d
diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.mdnew file mode 100644index 000000000..76b4361d0--- /dev/null+++ b/.claude/CLAUDE.md@@ -0,0 +1,123 @@+# Ultracite Code Standards++This project uses **Ultracite**, a zero-config preset that enforces strict code quality standards through automated formatting and linting.++## Quick Reference++- **Format code**: `pnpm dlx ultracite fix`+- **Check for issues**: `pnpm dlx ultracite check`+- **Diagnose setup**: `pnpm dlx ultracite doctor`++Biome (the underlying engine) provides robust linting and formatting. Most issues are automatically fixable.++---++## Core Principles++Write code that is **accessible, performant, type-safe, and maintainable**. Focus on clarity and explicit intent over brevity.++### Type Safety & Explicitness++- Use explicit types for function parameters and return values when they enhance clarity+- Prefer `unknown` over `any` when the type is genuinely unknown+- Use const assertions (`as const`) for immutable values and literal types+- Leverage TypeScript's type narrowing instead of type assertions+- Use meaningful variable names instead of magic numbers - extract constants with descriptive names++### Modern JavaScript/TypeScript++- Use arrow functions for callbacks and short functions+- Prefer `for...of` loops over `.forEach()` and indexed `for` loops+- Use optional chaining (`?.`) and nullish coalescing (`??`) for safer property access+- Prefer template literals over string concatenation+- Use destructuring for object and array assignments+- Use `const` by default, `let` only when reassignment is needed, never `var`++### Async & Promises++- Always `await` promises in async functions - don't forget to use the return value+- Use `async/await` syntax instead of promise chains for better readability+- Handle errors appropriately in async code with try-catch blocks+- Don't use async functions as Promise executors++### React & JSX++- Use function components over class components+- Call hooks at the top level only, never conditionally+- Specify all dependencies in hook dependency arrays correctly+- Use the `key` prop for elements in iterables (prefer unique IDs over array indices)+- Nest children between opening and closing tags instead of passing as props+- Don't define components inside other components+- Use semantic HTML and ARIA attributes for accessibility:+ - Provide meaningful alt text for images+ - Use proper heading hierarchy+ - Add labels for form inputs+ - Include keyboard event handlers alongside mouse events+ - Use semantic elements (`<button>`, `<nav>`, etc.) instead of divs with roles++### Error Handling & Debugging++- Remove `console.log`, `debugger`, and `alert` statements from production code+- Throw `Error` objects with descriptive messages, not strings or other values+- Use `try-catch` blocks meaningfully - don't catch errors just to rethrow them+- Prefer early returns over nested conditionals for error cases++### Code Organization++- Keep functions focused and under reasonable cognitive complexity limits+- Extract complex conditions into well-named boolean variables+- Use early returns to reduce nesting+- Prefer simple conditionals over nested ternary operators+- Group related code together and separate concerns++### Security++- Add `rel="noopener"` when using `target="_blank"` on links+- Avoid `dangerouslySetInnerHTML` unless absolutely necessary+- Don't use `eval()` or assign directly to `document.cookie`+- Validate and sanitize user input++### Performance++- Avoid spread syntax in accumulators within loops+- Use top-level regex literals instead of creating them in loops+- Prefer specific imports over namespace imports+- Avoid barrel files (index files that re-export everything)+- Use proper image components (e.g., Next.js `<Image>`) over `<img>` tags++### Framework-Specific Guidance++**Next.js:**+- Use Next.js `<Image>` component for images+- Use `next/head` or App Router metadata API for head elements+- Use Server Components for async data fetching instead of async Client Components++**React 19+:**+- Use ref as a prop instead of `React.forwardRef`++**Solid/Svelte/Vue/Qwik:**+- Use `class` and `for` attributes (not `className` or `htmlFor`)++---++## Testing++- Write assertions inside `it()` or `test()` blocks+- Avoid done callbacks in async tests - use async/await instead+- Don't use `.only` or `.skip` in committed code+- Keep test suites reasonably flat - avoid excessive `describe` nesting++## When Biome Can't Help++Biome's linter will catch most issues automatically. Focus your attention on:++1. **Business logic correctness** - Biome can't validate your algorithms+2. **Meaningful naming** - Use descriptive names for functions, variables, and types+3. **Architecture decisions** - Component structure, data flow, and API design+4. **Edge cases** - Handle boundary conditions and error states+5. **User experience** - Accessibility, performance, and usability considerations+6. **Documentation** - Add comments for complex logic, but prefer self-documenting code++---++Most formatting and common issues are automatically fixed by Biome. Run `pnpm dlx ultracite fix` before committing to ensure compliance.diff --git a/.claude/settings.json b/.claude/settings.jsonnew file mode 100644index 000000000..f09fa2ebf--- /dev/null+++ b/.claude/settings.json@@ -0,0 +1,15 @@+{+ "hooks": {+ "PostToolUse": [+ {+ "matcher": "Write|Edit",+ "hooks": [+ {+ "type": "command",+ "command": "pnpm dlx ultracite fix"+ }+ ]+ }+ ]+ }+}\ No newline at end of filediff --git a/.cursor/hooks.json b/.cursor/hooks.jsonnew file mode 100644index 000000000..0c86507ae--- /dev/null+++ b/.cursor/hooks.json@@ -0,0 +1,10 @@+{+ "version": 1,+ "hooks": {+ "afterFileEdit": [+ {+ "command": "pnpm dlx ultracite fix"+ }+ ]+ }+}\ No newline at end of filediff --git a/.cursor/rules/ultracite.mdc b/.cursor/rules/ultracite.mdcnew file mode 100644index 000000000..76b4361d0--- /dev/null+++ b/.cursor/rules/ultracite.mdc@@ -0,0 +1,123 @@+# Ultracite Code Standards++This project uses **Ultracite**, a zero-config preset that enforces strict code quality standards through automated formatting and linting.++## Quick Reference++- **Format code**: `pnpm dlx ultracite fix`+- **Check for issues**: `pnpm dlx ultracite check`+- **Diagnose setup**: `pnpm dlx ultracite doctor`++Biome (the underlying engine) provides robust linting and formatting. Most issues are automatically fixable.++---++## Core Principles++Write code that is **accessible, performant, type-safe, and maintainable**. Focus on clarity and explicit intent over brevity.++### Type Safety & Explicitness++- Use explicit types for function parameters and return values when they enhance clarity+- Prefer `unknown` over `any` when the type is genuinely unknown+- Use const assertions (`as const`) for immutable values and literal types+- Leverage TypeScript's type narrowing instead of type assertions+- Use meaningful variable names instead of magic numbers - extract constants with descriptive names++### Modern JavaScript/TypeScript++- Use arrow functions for callbacks and short functions+- Prefer `for...of` loops over `.forEach()` and indexed `for` loops+- Use optional chaining (`?.`) and nullish coalescing (`??`) for safer property access+- Prefer template literals over string concatenation+- Use destructuring for object and array assignments+- Use `const` by default, `let` only when reassignment is needed, never `var`++### Async & Promises++- Always `await` promises in async functions - don't forget to use the return value+- Use `async/await` syntax instead of promise chains for better readability+- Handle errors appropriately in async code with try-catch blocks+- Don't use async functions as Promise executors++### React & JSX++- Use function components over class components+- Call hooks at the top level only, never conditionally+- Specify all dependencies in hook dependency arrays correctly+- Use the `key` prop for elements in iterables (prefer unique IDs over array indices)+- Nest children between opening and closing tags instead of passing as props+- Don't define components inside other components+- Use semantic HTML and ARIA attributes for accessibility:+ - Provide meaningful alt text for images+ - Use proper heading hierarchy+ - Add labels for form inputs+ - Include keyboard event handlers alongside mouse events+ - Use semantic elements (`<button>`, `<nav>`, etc.) instead of divs with roles++### Error Handling & Debugging++- Remove `console.log`, `debugger`, and `alert` statements from production code+- Throw `Error` objects with descriptive messages, not strings or other values+- Use `try-catch` blocks meaningfully - don't catch errors just to rethrow them+- Prefer early returns over nested conditionals for error cases++### Code Organization++- Keep functions focused and under reasonable cognitive complexity limits+- Extract complex conditions into well-named boolean variables+- Use early returns to reduce nesting+- Prefer simple conditionals over nested ternary operators+- Group related code together and separate concerns++### Security++- Add `rel="noopener"` when using `target="_blank"` on links+- Avoid `dangerouslySetInnerHTML` unless absolutely necessary+- Don't use `eval()` or assign directly to `document.cookie`+- Validate and sanitize user input++### Performance++- Avoid spread syntax in accumulators within loops+- Use top-level regex literals instead of creating them in loops+- Prefer specific imports over namespace imports+- Avoid barrel files (index files that re-export everything)+- Use proper image components (e.g., Next.js `<Image>`) over `<img>` tags++### Framework-Specific Guidance++**Next.js:**+- Use Next.js `<Image>` component for images+- Use `next/head` or App Router metadata API for head elements+- Use Server Components for async data fetching instead of async Client Components++**React 19+:**+- Use ref as a prop instead of `React.forwardRef`++**Solid/Svelte/Vue/Qwik:**+- Use `class` and `for` attributes (not `className` or `htmlFor`)++---++## Testing++- Write assertions inside `it()` or `test()` blocks+- Avoid done callbacks in async tests - use async/await instead+- Don't use `.only` or `.skip` in committed code+- Keep test suites reasonably flat - avoid excessive `describe` nesting++## When Biome Can't Help++Biome's linter will catch most issues automatically. Focus your attention on:++1. **Business logic correctness** - Biome can't validate your algorithms+2. **Meaningful naming** - Use descriptive names for functions, variables, and types+3. **Architecture decisions** - Component structure, data flow, and API design+4. **Edge cases** - Handle boundary conditions and error states+5. **User experience** - Accessibility, performance, and usability considerations+6. **Documentation** - Add comments for complex logic, but prefer self-documenting code++---++Most formatting and common issues are automatically fixed by Biome. Run `pnpm dlx ultracite fix` before committing to ensure compliance.diff --git a/.zed/settings.json b/.zed/settings.jsonnew file mode 100644index 000000000..2226f4fbd--- /dev/null+++ b/.zed/settings.json@@ -0,0 +1,50 @@+{+ "formatter": "language_server",+ "format_on_save": "on",+ "lsp": {+ "typescript-language-server": {+ "settings": {+ "typescript": {+ "preferences": {+ "includePackageJsonAutoImports": "on"+ }+ }+ }+ }+ },+ "languages": {+ "JavaScript": {+ "formatter": {+ "language_server": {+ "name": "biome"+ }+ },+ "code_actions_on_format": {+ "source.fixAll.biome": true,+ "source.organizeImports.biome": true+ }+ },+ "TypeScript": {+ "formatter": {+ "language_server": {+ "name": "biome"+ }+ },+ "code_actions_on_format": {+ "source.fixAll.biome": true,+ "source.organizeImports.biome": true+ }+ },+ "TSX": {+ "formatter": {+ "language_server": {+ "name": "biome"+ }+ },+ "code_actions_on_format": {+ "source.fixAll.biome": true,+ "source.organizeImports.biome": true+ }+ }+ }+}\ No newline at end of filediff --git a/admin/tsconfig.json b/admin/tsconfig.jsonindex 509dacd1f..57984ba87 100644--- a/admin/tsconfig.json+++ b/admin/tsconfig.json@@ -5,7 +5,10 @@"rootDir": "src","target": "ES2022","lib": ["ES2022"],- "types": ["node"]+ "types": [+ "node"+ ],+ "strictNullChecks": true},"include": ["src"]}diff --git a/apps/api/tsconfig.json b/apps/api/tsconfig.jsonindex 754acf08c..aaab48cc2 100644--- a/apps/api/tsconfig.json+++ b/apps/api/tsconfig.json@@ -5,7 +5,8 @@"paths": {"@/*": ["./src/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules", "dist"]diff --git a/apps/start/biome.json b/apps/start/biome.jsondeleted file mode 100644index 2e91202ec..000000000--- a/apps/start/biome.json+++ /dev/null@@ -1,31 +0,0 @@-{- "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",- "vcs": {- "enabled": false,- "clientKind": "git",- "useIgnoreFile": false- },- "files": {- "ignoreUnknown": false,- "ignore": ["src/routeTree.gen.ts"],- "include": ["src/*", ".vscode/*", "index.html", "vite.config.js"]- },- "formatter": {- "enabled": true,- "indentStyle": "tab"- },- "organizeImports": {- "enabled": true- },- "linter": {- "enabled": true,- "rules": {- "recommended": true- }- },- "javascript": {- "formatter": {- "quoteStyle": "double"- }- }-}diff --git a/biome.json b/biome.jsonindex aa8e58970..347e1b482 100644--- a/biome.json+++ b/biome.json@@ -1,19 +1,34 @@{"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",- "organizeImports": {- "enabled": true- },- "files": {- "ignore": [- "node_modules",- "tmp",- ".next",- "dist",- "coverage",- "op.js",- "op1.js",- "*.css"- ]+ "assist": {+ "actions": {+ "source": {+ "organizeImports": {+ "level": "on",+ "options": {+ "groups": [+ ":BUN:",+ ":NODE:",+ [+ "npm:*",+ "npm:*/**"+ ],+ ":PACKAGE_WITH_PROTOCOL:",+ ":URL:",+ ":PACKAGE:",+ [+ "/**"+ ],+ [+ "#*",+ "#*/**"+ ],+ ":PATH:"+ ]+ }+ }+ }+ }},"linter": {"enabled": true,@@ -27,7 +42,17 @@"useSemanticElements": "off"},"style": {- "noNonNullAssertion": "off"+ "noNonNullAssertion": "off",+ "noParameterAssign": "error",+ "useAsConstAssertion": "error",+ "useDefaultParameterLast": "error",+ "useEnumInitializers": "error",+ "useSelfClosingElements": "error",+ "useSingleVarDeclarator": "error",+ "noUnusedTemplateLiteral": "error",+ "useNumberNamespace": "error",+ "noInferrableTypes": "error",+ "noUselessElse": "error"},"correctness": {"useExhaustiveDependencies": "off",@@ -57,5 +82,11 @@"formatter": {"quoteStyle": "single"}- }-}+ },+ "extends": [+ "ultracite/biome/core",+ "ultracite/biome/react",+ "ultracite/biome/next",+ "ultracite/biome/remix"+ ]+}\ No newline at end of filediff --git a/package.json b/package.jsonindex 0d54abed9..e7f30bd50 100644--- a/package.json+++ b/package.json@@ -20,13 +20,11 @@"migrate:deploy": "pnpm -r --filter db run migrate:deploy","dev": "pnpm -r --parallel testing","dev:public": "pnpm -r --filter public dev",- "format": "biome format .",- "format:fix": "biome format --write .",- "lint": "biome check .",- "lint:fix": "biome check --write .",- "lint:workspace": "pnpm dlx sherif@latest","typecheck": "pnpm -r --no-bail typecheck",- "update-simple-git-hooks": "npx simple-git-hooks"+ "update-simple-git-hooks": "npx simple-git-hooks",+ "check:workspace": "pnpm dlx sherif@latest",+ "check": "ultracite check",+ "fix": "ultracite fix"},"simple-git-hooks": {"pre-push": "[ -n \"$SKIP_HOOKS\" ] || (pnpm typecheck && pnpm test)"@@ -51,9 +49,10 @@"sharp"],"devDependencies": {- "@biomejs/biome": "1.9.1",+ "@biomejs/biome": "2.3.15","depcheck": "^1.4.7","simple-git-hooks": "^2.12.1",+ "ultracite": "7.2.0","vitest": "^3.0.4"},"pnpm": {@@ -65,4 +64,4 @@"esm-env": "npm:esm-env-runtime@^0.1.0"}}-}\ No newline at end of file+}diff --git a/packages/auth/tsconfig.json b/packages/auth/tsconfig.jsonindex a291eef2f..a4a54fb86 100644--- a/packages/auth/tsconfig.json+++ b/packages/auth/tsconfig.json@@ -5,7 +5,8 @@"paths": {"@/*": ["./src/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]diff --git a/packages/common/tsconfig.json b/packages/common/tsconfig.jsonindex 23a69125d..685aae657 100644--- a/packages/common/tsconfig.json+++ b/packages/common/tsconfig.json@@ -6,7 +6,8 @@"@/*": ["./src/*"],"@/server/*": ["./src/server/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]diff --git a/packages/constants/tsconfig.json b/packages/constants/tsconfig.jsonindex a291eef2f..a4a54fb86 100644--- a/packages/constants/tsconfig.json+++ b/packages/constants/tsconfig.json@@ -5,7 +5,8 @@"paths": {"@/*": ["./src/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]diff --git a/packages/db/tsconfig.json b/packages/db/tsconfig.jsonindex 56c2e45b7..f3ed8e8e0 100644--- a/packages/db/tsconfig.json+++ b/packages/db/tsconfig.json@@ -5,7 +5,8 @@"paths": {"@/*": ["./src/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": [".", "./src/types.ts"],"exclude": ["node_modules"]diff --git a/packages/email/tsconfig.json b/packages/email/tsconfig.jsonindex 23a69125d..685aae657 100644--- a/packages/email/tsconfig.json+++ b/packages/email/tsconfig.json@@ -6,7 +6,8 @@"@/*": ["./src/*"],"@/server/*": ["./src/server/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]diff --git a/packages/geo/tsconfig.json b/packages/geo/tsconfig.jsonindex 748885aa0..754a7e31f 100644--- a/packages/geo/tsconfig.json+++ b/packages/geo/tsconfig.json@@ -5,7 +5,8 @@"paths": {"@/*": ["./src/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": [".", "*.mmdb"],"exclude": ["node_modules"]diff --git a/packages/importer/tsconfig.json b/packages/importer/tsconfig.jsonindex 1d1748e91..29cedb070 100644--- a/packages/importer/tsconfig.json+++ b/packages/importer/tsconfig.json@@ -2,7 +2,8 @@"extends": "../../tooling/typescript/base.json","compilerOptions": {"outDir": "./dist",- "rootDir": "./src"+ "rootDir": "./src",+ "strictNullChecks": true},"include": ["src/**/*"],"exclude": ["node_modules", "dist"]diff --git a/packages/integrations/tsconfig.json b/packages/integrations/tsconfig.jsonindex a291eef2f..a4a54fb86 100644--- a/packages/integrations/tsconfig.json+++ b/packages/integrations/tsconfig.json@@ -5,7 +5,8 @@"paths": {"@/*": ["./src/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]diff --git a/packages/js-runtime/tsconfig.json b/packages/js-runtime/tsconfig.jsonindex a291eef2f..a4a54fb86 100644--- a/packages/js-runtime/tsconfig.json+++ b/packages/js-runtime/tsconfig.json@@ -5,7 +5,8 @@"paths": {"@/*": ["./src/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]diff --git a/packages/json/tsconfig.json b/packages/json/tsconfig.jsonindex 23a69125d..685aae657 100644--- a/packages/json/tsconfig.json+++ b/packages/json/tsconfig.json@@ -6,7 +6,8 @@"@/*": ["./src/*"],"@/server/*": ["./src/server/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]diff --git a/packages/logger/tsconfig.json b/packages/logger/tsconfig.jsonindex a291eef2f..a4a54fb86 100644--- a/packages/logger/tsconfig.json+++ b/packages/logger/tsconfig.json@@ -5,7 +5,8 @@"paths": {"@/*": ["./src/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]diff --git a/packages/queue/tsconfig.json b/packages/queue/tsconfig.jsonindex a291eef2f..a4a54fb86 100644--- a/packages/queue/tsconfig.json+++ b/packages/queue/tsconfig.json@@ -5,7 +5,8 @@"paths": {"@/*": ["./src/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]diff --git a/packages/redis/tsconfig.json b/packages/redis/tsconfig.jsonindex a291eef2f..a4a54fb86 100644--- a/packages/redis/tsconfig.json+++ b/packages/redis/tsconfig.json@@ -5,7 +5,8 @@"paths": {"@/*": ["./src/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]diff --git a/packages/sdks/_info/tsconfig.json b/packages/sdks/_info/tsconfig.jsonindex a291eef2f..a4a54fb86 100644--- a/packages/sdks/_info/tsconfig.json+++ b/packages/sdks/_info/tsconfig.json@@ -5,7 +5,8 @@"paths": {"@/*": ["./src/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]diff --git a/packages/sdks/astro/tsconfig.json b/packages/sdks/astro/tsconfig.jsonindex ae9c58acd..81b9b8a86 100644--- a/packages/sdks/astro/tsconfig.json+++ b/packages/sdks/astro/tsconfig.json@@ -8,6 +8,7 @@"include": [".astro/types.d.ts", "**/*"],"exclude": ["dist"],"compilerOptions": {- "jsx": "preserve"+ "jsx": "preserve",+ "strictNullChecks": true}}diff --git a/packages/sdks/express/tsconfig.json b/packages/sdks/express/tsconfig.jsonindex 846f7becb..95a0d8537 100644--- a/packages/sdks/express/tsconfig.json+++ b/packages/sdks/express/tsconfig.json@@ -2,7 +2,8 @@"extends": "@openpanel/tsconfig/sdk.json","compilerOptions": {"incremental": false,- "outDir": "dist"+ "outDir": "dist",+ "strictNullChecks": true},"exclude": ["dist"]}diff --git a/packages/sdks/nextjs/tsconfig.json b/packages/sdks/nextjs/tsconfig.jsonindex 846f7becb..95a0d8537 100644--- a/packages/sdks/nextjs/tsconfig.json+++ b/packages/sdks/nextjs/tsconfig.json@@ -2,7 +2,8 @@"extends": "@openpanel/tsconfig/sdk.json","compilerOptions": {"incremental": false,- "outDir": "dist"+ "outDir": "dist",+ "strictNullChecks": true},"exclude": ["dist"]}diff --git a/packages/sdks/nuxt/tsconfig.json b/packages/sdks/nuxt/tsconfig.jsonindex 62530c309..95771a83c 100644--- a/packages/sdks/nuxt/tsconfig.json+++ b/packages/sdks/nuxt/tsconfig.json@@ -11,7 +11,8 @@"types": ["@types/node","@nuxt/types"- ]+ ],+ "strictNullChecks": true},"exclude": ["dist"]}diff --git a/packages/sdks/react-native/tsconfig.json b/packages/sdks/react-native/tsconfig.jsonindex 846f7becb..95a0d8537 100644--- a/packages/sdks/react-native/tsconfig.json+++ b/packages/sdks/react-native/tsconfig.json@@ -2,7 +2,8 @@"extends": "@openpanel/tsconfig/sdk.json","compilerOptions": {"incremental": false,- "outDir": "dist"+ "outDir": "dist",+ "strictNullChecks": true},"exclude": ["dist"]}diff --git a/packages/sdks/sdk/tsconfig.json b/packages/sdks/sdk/tsconfig.jsonindex 846f7becb..95a0d8537 100644--- a/packages/sdks/sdk/tsconfig.json+++ b/packages/sdks/sdk/tsconfig.json@@ -2,7 +2,8 @@"extends": "@openpanel/tsconfig/sdk.json","compilerOptions": {"incremental": false,- "outDir": "dist"+ "outDir": "dist",+ "strictNullChecks": true},"exclude": ["dist"]}diff --git a/packages/sdks/web/tsconfig.json b/packages/sdks/web/tsconfig.jsonindex 846f7becb..95a0d8537 100644--- a/packages/sdks/web/tsconfig.json+++ b/packages/sdks/web/tsconfig.json@@ -2,7 +2,8 @@"extends": "@openpanel/tsconfig/sdk.json","compilerOptions": {"incremental": false,- "outDir": "dist"+ "outDir": "dist",+ "strictNullChecks": true},"exclude": ["dist"]}diff --git a/packages/trpc/tsconfig.json b/packages/trpc/tsconfig.jsonindex a291eef2f..a4a54fb86 100644--- a/packages/trpc/tsconfig.json+++ b/packages/trpc/tsconfig.json@@ -5,7 +5,8 @@"paths": {"@/*": ["./src/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]diff --git a/packages/validation/tsconfig.json b/packages/validation/tsconfig.jsonindex a291eef2f..a4a54fb86 100644--- a/packages/validation/tsconfig.json+++ b/packages/validation/tsconfig.json@@ -5,7 +5,8 @@"paths": {"@/*": ["./src/*"]},- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex c37e9d857..ee971f784 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -61,14 +61,17 @@ importers:version: 3.14.2devDependencies:'@biomejs/biome':- specifier: 1.9.1- version: 1.9.1+ specifier: 2.3.15+ version: 2.3.15depcheck:specifier: ^1.4.7version: 1.4.7simple-git-hooks:specifier: ^2.12.1version: 2.12.1+ ultracite:+ specifier: 7.2.0+ version: 7.2.0vitest:specifier: ^3.0.4version: 3.1.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])@@ -1218,7 +1221,7 @@ importers:version: 24.10.1fast-extract:specifier: ^1.4.3- version: 1.4.3([email protected])+ version: 1.4.3([email protected])jiti:specifier: ^2.4.1version: 2.4.1@@ -1542,7 +1545,7 @@ importers:version: 1.15.4nuxt:specifier: ^3.0.0 || ^4.0.0- version: 4.2.2(@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ version: 4.2.2(@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])devDependencies:'@nuxt/kit':specifier: ^3.0.0@@ -2683,21 +2686,15 @@ packages:resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==}engines: {node: '>=6.9.0'}- '@biomejs/[email protected]':- resolution: {integrity: sha512-Ps0Rg0zg3B1zpx+zQHMz5b0n0PBNCAaXttHEDTVrJD5YXR6Uj3T+abTDgeS3wsu4z5i2whqcE1lZxGyWH4bZYg==}- engines: {node: '>=14.21.3'}- hasBin: true-'@biomejs/[email protected]':resolution: {integrity: sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==}engines: {node: '>=14.21.3'}hasBin: true- '@biomejs/[email protected]':- resolution: {integrity: sha512-js0brHswq/BoeKgfSEUJYOjUOlML6p65Nantti+PsoQ61u9+YVGIZ7325LK7iUpDH8KVJT+Bx7K2b/6Q//W1Pw==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-u+jlPBAU2B45LDkjjNNYpc1PvqrM/co4loNommS9/sl9oSxsAQKsNZejYuUztvToB5oXi1tN/e62iNd6ESiY3g==}engines: {node: '>=14.21.3'}- cpu: [arm64]- os: [darwin]+ hasBin: true'@biomejs/[email protected]':resolution: {integrity: sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==}@@ -2705,10 +2702,10 @@ packages:cpu: [arm64]os: [darwin]- '@biomejs/[email protected]':- resolution: {integrity: sha512-2zVyjUg5rN0k8XrytkubQWLbp2r/AS5wPhXs4vgVjvqbLnzo32EGX8p61gzroF2dH9DCUCfskdrigCGqNdEbpg==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-SDCdrJ4COim1r8SNHg19oqT50JfkI/xGZHSyC6mGzMfKrpNe/217Eq6y98XhNTc0vGWDjznSDNXdUc6Kg24jbw==}engines: {node: '>=14.21.3'}- cpu: [x64]+ cpu: [arm64]os: [darwin]'@biomejs/[email protected]':@@ -2717,11 +2714,11 @@ packages:cpu: [x64]os: [darwin]- '@biomejs/[email protected]':- resolution: {integrity: sha512-L/JmXKvhsZ1lTgqOr3tWkzuY/NRppdIscHeC9aaiR72WjnBgJS94mawl9BWmGB3aWBc0q6oSDWnBS7617EMMmA==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-RkyeSosBtn3C3Un8zQnl9upX0Qbq4E3QmBa0qjpOh1MebRbHhNlRC16jk8HdTe/9ym5zlfnpbb8cKXzW+vlTxw==}engines: {node: '>=14.21.3'}- cpu: [arm64]- os: [linux]+ cpu: [x64]+ os: [darwin]'@biomejs/[email protected]':resolution: {integrity: sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==}@@ -2729,8 +2726,8 @@ packages:cpu: [arm64]os: [linux]- '@biomejs/[email protected]':- resolution: {integrity: sha512-QgxwfnG+r2aer5RNGR67Ey91Tv7xXW8E9YckHhwuyWjdLEvKWkrSJrhVG/6ub0kVvTSNkYOuT/7/jMOFBuUbRA==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-SSSIj2yMkFdSkXqASzIBdjySBXOe65RJlhKEDlri7MN19RC4cpez+C0kEwPrhXOTgJbwQR9QH1F4+VnHkC35pg==}engines: {node: '>=14.21.3'}cpu: [arm64]os: [linux]@@ -2741,10 +2738,10 @@ packages:cpu: [arm64]os: [linux]- '@biomejs/[email protected]':- resolution: {integrity: sha512-gY+eFLIAW45v3WicQHicvjRfA0ntMZHx7h937bXwBMFNFoKmB6rMi6+fKQ6/hiS6juhsFxZdZIz20m15s49J6A==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-FN83KxrdVWANOn5tDmW6UBC0grojchbGmcEz6JkRs2YY6DY63sTZhwkQ56x6YtKhDVV1Unz7FJexy8o7KwuIhg==}engines: {node: '>=14.21.3'}- cpu: [x64]+ cpu: [arm64]os: [linux]'@biomejs/[email protected]':@@ -2753,8 +2750,8 @@ packages:cpu: [x64]os: [linux]- '@biomejs/[email protected]':- resolution: {integrity: sha512-F0INygtzI2L2n2R1KtYHGr3YWDt9Up1zrUluwembM+iJ1dXN3qzlSb7deFUsSJm4FaIPriqs6Xa56ukdQW6UeQ==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-dbjPzTh+ijmmNwojFYbQNMFp332019ZDioBYAMMJj5Ux9d8MkM+u+J68SBJGVwVeSHMYj+T9504CoxEzQxrdNw==}engines: {node: '>=14.21.3'}cpu: [x64]os: [linux]@@ -2765,11 +2762,11 @@ packages:cpu: [x64]os: [linux]- '@biomejs/[email protected]':- resolution: {integrity: sha512-7Jahxar3OB+aTPOgXisMJmMKMsjcK+UmdlG3UIOQjzN/ZFEsPV+GT3bfrVjZDQaCw/zes0Cqd7VTWFjFTC/+MQ==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-T8n9p8aiIKOrAD7SwC7opiBM1LYGrE5G3OQRXWgbeo/merBk8m+uxJ1nOXMPzfYyFLfPlKF92QS06KN1UW+Zbg==}engines: {node: '>=14.21.3'}- cpu: [arm64]- os: [win32]+ cpu: [x64]+ os: [linux]'@biomejs/[email protected]':resolution: {integrity: sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==}@@ -2777,10 +2774,10 @@ packages:cpu: [arm64]os: [win32]- '@biomejs/[email protected]':- resolution: {integrity: sha512-liSRWjWzFhyG7s1jg/Bbv9FL+ha/CEd5tFO3+dFIJNplL4TnvAivtyfRVi/tu/pNjISbV1k9JwdBewtAKAgA0w==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-puMuenu/2brQdgqtQ7geNwQlNVxiABKEZJhMRX6AGWcmrMO8EObMXniFQywy2b81qmC+q+SDvlOpspNwz0WiOA==}engines: {node: '>=14.21.3'}- cpu: [x64]+ cpu: [arm64]os: [win32]'@biomejs/[email protected]':@@ -2789,6 +2786,12 @@ packages:cpu: [x64]os: [win32]+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-kDZr/hgg+igo5Emi0LcjlgfkoGZtgIpJKhnvKTRmMBv6FF/3SDyEV4khBwqNebZIyMZTzvpca9sQNSXJ39pI2A==}+ engines: {node: '>=14.21.3'}+ cpu: [x64]+ os: [win32]+'@bomb.sh/[email protected]':resolution: {integrity: sha512-HUJ0b+LkZpLsyn0u7G/H5aJioAdSLqWMWX5ryuFS6n70MOEFu+SGrF8d8u6HzI1gINVQTvsfoxDLcjWkmI0AWg==}hasBin: true@@ -2821,9 +2824,15 @@ packages:'@clack/[email protected]':resolution: {integrity: sha512-3vdh6Ar09D14rVxJZIm3VQJkU+ZOKKT5I5cC0cOVazy70CNyYYjiwRj9unwalhESndgxx6bGc/m6Hhs4EKF5XQ==}+ '@clack/[email protected]':+ resolution: {integrity: sha512-WKeyK3NOBwDOzagPR5H08rFk9D/WuN705yEbuZvKqlkmoLM2woKtXb10OO2k1NoSU4SFG947i2/SCYh+2u5e4g==}+'@clack/[email protected]':resolution: {integrity: sha512-BLB8LYOdfI4q6XzDl8la69J/y/7s0tHjuU1/5ak+o8yB2BPZBNE22gfwbFUIEmlq/BGBD6lVUAMR7w+1K7Pr6Q==}+ '@clack/[email protected]':+ resolution: {integrity: sha512-/42G73JkuYdyWZ6m8d/CJtBrGl1Hegyc7Fy78m5Ob+jF85TOUmLR5XLce/U3LxYAw0kJ8CT5aI99RIvPHcGp/Q==}+'@clickhouse/[email protected]':resolution: {integrity: sha512-ccw1N6hB4+MyaAHIaWBwGZ6O2GgMlO99FlMj0B0UEGfjxM9v5dYVYql6FpP19rMwrVAroYs/IgX2vyZEBvzQLg==}@@ -4632,6 +4641,10 @@ packages:resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}engines: {node: '>=12'}+ '@isaacs/[email protected]':+ resolution: {integrity: sha512-AokJm4tuBHillT+FpMtxQ60n8ObyXBatq7jD2/JA9dxbDDokKQm8KMht5ibGzLVU9IJDIKK4TPKgMHEYMn3lMg==}+ engines: {node: '>=18'}+'@isaacs/[email protected]':resolution: {integrity: sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==}engines: {node: '>=18.0.0'}@@ -9859,6 +9872,10 @@ packages:resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}+ resolution: {integrity: sha512-x0K50QvKQ97fdEz2kPehIerj+YTeptKF9hyYkKf6egnwmMWAkADiO0QCzSp0R5xN8FTZgYaBfSaue46Ej62nMg==}+ engines: {node: 20 || >=22}+resolution: {integrity: sha512-AOhh6Bg5QmFIXdViHbMc2tLDsBIRxdkIaIddPslJF9Z5De3APBScuqGP2uThXnIpqFrgoxMNC6km7uXNIMLHXA==}peerDependencies:@@ -9972,6 +9989,10 @@ packages:resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==}+ resolution: {integrity: sha512-Pdk8c9poy+YhOgVWw1JNN22/HcivgKWwpxKq04M/jTmHyCZn12WPJebZxdjSa5TmBqISrUSgNYU3eRORljfCCw==}+ engines: {node: 20 || >=22}+resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==}engines: {node: '>=8'}@@ -10250,6 +10271,9 @@ packages:resolution: {integrity: sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==}+ resolution: {integrity: sha512-kEV95lFBhQgtogAPlQfJJ0WGVSokvLr/UEoFPiKKOXF7pl98HfUVUD0ejsuTCld/9xH9vogSywZ5KqHzXrZpqg==}+resolution: {integrity: sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==}@@ -10385,6 +10409,10 @@ packages:resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==}engines: {node: '>=16'}+ resolution: {integrity: sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==}+ engines: {node: '>=20'}+resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}@@ -12096,23 +12124,29 @@ packages:resolution: {integrity: sha512-6LFElP3A+i/Q8XQKEvZjkEWEOTgAIALR9AO2rwT8bgPhDd1anmqDJDZ6lLddI4ehxxxR1S5RIqKe1uapMQfYaQ==}engines: {node: '>=16 || 14 >=14.17'}+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]hasBin: trueresolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==}+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]hasBin: true+ resolution: {integrity: sha512-/g3B0mC+4x724v1TgtBlBtt2hPi/EWptsIAmXUx9Z2rvBYleQcsrmaOzd5LyL50jf/Soi83ZDJmw2+XqvH/EeA==}+ engines: {node: 20 || >=22}+resolution: {integrity: sha512-MKZeRNyYZAVVVG1oZeLaWie1uweH40m9AZwIwxyPbTSX4hHrVYSzLg0Ro5Z5R7XKkIX+Cc6oD1rqeDJnwsB8/A==}deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==}- deprecated: Glob versions prior to v9 are no longer supported+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}- deprecated: Glob versions prior to v9 are no longer supported+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]resolution: {integrity: sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==}@@ -12826,6 +12860,10 @@ packages:resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==}+ resolution: {integrity: sha512-ykkVRwrYvFm1nb2AJfKKYPr0emF6IiXDYUaFx4Zn9ZuIH7MrzEZ3sD5RlqGXNRpHtvUHJyOnCEFxOlNDtGo7wg==}+ engines: {node: 20 || >=22}+resolution: {integrity: sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==}engines: {node: '>=10'}@@ -12977,6 +13015,9 @@ packages:engines: {node: '>=6'}hasBin: true+ resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==}+resolution: {integrity: sha512-3QItJOXp2AP1uv7waBkao5nCvhEv+QmJAd38Ybq7wNI74Q+BBmnLn4EDKz6yI9xGAIQoUF87qHt+kc1IVxB4zQ==}engines: {node: ^18.0.0 || >=20.0.0}@@ -13819,6 +13860,10 @@ packages:engines: {node: '>=18.0.0'}hasBin: true+ resolution: {integrity: sha512-ugkC31VaVg9cF0DFVoADH12k6061zNZkZON+aX8AWsR9GhPcErkcMBceb6znR8wLERM2AkkOxy2nWRLpT9Jq5w==}+ engines: {node: 20 || >=22}+resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}@@ -14277,6 +14322,11 @@ packages:engines: {node: ^14.16.0 || >=16.10.0}hasBin: true+ resolution: {integrity: sha512-K6AJy1GMVyfyMXRVB88700BJqNUkByijGJM8kEHpLdcAt+vSQAVfkWWHYzuRXHSY6xA2sNc5RjTj0p9rE2izVQ==}+ engines: {node: '>=18'}+ hasBin: true+resolution: {integrity: sha512-nlLGZPMQ/kbmkdIb5yvVzep1jKUII2x6ehNsHpgy71jpnJMW7V+KsB3AjYI2Ajb7UqMAMNjlssg6FUodrEMYzg==}engines: {node: '>=18'}@@ -14578,6 +14628,10 @@ packages:resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}engines: {node: '>=16 || 14 >=14.18'}+ resolution: {integrity: sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==}+ engines: {node: 20 || >=22}+resolution: {integrity: sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==}@@ -16561,7 +16615,7 @@ packages:resolution: {integrity: sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==}engines: {node: '>=18'}- deprecated: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exhorbitant rates) by contacting [email protected]+ deprecated: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]resolution: {integrity: sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==}@@ -16957,6 +17011,15 @@ packages:resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==}+ resolution: {integrity: sha512-Pe+T3DNwXMrAT3b14zzmT+UqAz/aWk2CuYfvtl0u6g+cqU2gU1GmiAEHj40vONrKoTM8diuYiLN46sthFyn4nQ==}+ hasBin: true+ peerDependencies:+ oxlint: ^1.0.0+ peerDependenciesMeta:+ oxlint:+ optional: true+resolution: {integrity: sha512-R9fBn90VTJrqqLDwyMph+HGne8eqY1iPfYhPzZrvKpIfwkWZbcYlfpsb8B9dTvBfpy1/hqAD7Wi8EKfP9e8zdw==}@@ -20312,17 +20375,6 @@ snapshots:'@babel/helper-string-parser': 7.27.1'@babel/helper-validator-identifier': 7.28.5- '@biomejs/[email protected]':- optionalDependencies:- '@biomejs/cli-darwin-arm64': 1.9.1- '@biomejs/cli-darwin-x64': 1.9.1- '@biomejs/cli-linux-arm64': 1.9.1- '@biomejs/cli-linux-arm64-musl': 1.9.1- '@biomejs/cli-linux-x64': 1.9.1- '@biomejs/cli-linux-x64-musl': 1.9.1- '@biomejs/cli-win32-arm64': 1.9.1- '@biomejs/cli-win32-x64': 1.9.1-'@biomejs/[email protected]':optionalDependencies:'@biomejs/cli-darwin-arm64': 1.9.4@@ -20334,54 +20386,65 @@ snapshots:'@biomejs/cli-win32-arm64': 1.9.4'@biomejs/cli-win32-x64': 1.9.4- '@biomejs/[email protected]':- optional: true+ '@biomejs/[email protected]':+ optionalDependencies:+ '@biomejs/cli-darwin-arm64': 2.3.15+ '@biomejs/cli-darwin-x64': 2.3.15+ '@biomejs/cli-linux-arm64': 2.3.15+ '@biomejs/cli-linux-arm64-musl': 2.3.15+ '@biomejs/cli-linux-x64': 2.3.15+ '@biomejs/cli-linux-x64-musl': 2.3.15+ '@biomejs/cli-win32-arm64': 2.3.15+ '@biomejs/cli-win32-x64': 2.3.15'@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true'@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true'@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true'@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true'@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true'@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true'@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true'@biomejs/[email protected]':optional: true+ '@biomejs/[email protected]':+ optional: true+optionalDependencies:cac: 6.7.14@@ -20418,12 +20481,23 @@ snapshots:picocolors: 1.1.1sisteransi: 1.0.5+ '@clack/[email protected]':+ dependencies:+ picocolors: 1.1.1+ sisteransi: 1.0.5+'@clack/[email protected]':dependencies:'@clack/core': 1.0.0-alpha.7picocolors: 1.1.1sisteransi: 1.0.5+ '@clack/[email protected]':+ dependencies:+ '@clack/core': 1.0.1+ picocolors: 1.1.1+ sisteransi: 1.0.5+'@clickhouse/[email protected]': {}'@clickhouse/[email protected]':@@ -21913,6 +21987,8 @@ snapshots:wrap-ansi: 8.1.0wrap-ansi-cjs: [email protected]+ '@isaacs/[email protected]': {}+'@isaacs/[email protected]':dependencies:minipass: 7.1.2@@ -22582,7 +22658,7 @@ snapshots:- vue- vue-tsc- '@nuxt/[email protected]([email protected])([email protected])([email protected])([email protected](@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])([email protected])':+ '@nuxt/[email protected]([email protected])([email protected])([email protected])([email protected](@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])([email protected])':dependencies:'@nuxt/devalue': 2.0.2'@nuxt/kit': 4.2.2([email protected])@@ -22600,7 +22676,7 @@ snapshots:klona: 2.0.6mocked-exports: 0.1.1nitropack: 2.12.9([email protected])- nuxt: 4.2.2(@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ nuxt: 4.2.2(@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])pathe: 2.0.3pkg-types: 2.3.0radix3: 1.1.2@@ -22689,7 +22765,7 @@ snapshots:'@types/webpack-bundle-analyzer': 3.9.5'@types/webpack-hot-middleware': 2.25.5- '@nuxt/[email protected](@biomejs/[email protected])(@types/[email protected])([email protected])([email protected])([email protected](@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])':+ '@nuxt/[email protected](@biomejs/[email protected])(@types/[email protected])([email protected])([email protected])([email protected](@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])':dependencies:'@nuxt/kit': 4.2.2([email protected])'@rollup/plugin-replace': 6.0.3([email protected])@@ -22709,7 +22785,7 @@ snapshots:magic-string: 0.30.21mlly: 1.8.0mocked-exports: 0.1.1- nuxt: 4.2.2(@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])+ nuxt: 4.2.2(@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected])pathe: 2.0.3pkg-types: 2.3.0postcss: 8.5.6@@ -22720,7 +22796,7 @@ snapshots:unenv: 2.0.0-rc.24vite: 7.3.0(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])vite-node: 5.2.0(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])- vite-plugin-checker: 0.12.0(@biomejs/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ vite-plugin-checker: 0.12.0(@biomejs/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))vue: 3.5.25([email protected])vue-bundle-renderer: 2.2.0optionalDependencies:@@ -28354,6 +28430,10 @@ snapshots:+ dependencies:+ jackspeak: 4.2.3+@@ -28499,6 +28579,10 @@ snapshots:dependencies:balanced-match: 1.0.2+ dependencies:+ balanced-match: 4.0.2+dependencies:fill-range: 7.0.1@@ -28853,6 +28937,8 @@ snapshots:dependencies:consola: 3.4.2+ [email protected]: {}+@@ -28987,6 +29073,8 @@ snapshots:+ [email protected]: {}+@@ -30572,7 +30660,7 @@ snapshots:iconv-lite: 0.4.24tmp: 0.0.33dependencies:graceful-fs: 4.2.11is-absolute: 1.0.0@@ -30580,7 +30668,7 @@ snapshots:mkdirp-classic: 0.5.3object-assign: 4.1.1queue-cb: 1.5.0- rimraf2: 2.8.2([email protected])+ rimraf2: 2.8.2([email protected])stack-base-iterator: 1.2.10transitivePeerDependencies:- glob@@ -30599,7 +30687,7 @@ snapshots:dependencies:bl: 3.0.1buffer-v6-polyfill: 1.0.5@@ -30616,12 +30704,12 @@ snapshots:queue-cb: 1.5.0readable-stream: 2.3.8require_optional: 1.0.1- rimraf2: 2.8.2([email protected])+ rimraf2: 2.8.2([email protected])signal-exit: 3.0.7- tar-iterator: 1.3.4([email protected])+ tar-iterator: 1.3.4([email protected])temp-suffix: 0.1.18unbzip2-stream: 1.4.3- zip-iterator: 1.3.5([email protected])+ zip-iterator: 1.3.5([email protected])transitivePeerDependencies:- glob@@ -31215,6 +31303,12 @@ snapshots:package-json-from-dist: 1.0.0path-scurry: 1.11.1+ dependencies:+ minimatch: 10.2.0+ minipass: 7.1.2+ path-scurry: 2.0.1+dependencies:inflight: 1.0.6@@ -32035,6 +32129,10 @@ snapshots:optionalDependencies:'@pkgjs/parseargs': 0.11.0+ dependencies:+ '@isaacs/cliui': 9.0.0+dependencies:async: 3.2.5@@ -32266,6 +32364,8 @@ snapshots:+ [email protected]: {}+dependencies:'@types/diff-match-patch': 1.0.36@@ -33468,6 +33568,10 @@ snapshots:- bufferutil- utf-8-validate+ dependencies:+ brace-expansion: 5.0.2+dependencies:brace-expansion: 1.1.11@@ -34065,16 +34169,16 @@ snapshots:next: 16.0.7(@babel/[email protected])(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])- [email protected](@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]):+ [email protected](@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]):dependencies:'@dxup/nuxt': 0.2.2([email protected])'@nuxt/cli': 3.31.2([email protected])([email protected])'@nuxt/devtools': 3.1.1([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))'@nuxt/kit': 4.2.2([email protected])- '@nuxt/nitro-server': 4.2.2([email protected])([email protected])([email protected])([email protected](@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])([email protected])+ '@nuxt/nitro-server': 4.2.2([email protected])([email protected])([email protected])([email protected](@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])([email protected])'@nuxt/schema': 4.2.2'@nuxt/telemetry': 2.6.6([email protected])- '@nuxt/vite-builder': 4.2.2(@biomejs/[email protected])(@types/[email protected])([email protected])([email protected])([email protected](@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])+ '@nuxt/vite-builder': 4.2.2(@biomejs/[email protected])(@types/[email protected])([email protected])([email protected])([email protected](@biomejs/[email protected])(@parcel/[email protected])(@types/[email protected])(@vue/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]))([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])'@unhead/vue': 2.0.19([email protected]([email protected]))'@vue/shared': 3.5.25c12: 3.3.2([email protected])@@ -34198,6 +34302,12 @@ snapshots:pkg-types: 2.3.0tinyexec: 1.0.2+ dependencies:+ citty: 0.2.1+ pathe: 2.0.3+ tinyexec: 1.0.2+@@ -34565,6 +34675,11 @@ snapshots:lru-cache: 10.4.3minipass: 7.1.2+ dependencies:+ lru-cache: 11.2.4+ minipass: 7.1.2+@@ -35967,9 +36082,9 @@ snapshots:optionalDependencies:- glob: 10.4.5+ glob: 13.0.3dependencies:@@ -36981,15 +37096,15 @@ snapshots:dependencies:call-once-fn: 1.0.17- extract-base-iterator: 1.3.11([email protected])+ extract-base-iterator: 1.3.11([email protected])lifecycle: 1.0.4lodash.compact: 3.0.1mkdirp-classic: 0.5.3on-one: 0.1.6- rimraf2: 2.8.2([email protected])+ rimraf2: 2.8.2([email protected])tar-stream-compat: 2.1.5transitivePeerDependencies:- glob@@ -37397,6 +37512,15 @@ snapshots:+ dependencies:+ '@clack/prompts': 1.0.1+ commander: 14.0.3+ deepmerge: 4.3.1+ glob: 13.0.3+ jsonc-parser: 3.3.1+ nypm: 0.6.5+@@ -37965,7 +38089,7 @@ snapshots:- tsx- yaml- [email protected](@biomejs/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):+ [email protected](@biomejs/[email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:'@babel/code-frame': 7.27.1chokidar: 4.0.3@@ -37977,7 +38101,7 @@ snapshots:vite: 7.3.0(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])vscode-uri: 3.1.0optionalDependencies:- '@biomejs/biome': 1.9.4+ '@biomejs/biome': 2.3.15typescript: 5.9.3[email protected](@nuxt/[email protected]([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):@@ -38594,11 +38718,11 @@ snapshots:cookie-es: 2.0.0youch-core: 0.3.3dependencies:buffer-v6-polyfill: 1.0.5call-once-fn: 1.0.17- extract-base-iterator: 1.3.11([email protected])+ extract-base-iterator: 1.3.11([email protected])lifecycle: 1.0.4lodash.compact: 3.0.1mkdirp-classic: 0.5.3@@ -38606,7 +38730,7 @@ snapshots:os-shim: 0.1.3queue-cb: 1.5.0readable-stream: 2.3.8- rimraf2: 2.8.2([email protected])+ rimraf2: 2.8.2([email protected])short-hash: 1.0.0temp-suffix: 0.1.18zip: 1.2.0diff --git a/tooling/publish/tsconfig.json b/tooling/publish/tsconfig.jsonindex fb0dc1a37..e038d2c15 100644--- a/tooling/publish/tsconfig.json+++ b/tooling/publish/tsconfig.json@@ -1,7 +1,8 @@{"extends": "@openpanel/tsconfig/base.json","compilerOptions": {- "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",+ "strictNullChecks": true},"include": ["."],"exclude": ["node_modules"]