forked from highlight/highlight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 6.64 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "highlight",
"private": true,
"version": "1.0.0",
"repository": "[email protected]:highlight-run/highlight.git",
"author": "Highlight",
"license": "Apache-2.0",
"workspaces": [
"docs-content",
"e2e/*",
"packages/*",
"highlight.io",
"frontend",
"sdk/client",
"sdk/firstload",
"sdk/highlight-apollo",
"sdk/highlight-cloudflare",
"sdk/highlight-chrome",
"sdk/highlightinc-highlight-datasource",
"sdk/highlight-hono",
"sdk/highlight-nest",
"sdk/highlight-next",
"sdk/highlight-node",
"sdk/highlight-react",
"sdk/highlight-remix",
"sdk/pino",
"render",
"rrweb",
"rrweb/packages/*",
"rrweb/packages/plugins/*",
"opentelemetry-sdk-workers/packages/opentelemetry-sdk-workers",
"scripts",
"sourcemap-uploader"
],
"scripts": {
"build:all": "yarn turbo run build",
"build:backend": "cd backend && go build",
"build:frontend": "yarn turbo run build --filter @highlight-run/frontend...",
"build:render": "yarn turbo run build --filter=render",
"build:sdk": "yarn turbo run build --filter highlight.run --filter @highlight-run/cloudflare --filter @highlight-run/react --filter @highlight-run/apollo... --filter @highlight-run/next... --filter @highlight-run/nest... --filter @highlight-run/pino... --filter @highlight-run/remix... --filter @highlight-run/hono...",
"build:wordpress": "cd sdk/highlight-wordpress && cp ../../sdk/firstload/dist/index.umd.js highlight-io/highlight.js && zip -r highlight-io.zip highlight-io -x '*/.*'",
"cy:run": "cypress run",
"cy:run:chrome": "cypress run --headed --browser chrome",
"clean": "find . -depth -name node_modules -exec rm -r \"{}\" \\; && find . -name tsconfig.tsbuildinfo -delete && find . -depth -name dist -exec rm -r \"{}\" \\; && find . -depth -name build -exec rm -r \"{}\" \\; && find . -depth -name es -exec rm -r \"{}\" \\;",
"dev": "run-p --print-label --race 'dev:*'",
"dev:backend": "cd backend && make start",
"dev:components": "yarn turbo run dev --filter @highlight-run/component-preview...",
"dev:frontend": "doppler run -- yarn turbo run dev --filter @highlight-run/frontend",
"dev:frontend:minimal": "doppler run -- yarn workspace @highlight-run/frontend dev",
"dev:highlight.io": "doppler run -- yarn turbo run dev --filter highlight.io",
"dev:ui": "yarn turbo run dev --filter @highlight-run/ui...",
"dev:watch": "yarn turbo run dev:watch --concurrency=32",
"generate:antlr": "yarn generate:antlr:ts && yarn generate:antlr:go",
"generate:antlr:ts": "antlr4 -Dlanguage=TypeScript -o ./frontend/src/components/Search/Parser ./antlr/SearchGrammar.g4 && prettier --write ./frontend/src/components/Search/Parser/antlr/*.ts",
"generate:antlr:go": "antlr4 -Dlanguage=Go -o ./backend/parser ./antlr/SearchGrammar.g4",
"reflame": "cd frontend && yarn reflame",
"reflame-build": "cd frontend && yarn reflame-build",
"reflame-check": "./scripts/reflame-check.sh",
"dev:redis": "redis-server",
"docker:frontend": "yarn turbo run dev --filter @highlight-run/frontend --filter highlight.run",
"e2e:cloudflare": "yarn turbo run dev --filter cloudflare-worker...",
"e2e:express": "yarn turbo run dev --filter express...",
"e2e:nestjs": "yarn turbo run dev --filter nestjs",
"e2e:nextjs": "yarn turbo run dev --filter nextjs... --filter=!@highlight-run/client --filter=!highlight.run --filter=!@highlight-run/opentelemetry-sdk-workers",
"e2e:remix": "yarn turbo run dev --filter remix...",
"enforce-size": "yarn turbo run enforce-size --filter @highlight-run/frontend...",
"format-check": "prettier --check --ignore-unknown .",
"format:all": "prettier --write --ignore-unknown .",
"frontend:start": "yarn dev:frontend",
"g": "yarn generate",
"generate": "hygen",
"lint": "yarn run turbo lint --filter=!rrweb --filter=!@rrweb/types --filter=!rrweb-snapshot --filter=!rrweb-player --filter=!rrdom --filter=!rrdom-nodejs",
"prepare": "husky",
"preinstall": "git submodule update --init --recursive || true",
"validate": "yarn workspace scripts validate:client",
"private-gen": "cd backend && make private-gen",
"public-gen": "cd backend && make public-gen",
"publish:ai": "yarn workspace @highlight-run/ai publish",
"publish:client": "yarn workspace scripts publish:client",
"publish:react-email-templates": "yarn workspace emails publish",
"publish:render": "yarn workspace render publish",
"publish:turbo": "yarn workspaces foreach -R --no-private --from '@highlight-run/*' npm publish --access public --tolerate-republish && yarn workspace highlight.run npm publish --access public --tolerate-republish && yarn workspace @highlight-run/opentelemetry-sdk-workers npm publish --access public --tolerate-republish",
"test:all": "yarn turbo run test --filter=!render --filter=!rrweb --filter=!rrvideo --filter=!@rrweb/rrweb-plugin-console-record --filter=!@rrweb/_monorepo --filter=!@rrweb/all --filter=!@rrweb/record --filter=!@rrweb/replay --filter=!@rrweb/types --filter=!@rrweb/packer --filter=!@rrweb/utils --filter=!rrweb-snapshot --filter=!rrweb-player --filter=!rrdom --filter=!rrdom-nodejs --filter=!nextjs",
"test:render": "yarn turbo run test --filter=render",
"sourcemaps:frontend": "yarn workspace @highlight-run/frontend sourcemaps",
"knip:frontend": "knip --workspace @highlight-run/frontend"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@types/node": "^20.12.12",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"all-contributors-cli": "^6.26.0",
"antlr4ts-cli": "^0.5.0-alpha.4",
"chalk": "^5.0.1",
"chokidar": "^3.5.3",
"cypress": "^13.7.0",
"esbuild": "^0.19.5",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-tsdoc": "^0.2.17",
"fflate": "^0.8.1",
"husky": "^9.1.4",
"hygen": "^6.2.7",
"knip": "^5.16.0",
"node-gyp": "^10.0.1",
"npm-run-all": "^4.1.5",
"patch-package": "^6.4.7",
"postcss-modules": "^4.3.1",
"prettier": "^3.3.3",
"pretty-quick": "^4.0.0",
"readdirp": "^3.6.0",
"turbo": "^2.2.3",
"typescript": "^5.5.2"
},
"packageManager": "[email protected]",
"resolutions": {
"ansi-color@^0.2.1": "patch:ansi-color@npm%3A0.2.1#./.yarn/patches/ansi-color-npm-0.2.1-f7243d10a4.patch",
"[email protected]": "0.7.2",
"cookie@^0.5.0": "0.7.2",
"cookie@^0.6.0": "0.7.2",
"cookie@~0.4.1": "0.7.2",
"[email protected]": "4.3.7",
"lodash-es@^4.17.21": "patch:lodash-es@npm%3A4.17.21#./.yarn/patches/lodash-es-npm-4.17.21-b45832dfce.patch",
"protobufjs": "patch:protobufjs@npm%3Alatest#~/.yarn/patches/protobufjs-npm-7.2.6-4bb38caa1d.patch",
"[email protected]": "7.6.0",
"[email protected]": "7.6.0",
"[email protected]": "6.2.1",
"[email protected]": "6.3.0",
"[email protected]": "6.3.0",
"tough-cookie@~2.5.0": "4.1.3",
"xml2js@^0.4.17": "0.5.0",
"[email protected]": "1.6.31"
}
}