-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 3.61 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 3.61 KB
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
{
"name": "mosoo",
"private": true,
"workspaces": [
"apps/*",
"pkgs/*",
"e2e"
],
"type": "module",
"scripts": {
"build": "vp run --filter @mosoo/agent-driver build && vp run --filter @mosoo/web build",
"cf:types": "vp run --filter @mosoo/api cf:types",
"check": "vp run -w fmt:check && vp run -w docs:check && vp run -w lint && vp run -w tc && vp run -w test && vp run -w public-api:contract:check",
"db:migrate:local": "vp run --filter @mosoo/api db:migrate:local",
"deploy": "vp run -w deploy:api && vp run -w deploy:web",
"deploy:api": "vp run --filter @mosoo/api deploy",
"deploy:web": "vp run --filter @mosoo/web deploy",
"dev": "vp run --filter @mosoo/api --filter @mosoo/web --parallel dev",
"docs:check": "vp exec bun scripts/check-doc-links.ts",
"driver:submodule:smoke": "vp exec bun scripts/check-driver-submodule-cutover.ts",
"e2e": "bun e2e/cli.ts",
"env:init": "vp run --filter @mosoo/api env:init",
"fmt": "vp fmt --write config scripts vite.config.ts justfile apps/api apps/web pkgs e2e --ignore-path .gitignore",
"fmt:check": "vp fmt --check config scripts vite.config.ts justfile apps/api apps/web pkgs e2e --ignore-path .gitignore",
"fmt:check:path": "vp fmt --check --ignore-path .gitignore",
"graphql:codegen": "vp exec tsx node_modules/.bin/graphql-codegen --config config/graphql-codegen.ts",
"commit:check": "vp exec bun scripts/validate-commit-range.ts origin/main HEAD",
"graphql:codegen:check": "vp exec tsx scripts/check-graphql-codegen.ts",
"help-docs-index": "bun scripts/generate-help-docs-index.ts",
"hooks:install": "vp exec prek -c config/prek.toml install",
"knip": "vp exec knip --config config/knip.jsonc",
"lint": "vp run -w cf:types && vp lint vite.config.ts config/bun-script-types.d.ts config/vite-plus.shared.ts scripts apps/api apps/web pkgs e2e",
"public-api:breaking:check": "vp exec bun scripts/check-public-api-breaking-changes.ts",
"public-api:contract:check": "vp run -w public-api:openapi:check && vp run -w public-api:breaking:check",
"public-api:openapi:check": "vp exec bun scripts/public-api-openapi-artifact.ts --check",
"public-api:openapi:generate": "vp exec bun scripts/public-api-openapi-artifact.ts --write",
"public-api:smoke": "vp exec bun scripts/public-api-nonproduction-smoke.ts",
"react-doctor": "vp exec react-doctor apps/web --scope full --blocking none",
"react-doctor:diff": "vp exec react-doctor apps/web --verbose --scope changed --blocking none",
"react-doctor:report": "vp exec react-doctor apps/web --json --json-compact --scope full --blocking none",
"tc": "vp run -r tc",
"test": "vp exec bun test config/commit-policy.test.ts config/public-api-compatibility.test.ts scripts/public-api-nonproduction-smoke.test.ts scripts/validate-commit-message.test.ts && vp run --filter @mosoo/api --filter @mosoo/agent-driver --filter @mosoo/web --filter @mosoo/ag-ui-session --filter @mosoo/agent-package --filter @mosoo/contracts --filter @mosoo/db --filter @mosoo/id --filter @mosoo/public-api-client --filter @mosoo/runtime-catalog --filter @mosoo/runtime-events --filter @mosoo/session-policy --filter @mosoo/skill-package test && vp run -w graphql:codegen:check"
},
"devDependencies": {
"@graphql-codegen/cli": "^7.2.0",
"@graphql-codegen/client-preset": "^6.1.3",
"@graphql-codegen/schema-ast": "^6.1.0",
"@j178/prek": "^0.4.13",
"graphql": "^17.0.2",
"knip": "^6.32.2",
"react-doctor": "0.9.12",
"tsx": "^4.23.12",
"vite-plus": "^0.1.24"
},
"engines": {
"bun": ">=1.4.0-canary.1"
},
"packageManager": "bun@1.4.0-canary.1"
}