-
Notifications
You must be signed in to change notification settings - Fork 83
/
package.json
126 lines (126 loc) · 6.51 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
{
"name": "hash",
"version": "0.0.0-private",
"private": true,
"description": "HASH monorepo",
"workspaces": {
"packages": [
"apps/**",
"blocks/*",
"libs/**",
"tests/**"
]
},
"scripts": {
"codegen": "turbo codegen",
"create-block": "yarn workspace @local/repo-chores exe scripts/create-block.ts",
"dev": "turbo dev --log-order stream --filter '@apps/hash-api' --filter '@apps/hash-frontend' --",
"dev:backend": "turbo dev --log-order stream --filter '@apps/hash-api' --",
"dev:backend:api": "turbo dev --log-order stream --filter '@apps/hash-api' --",
"dev:backend:realtime": "turbo dev --log-order stream --filter '@apps/hash-realtime' --",
"dev:backend:search-loader": "turbo dev --log-order stream --filter '@apps/hash-search-loader' --",
"dev:frontend": "turbo dev --log-order stream --filter '@apps/hash-frontend' --",
"start": "turbo run start start:healthcheck --filter @apps/hash-graph --filter @rust/type-fetcher --filter @apps/hash-api --filter @apps/hash-ai-worker-ts --filter @apps/hash-integration-worker --filter @apps/hash-frontend --env-mode=loose",
"start:graph": "turbo run start start:healthcheck --filter @apps/hash-graph --filter @rust/hash-graph-type-fetcher --env-mode=loose",
"start:backend": "turbo run start start:healthcheck --filter @apps/hash-api --env-mode=loose",
"start:frontend": "turbo run start start:healthcheck --filter @apps/hash-frontend --env-mode=loose",
"start:graph:test-server": "turbo run start start:healthcheck --filter @rust/hash-graph-test-server",
"start:worker": "turbo run start start:healthcheck --filter '@apps/hash-*-worker*' --env-mode=loose",
"start:test": "turbo run start:test start:test:healthcheck --env-mode=loose",
"graph:reset-database": "yarn workspace @rust/hash-graph-http-tests reset-database",
"external-services": "turbo deploy --filter '@apps/hash-external-services' --",
"external-services:offline": "turbo deploy:offline --filter '@apps/hash-external-services' --",
"external-services:test": "turbo deploy:test --filter '@apps/hash-external-services' --",
"external-services:prod": "turbo deploy:prod --filter '@apps/hash-external-services' --",
"generate-system-types": "yarn workspace @local/hash-isomorphic-utils generate-system-types",
"generate-ontology-type-ids": "yarn workspace @apps/hash-api generate-ontology-type-ids",
"fix": "npm-run-all --continue-on-error \"fix:*\"",
"@TODO.1": "Upgrade or remove these blocks and remove the --ignore-package options (also @TODO.2)",
"fix:dependency-version-consistency": "check-dependency-version-consistency --fix . --ignore-dep=@blockprotocol/graph --ignore-package=@apps/hashdotdev --ignore-package=@blocks/embed --ignore-package=@blocks/person",
"fix:eslint": "turbo --continue fix:eslint --",
"fix:taplo": "taplo fmt",
"fix:markdownlint": "markdownlint --dot --fix .",
"fix:prettier": "prettier --write --ignore-unknown .",
"fix:yarn-deduplicate": "yarn install && yarn-deduplicate --strategy=fewer && yarn install",
"lint": "npm-run-all --continue-on-error \"lint:*\"",
"@TODO.2": "Upgrade or remove these blocks and remove the --ignore-package options (also @TODO.1)",
"lint:dependency-version-consistency": "check-dependency-version-consistency . --ignore-dep=@blockprotocol/graph --ignore-package=@apps/hashdotdev --ignore-package=@blocks/embed --ignore-package=@blocks/person",
"lint:eslint": "turbo --continue lint:eslint --",
"lint:license-in-workspaces": "yarn workspace @local/repo-chores exe scripts/check-license-in-workspaces.ts",
"lint:lockfile-lint": "lockfile-lint --path yarn.lock --allowed-hosts registry.yarnpkg.com --allowed-schemes \"https:\"",
"lint:markdownlint": "markdownlint --dot .",
"lint:prettier": "prettier --check --ignore-unknown .",
"lint:taplo": "taplo fmt --check",
"lint:tsc": "turbo --continue lint:tsc --",
"lint:yarn-deduplicate": "yarn-deduplicate --fail --list --strategy=fewer",
"postinstall": "turbo run postinstall; patch-package --error-on-warn && husky install .config/husky",
"seed-data:opensearch": "yarn workspace @apps/hash-search-loader clear-opensearch",
"seed-data:redis": "yarn workspace @apps/hash-realtime clear-redis",
"seed-data": "concurrently \"yarn:seed-data:*\"",
"test": "npm-run-all --continue-on-error \"test:*\"",
"test:unit": "turbo run test:unit --env-mode=loose --",
"test:integration": "turbo run test:integration --env-mode=loose --",
"test:playwright": "turbo run test:integration --env-mode=loose --filter @tests/hash-playwright --",
"bench": "npm-run-all --continue-on-error \"bench:*\"",
"bench:unit": "turbo run bench:unit --env-mode=loose --",
"bench:integration": "turbo run bench:integration --env-mode=loose --",
"prune-node-modules": "find . -type d -name \"node_modules\" -exec rm -rf {} +"
},
"lint-staged": {
"**": [
"suppress-exit-code markdownlint --fix",
"suppress-exit-code prettier --write"
]
},
"prettier": {
"plugins": [
"prettier-plugin-packagejson",
"prettier-plugin-sh"
],
"trailingComma": "all",
"overrides": [
{
"files": "*.sql",
"options": {
"keywordCase": "upper",
"language": "postgresql"
}
}
]
},
"resolutions": {
"@opentelemetry/exporter-metrics-otlp-grpc": "0.55.0",
"@opentelemetry/exporter-metrics-otlp-http": "0.55.0",
"@opentelemetry/exporter-metrics-otlp-proto": "0.55.0",
"@opentelemetry/exporter-trace-otlp-grpc": "0.55.0",
"@opentelemetry/exporter-trace-otlp-http": "0.55.0",
"@opentelemetry/exporter-trace-otlp-proto": "0.55.0",
"@types/react": "18.2.68",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.0",
"@taplo/cli": "0.7.0",
"check-dependency-version-consistency": "3.0.3",
"concurrently": "7.6.0",
"cross-env": "7.0.3",
"dotenv-flow": "3.3.0",
"husky": "8.0.3",
"lint-staged": "15.2.10",
"lockfile-lint": "4.14.0",
"markdownlint-cli": "0.43.0",
"npm-run-all2": "7.0.1",
"patch-package": "6.5.1",
"postinstall-postinstall": "2.1.0",
"prettier": "3.3.3",
"prettier-plugin-packagejson": "2.5.6",
"prettier-plugin-sh": "0.14.0",
"suppress-exit-code": "3.2.0",
"turbo": "2.3.1",
"wait-on": "8.0.1",
"yarn-deduplicate": "6.0.2"
},
"packageManager": "yarn@1.22.22+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca"
}