hedgedoc/package.json
Erik Michelson 420c711155
Some checks failed
Run tests & build / Test and build with NodeJS 20 (push) Has been cancelled
Docker / build-and-push (backend) (push) Has been cancelled
Docker / build-and-push (frontend) (push) Has been cancelled
E2E Tests / backend-sqlite (push) Has been cancelled
E2E Tests / backend-mariadb (push) Has been cancelled
E2E Tests / backend-postgres (push) Has been cancelled
E2E Tests / Build test build of frontend (push) Has been cancelled
Lint and check format / Lint files and check formatting (push) Has been cancelled
REUSE Compliance Check / reuse (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Static Analysis / Njsscan code scanning (push) Has been cancelled
Static Analysis / CodeQL analysis (push) Has been cancelled
E2E Tests / frontend-cypress (1) (push) Has been cancelled
E2E Tests / frontend-cypress (2) (push) Has been cancelled
E2E Tests / frontend-cypress (3) (push) Has been cancelled
fix(turborepo): passthrough HD_* env vars by config option
It seems there's a bug in turborepo which results in turbo
not passing through arbitrary environment variables despite
--env-mode=loose being set. This config option resolves the
problem by passing through all HedgeDoc environment
variables prefixed by `HD_`. This somewhat also enhances
stability and reproducability of builds since other env
vars wouldn't interfere anymore.
The additional variable CADDY_HOST is required to make
overriding the listening port in our Caddyfile work.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2025-02-14 20:59:05 +01:00

50 lines
1.9 KiB
JSON

{
"name": "hedgedoc",
"version": "2.0.0-alpha.3",
"private": true,
"workspaces": [
"backend",
"frontend",
"commons",
"dev-reverse-proxy",
"docs",
"html-to-react",
"markdown-it-plugins"
],
"scripts": {
"build": "dotenv -c production -- turbo run build",
"build:test": "dotenv -c production -- turbo run build:test",
"lint": "dotenv -c development -- turbo run lint",
"lint:fix": "dotenv -c development -- turbo run lint:fix",
"format": "dotenv -c development -- turbo run format",
"start:dev": "dotenv -c development -- turbo run start:dev",
"start": "dotenv -c production -- turbo run start",
"test:ci": "dotenv -c test -- turbo run test:ci --concurrency 1",
"test": "dotenv -c test -- turbo run test --concurrency 1",
"test:e2e:ci": "dotenv -c test -- turbo run test:e2e:ci"
},
"packageManager": "yarn@4.5.3",
"resolutions": {
"@types/node": "20.16.11",
"domhandler": "5.0.3",
"@codemirror/state": "6.4.1",
"@codemirror/autocomplete": "6.18.4",
"@codemirror/view": "6.33.0",
"@codemirror/language": "6.10.8",
"@codemirror/commands": "6.6.2",
"@codemirror/lang-markdown": "6.2.5",
"@codemirror/language-data": "6.5.1",
"@codemirror/lint": "6.8.4",
"@codemirror/theme-one-dark": "6.1.2",
"@lezer/common": "1.2.3",
"@types/react": "18.3.11",
"eventemitter2@6.4.9": "patch:eventemitter2@npm%3A6.4.9#./.yarn/patches/eventemitter2-npm-6.4.9-ba37798a18.patch",
"yjs@13.6.23": "patch:yjs@npm%3A13.6.23#./.yarn/patches/yjs-remove-import-warning-in-test.patch",
"vega-canvas@^1.2.7": "patch:vega-canvas@npm%3A1.2.7#./.yarn/patches/remove-vega-canvas-node.patch",
"@dicebear/converter@9.2.2": "patch:@dicebear/converter@npm%3A9.2.2#./.yarn/patches/@dicebear-converter-fix-js-file-path.patch"
},
"devDependencies": {
"dotenv-cli": "7.4.4",
"turbo": "2.1.3"
}
}