Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Commit 2b2d94e

Browse files
authored
Merge branch 'main' into feat/code-signign
2 parents f5e6178 + 59c8c2c commit 2b2d94e

201 files changed

Lines changed: 14318 additions & 22579 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/CODEOWNERS‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @PostHog/array

‎biome.jsonc‎

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@
1919
"recommended": true,
2020
"nursery": {
2121
"useSortedClasses": "error"
22+
},
23+
"style": {
24+
"noRestrictedImports": {
25+
"options": {
26+
"patterns": [
27+
{
28+
"group": ["./*", "../*"],
29+
"message": "Relative imports are forbidden. Use path aliases instead (@api/*, @main/*, @shared/*)."
30+
}
31+
]
32+
}
33+
}
2234
}
2335
},
2436
"domains": {
@@ -52,6 +64,26 @@
5264
"linter": {
5365
"enabled": false
5466
}
67+
},
68+
{
69+
// Renderer code should use path aliases
70+
"includes": ["src/renderer/**/*.ts", "src/renderer/**/*.tsx"],
71+
"linter": {
72+
"rules": {
73+
"style": {
74+
"noRestrictedImports": {
75+
"options": {
76+
"patterns": [
77+
{
78+
"group": ["./*", "../*"],
79+
"message": "Use path aliases instead: @features/*, @components/*, @stores/*, @hooks/*, @utils/*, @renderer/*, @shared/*, @api/*"
80+
}
81+
]
82+
}
83+
}
84+
}
85+
}
86+
}
5587
}
5688
]
5789
}

‎forge.config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function copyNativeDependency(
9797
const config: ForgeConfig = {
9898
packagerConfig: {
9999
asar: {
100-
unpack: "**/*.node",
100+
unpack: "{**/*.node,node_modules/@recallai/**}",
101101
},
102102
prune: false,
103103
name: "Array",

‎knip.json‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "https://unpkg.com/knip@latest/schema.json",
3+
"entry": [
4+
"src/main/index.ts",
5+
"src/main/preload.ts",
6+
"src/renderer/main.tsx",
7+
"forge.config.ts",
8+
"vite.main.config.mts",
9+
"vite.preload.config.mts",
10+
"vite.renderer.config.mts"
11+
],
12+
"project": ["src/**/*.{ts,tsx}", "scripts/**/*.ts"],
13+
"ignore": [
14+
"src/api/generated.ts",
15+
"src/renderer/features/recordings/**",
16+
"src/main/services/recording-*.ts"
17+
],
18+
"ignoreDependencies": [
19+
"@tiptap/core",
20+
"@radix-ui/react-collapsible",
21+
"typed-openapi"
22+
]
23+
}

0 commit comments

Comments
 (0)