-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
72 lines (72 loc) · 3.93 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
{
"name": "cerbos-sdk-javascript",
"private": true,
"packageManager": "[email protected]",
"engines": {
"node": "22.6.0",
"pnpm": "9.9.0"
},
"scripts": {
"all:parallel": "concurrently --group --prefix=none",
"api:extract": "pnpm --filter='./packages/*' --parallel exec api-extractor run",
"api:fixup": "scripts/sed-all api 's/_2//'",
"build": "tsc --build",
"build:watch": "tsc --build --watch",
"clean": "rm -rf api packages/*/lib private/*/tsconfig.tsbuildinfo",
"docs": "pnpm run build && pnpm run api:extract && pnpm run api:fixup && pnpm run docs:generate && pnpm run docs:fixup",
"docs:fixup": "scripts/sed-all docs 's/\\r$//'",
"docs:generate": "api-documenter markdown --input-folder api --output-folder docs",
"generate": "pnpm run generate:clean && pnpm run all:parallel 'pnpm:generate:*(!clean|format)' && pnpm run generate:format",
"generate:buf:core": "buf generate --template=packages/core/buf.gen.yaml",
"generate:buf:embedded": "buf generate --template=packages/embedded/buf.gen.yaml",
"generate:buf:files": "buf generate --template=packages/files/buf.gen.yaml",
"generate:buf:grpc": "buf generate --template=packages/grpc/buf.gen.yaml",
"generate:buf:http": "buf generate --template=packages/http/buf.gen.yaml",
"generate:buf:test": "buf generate --template=private/test/buf.gen.yaml",
"generate:changelogs": "tsx private/scripts/src/generate/changelogs.ts",
"generate:clean": "rm -rf packages/*/src/protobuf private/*/src/protobuf",
"generate:external-types-index": "scripts/generate-external-types-index",
"generate:format": "prettier --write packages/*/src/protobuf private/*/src/protobuf",
"lint": "pnpm run all:parallel 'pnpm:lint:check:*'",
"lint:check:depcheck": "pnpm --recursive --include-workspace-root exec depcheck --ignore-patterns=/lib/ --quiet --skip-missing",
"lint:check:eslint": "eslint --max-warnings=0 .",
"lint:check:prettier": "prettier --check .",
"lint:check:types": "pnpm --recursive --filter='./packages/*' exec attw --pack .",
"lint:fix": "pnpm run lint:fix:eslint && pnpm run lint:fix:prettier",
"lint:fix:eslint": "eslint --fix --max-warnings=0 .",
"lint:fix:prettier": "prettier --write .",
"proto": "pnpm run proto:clean && pnpm run proto:export",
"proto:clean": "rm -rf proto",
"proto:export": "pnpm run all:parallel 'pnpm:proto:export:*'",
"proto:export:cerbos": "buf export --output=proto buf.build/cerbos/cerbos-api",
"proto:export:gogoproto": "buf export --output=proto buf.build/gogo/protobuf",
"proto:export:jaeger": "mkdir -p proto/jaeger/proto/api_v3 && curl --fail --silent --show-error https://raw.githubusercontent.com/jaegertracing/jaeger-idl/main/proto/api_v3/query_service.proto --output proto/jaeger/proto/api_v3/query_service.proto",
"proto:export:opentelemetry": "buf export --output=proto 'https://github.com/open-telemetry/opentelemetry-proto.git#tag=v1.1.0'",
"releases:prepare": "tsx private/scripts/src/releases/prepare.ts",
"releases:tag": "tsx private/scripts/src/releases/tag.ts",
"test": "pnpm run --filter=./private/test test",
"test:matrix": "tsx private/scripts/src/test/matrix.ts",
"test:servers:start": "pnpm run --filter=./private/test test:servers:start",
"test:servers:stop": "pnpm run --filter=./private/test test:servers:stop"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.15.4",
"@microsoft/api-documenter": "7.25.12",
"@microsoft/api-extractor": "7.47.7",
"@tsconfig/node18": "18.2.4",
"@tsconfig/strictest": "2.0.5",
"@types/node": "18.19.47",
"@typescript-eslint/eslint-plugin": "8.3.0",
"@typescript-eslint/parser": "8.3.0",
"concurrently": "8.2.2",
"depcheck": "1.4.7",
"eslint": "8.57.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-tsdoc": "0.3.0",
"prettier": "3.3.3",
"prettier-plugin-pkg": "0.18.1",
"ts-proto": "2.0.3",
"tsx": "4.19.0",
"typescript": "5.5.4"
}
}