Files
hedgedoc/turbo.json
T
Erik Michelson 9b61174731 fix(docker): docker builds should build @hedgedoc/database as well
It's almost a wonder that everything worked previously, at least in
our already built dev environments. Fresh environments had no clue
that the database package needs to be build, because our turbo.json
had irritating (circular) dependencies on ^build, and the package.json
of the backend didn't even contain the database package as a dependency.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-11-20 15:44:30 +01:00

134 lines
2.2 KiB
JSON

{
"$schema": "https://turbo.build/schema.json",
"globalPassThroughEnv": [
"NODE_ENV",
"DEBUG",
"HD_*",
"CADDY_HOST"
],
"tasks": {
"build": {},
"@hedgedoc/html-to-react#build": {
"dependsOn": [
"^build"
],
"outputs": [
"dist/**"
]
},
"@hedgedoc/commons#build": {
"dependsOn": [],
"outputs": [
"dist/**"
]
},
"@hedgedoc/database#build": {
"dependsOn": [],
"outputs": [
"dist/**"
]
},
"@hedgedoc/markdown-it-plugins#build": {
"dependsOn": [],
"outputs": [
"dist/**"
]
},
"@hedgedoc/frontend#build": {
"dependsOn": [
"^build"
],
"outputs": [
"dist/**",
"!.next/**"
],
"env": [
"NODEJS_VERSION"
]
},
"@hedgedoc/backend#build": {
"dependsOn": [
"^build"
],
"outputs": [
"dist/**"
],
"env": [
"NODEJS_VERSION"
]
},
"build:test": {},
"@hedgedoc/frontend#build:test": {
"dependsOn": [
"^build"
],
"outputs": [
"dist/**",
"!.next/**"
],
"env": [
"NODEJS_VERSION"
]
},
"lint": {
"dependsOn": [
"^build"
]
},
"lint:fix": {
"dependsOn": [
"^build"
]
},
"format": {},
"test": {
"dependsOn": [
"^build"
]
},
"test:ci": {
"dependsOn": [
"^build"
],
"env": [
"NODEJS_VERSION"
],
"outputs": [
"coverage/**"
]
},
"test:e2e:ci": {},
"@hedgedoc/frontend#test:e2e:ci": {
"dependsOn": [
"^build"
],
"env": [
"CYPRESS_CONTAINER_ID"
],
"passThroughEnv": ["*"]
},
"@hedgedoc/backend#test:e2e:ci": {
"dependsOn": [
"^build"
],
"env": [
"HEDGEDOC_TEST_DB_TYPE"
],
"outputs": [
"coverage-e2e/**"
]
},
"start:dev": {
"dependsOn": [
"^build"
],
"cache": false,
"persistent": true
},
"start": {
"cache": false,
"persistent": true
}
}
}