diff --git a/sdk/highlight-remix/package.json b/sdk/highlight-remix/package.json index 8ecd4ede4..6a1192ceb 100644 --- a/sdk/highlight-remix/package.json +++ b/sdk/highlight-remix/package.json @@ -45,6 +45,7 @@ }, "devDependencies": { "@remix-run/react": "^2.10.0", + "@types/js-cookie": "^3.0.6", "tsup": "^8.3.6", "typescript": "^5.1.6" } diff --git a/turbo.json b/turbo.json index 73136946e..c1c4f295f 100644 --- a/turbo.json +++ b/turbo.json @@ -1,6 +1,15 @@ { "$schema": "https://turborepo.org/schema.json", "tasks": { + "highlight.run#typegen": { + "dependsOn": [ + "rrweb#build", + "@rrweb/rrweb-plugin-sequential-id-record#build", + "@rrweb/types#build" + ], + "inputs": ["src/**/*.tsx", "src/**/*.ts", "tsconfig.json"], + "outputs": ["dist/**/*.d.ts"] + }, "codegen": { "inputs": ["./**/*.gql", "./**/*.graphqls"], "outputs": ["src/graph/generated/**"], diff --git a/yarn.lock b/yarn.lock index f72a64539..714c0c3d2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6941,6 +6941,7 @@ __metadata: "@highlight-run/react": "workspace:*" "@opentelemetry/instrumentation": "npm:>=0.53.0" "@remix-run/react": "npm:^2.10.0" + "@types/js-cookie": "npm:^3.0.6" highlight.run: "workspace:*" js-cookie: "npm:^3.0.5" tsup: "npm:^8.3.6"