-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
169 lines (169 loc) · 11.2 KB
/
Copy pathpackage.json
File metadata and controls
169 lines (169 loc) · 11.2 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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "hephaestus",
"version": "0.74.0",
"private": true,
"packageManager": "bun@1.4.0",
"type": "module",
"scripts": {
"changeset:version": "bun --bun changeset version && bun scripts/sync-release-version.ts",
"generate:api:application-server:clean": "bun -e \"import('node:fs/promises').then(fs => fs.rm('webapp/src/api', {recursive: true, force: true}))\"",
"generate:api:application-server:specs": "bun scripts/generate-openapi-spec.ts",
"generate:api:application-server:client": "bun run generate:api:application-server:clean && bun run --filter webapp generate:api",
"generate:api:application-server": "bun run generate:api:application-server:specs && bun run generate:api:application-server:client",
"generate:api": "bun run generate:api:application-server",
"format:java": "bun scripts/run-mvnw.ts -pl application spotless:apply -q",
"format:java:check": "bun scripts/run-mvnw.ts -pl application spotless:check -q",
"lint:java": "bun run prepare:server:generated && bun scripts/run-mvnw.ts -f application/pom.xml compile pmd:check -q",
"lint:java:report": "bun run prepare:server:generated && bun scripts/run-mvnw.ts -f application/pom.xml compile pmd:pmd && echo 'Report: server/application/target/site/pmd.html'",
"check:affected": "bun scripts/check-affected.ts",
"format:webapp": "bun run --filter webapp format",
"format:webapp:check": "bun run --filter webapp format:check",
"lint:webapp": "bun run --filter webapp lint",
"lint:webapp:fix": "bun run --filter webapp lint:fix",
"check:webapp": "bun run --filter webapp check",
"check:webapp:affected": "bun --bun run-s check:client check:components check:stories check:story-sort",
"check:webapp:fix": "bun run --filter webapp check:fix",
"typecheck:webapp": "bun run --filter webapp typecheck",
"test:webapp": "bun run --filter webapp test",
"test:server:unit": "cd server && ./mvnw -pl application -am package -Dsurefire.includedGroups=unit -DskipCoverage=false --batch-mode",
"test:server:architecture": "cd server && ./mvnw -pl application -am package -Parchitecture-tests --batch-mode",
"test:server:verification": "cd server && ./mvnw -pl application -am package -Parchitecture-tests -Dsurefire.includedGroups=unit,architecture -DskipCoverage=false --batch-mode",
"test:server:integration": "cd server && ./mvnw -pl application -am package -Dsurefire.includedGroups=integration -Dparallel=none --batch-mode",
"test:server:mutation": "bun scripts/run-security-mutations.ts",
"summarize:test-results": "bun scripts/summarize-test-results.ts",
"build:webapp": "bun run --filter webapp build",
"nats:extract-examples": "bun scripts/nats-extract-examples.ts",
"typecheck:scripts": "bun --bun tsc -p scripts/tsconfig.json --noEmit",
"typecheck:agents": "bun --bun tsc -p tsconfig.agents.json --noEmit",
"test:agents": "bun test server/application/src/test/resources/agent docker/agents/precompute",
"format:agents": "oxfmt --write 'server/application/src/{main,test}/resources/agent/**/*.ts' 'server/application/src/main/resources/practices/precompute/**/*.ts' 'docker/agents/precompute/**/*.ts' 'scripts/**/*.ts'",
"format:agents:check": "oxfmt --check 'server/application/src/{main,test}/resources/agent/**/*.ts' 'server/application/src/main/resources/practices/precompute/**/*.ts' 'docker/agents/precompute/**/*.ts' 'scripts/**/*.ts'",
"format:agent-runtime:check": "oxfmt --check 'server/application/src/{main,test}/resources/agent/**/*.ts' 'server/application/src/main/resources/practices/precompute/**/*.ts' 'docker/agents/precompute/**/*.ts'",
"format:docs": "oxfmt --write 'docs/**/*.{js,jsx,ts,tsx,json,jsonc,css}'",
"format:docs:check": "oxfmt --check 'docs/**/*.{js,jsx,ts,tsx,json,jsonc,css}'",
"format:config": "oxfmt --write *.ts *.json .oxfmtrc.json .oxlintrc.json .changeset/*.cjs .changeset/*.json .vscode/*.json scripts/tsconfig.json project.code-workspace",
"format:config:check": "oxfmt --check *.ts *.json .oxfmtrc.json .oxlintrc.json .changeset/*.cjs .changeset/*.json .vscode/*.json scripts/tsconfig.json project.code-workspace",
"lint:agents": "oxlint server docker scripts docs .changeset .github.qkg1.topmitlint.config.ts",
"lint:agents:fix": "oxlint --fix server docker scripts docs .changeset .github.qkg1.topmitlint.config.ts",
"check:agents": "bun run format:agents:check && bun run format:docs:check && bun run format:config:check && bun run lint:agents && bun run typecheck:agents && bun run typecheck:scripts && bun scripts/check-release-image-inventory.ts && bun run test:tooling",
"check:agents:fix": "bun run format:agents && bun run format:docs && bun run format:config && oxlint --fix server docker scripts docs .changeset .github.qkg1.topmitlint.config.ts",
"ci:agents": "bun run format:agents:check && bun run format:docs:check && bun run format:config:check && oxlint -f github server docker scripts docs .changeset .github.qkg1.topmitlint.config.ts",
"format:server": "bun run format:java",
"format:server:check": "bun run format:java:check",
"lint:server": "bun run lint:java",
"check:server": "bun run format:server:check && bun run lint:server",
"check:server:affected": "bun --bun run-s check:java-nullness check:server",
"check:agent-runtime": "bun run format:agent-runtime:check && oxlint server/application/src/main/resources/agent server/application/src/test/resources/agent server/application/src/main/resources/practices/precompute docker/agents/precompute && bun run typecheck:agents",
"check:docs": "bun run format:docs:check && oxlint docs && bun run docs:lint && bun run check:diagrams && bun run check:instructions",
"check:contracts": "bun scripts/validate-artifact-source-contracts.ts && bun scripts/check-artifact-source-contract-immutability.ts && bun test scripts/check-artifact-source-contract-immutability.test.ts",
"format:client": "bun run format:webapp",
"format:client:check": "bun run format:webapp:check",
"lint:client": "bun --bun run-s -c check:webapp typecheck:webapp",
"check:client": "bun --bun run-s check:webapp typecheck:webapp",
"format": "bun run format:server && bun run format:client && bun run format:agents && bun run format:docs && bun run format:config",
"format:check": "bun run format:server:check && bun run format:client:check && bun run format:agents:check && bun run format:docs:check && bun run format:config:check",
"lint": "bun --bun run-s lint:server lint:client lint:agents",
"check": "bun --bun run-s check:package-manager check:agent-runtime-pins check:java-nullness check:server check:client check:agents test:agents check:stories check:story-sort check:components check:diagrams check:preview-stack check:env check:contracts check:instructions check:changesets docs:lint",
"verify": "bun --bun run-s check test:webapp test:webapp:stories test:server:verification verify:webapp-build verify:storybook-build docs:build",
"test:webapp:stories": "bun run --filter webapp test:storybook",
"verify:webapp-build": "bun scripts/verify-webapp-build.ts",
"verify:storybook-build": "bun run --filter webapp build-storybook",
"typecheck": "bun run typecheck:webapp && bun run typecheck:scripts && bun run typecheck:agents",
"db:draft-changelog": "bun scripts/db-utils.ts draft-changelog",
"db:generate-erd-docs": "bun scripts/db-utils.ts generate-erd",
"check:ports": "bun scripts/check-ports.ts",
"format:achievements": "bun scripts/format-achievements.ts",
"github:update-schema": "bun scripts/update-github-schema.ts",
"gitlab:update-schema": "bun scripts/update-gitlab-schema.ts",
"outline:update-spec": "bun scripts/update-outline-spec.ts",
"docs:dev": "bun run --filter docs start",
"docs:build": "bun run --filter docs build",
"docs:serve": "bun run --filter docs serve",
"docs:lint": "bun run --filter docs lint",
"prepare": "bun --bun husky",
"dev:compose": "cd server && docker compose up -d --wait",
"dev:compose:down": "cd server && docker compose down",
"dev:reset": "cd server && docker compose down -v && bun -e \"import('node:fs/promises').then(fs => fs.rm('postgres-data', {recursive: true, force: true}))\" && docker compose up -d --wait",
"dev:server": "bun run dev:compose && cd server && ./mvnw -pl generated-clients -am install -DskipTests --batch-mode && ./mvnw -f application/pom.xml spring-boot:run",
"dev:server:e2e": "cd server && docker compose up -d --wait postgres nats && ./mvnw -pl generated-clients -am install -DskipTests --batch-mode && ./mvnw -f application/pom.xml spring-boot:run -Dapp.profiles=e2e",
"dev:webapp": "bun run --filter webapp dev",
"dev": "mprocs",
"check:story-sort": "bun scripts/check-story-sort.ts",
"check:stories": "bun scripts/check-story-prose.ts",
"check:components": "bun scripts/check-presentational-components.ts",
"check:diagrams": "bun scripts/check-mermaid-diagrams.ts",
"check:preview-stack": "bun scripts/check-preview-stack.ts && bun test scripts/check-preview-stack.test.ts",
"check:env": "bun scripts/check-env-defaults.ts && bun scripts/check-env-roles.ts && bun test scripts/check-env-roles.test.ts scripts/self-host-setup.test.ts",
"check:agent-runtime-pins": "bun scripts/check-agent-runtime-pins.ts",
"check:java-nullness": "bun scripts/check-java-nullness.ts && bun test scripts/check-java-nullness.test.ts",
"check:instructions": "bun scripts/check-agent-instructions.ts && bun test scripts/check-agent-instructions.test.ts",
"check:changesets": "bun test scripts/verify-changesets.test.ts scripts/sync-release-version.test.ts",
"prepare:server:generated": "cd server && ./mvnw -pl generated-clients -am install -DskipTests --batch-mode",
"check:package-manager": "bun scripts/check-package-manager.ts",
"e2e:setup": "bun scripts/e2e-setup.ts",
"jean:public-test": "bun scripts/jean-public-test.ts",
"qualify:bun-lockfile": "bun scripts/qualify-bun-lockfile.ts",
"test:tooling": "bun test scripts/*.test.ts"
},
"devDependencies": {
"@changesets/cli": "2.31.1",
"@commitlint/cli": "21.0.1",
"@commitlint/config-conventional": "21.0.1",
"@earendil-works/pi-coding-agent": "0.84.3",
"@nats-io/jetstream": "3.4.0",
"@nats-io/transport-node": "3.4.0",
"@openapitools/openapi-generator-cli": "2.32.0",
"@types/bun": "1.4.0",
"@types/node": "24.12.4",
"@types/npm-package-arg": "6.1.4",
"@types/pg": "8.20.0",
"ajv": "8.20.0",
"ajv-formats": "3.0.1",
"commander": "14.0.3",
"fast-xml-parser": "^5.11.0",
"fast-xml-validator": "1.4.2",
"graphql": "16.14.0",
"husky": "9.1.7",
"jsdom": "29.1.1",
"jsonc-parser": "3.3.1",
"mdast-util-from-markdown": "2.0.3",
"mdast-util-mdx": "3.0.0",
"mermaid": "11.16.1",
"micromark-extension-mdxjs": "3.0.0",
"mprocs": "0.9.3",
"npm-package-arg": "13.0.2",
"npm-run-all2": "8.0.4",
"oxfmt": "0.65.0",
"oxlint": "1.79.0",
"oxlint-tsgolint": "7.0.2001",
"pg": "8.20.0",
"surge": "0.43.1",
"typescript": "7.0.2"
},
"workspaces": [
".",
"webapp",
"docs"
],
"overrides": {
"mermaid": "11.16.1",
"vitest": "4.1.11",
"@vitest/browser": "4.1.11",
"@vitest/runner": "4.1.11",
"dompurify": "3.4.13",
"lodash": "4.18.1",
"lodash-es": "4.18.1",
"serialize-javascript": "7.0.5",
"js-yaml": "4.3.1",
"@opentelemetry/core": "2.8.0"
},
"trustedDependencies": [
"@swc/core",
"esbuild"
],
"patchedDependencies": {
"zod@4.4.3": "patches/zod@4.4.3.patch",
"storybook@10.4.0": "patches/storybook@10.4.0.patch",
"gray-matter@4.0.3": "patches/gray-matter@4.0.3.patch"
}
}