Something went wrong. Try again.
Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536{ buildNpmPackage, src, web-static-files,}:buildNpmPackage { pname = "tangled-docs"; version = "0.0.1";
# the docs site renders the web app's ui components and theme straight # from web/src, so the build needs the repo root too inherit src; sourceRoot = "${src.name}/docs";
npmDepsHash = "sha256-wEX2Y2r97d/1ycKknUbL5ea/PuDSwIO/hFGdULtG9KU=";
env.ASTRO_TELEMETRY_DISABLED = "1";
# same self-hosted fonts as the web app (web/src/fonts.css) preBuild = '' mkdir -p public/fonts cp -f ${web-static-files}/fonts/* public/fonts/
# web/tsconfig.json extends this file, which svelte-kit sync writes in a dev checkout chmod u+w ../web mkdir -p '../web/node_modules/$app' echo '{"compilerOptions":{"target":"esnext","verbatimModuleSyntax":true}}' > '../web/node_modules/$app/tsconfig.json' '';
installPhase = '' runHook preInstall cp -r dist $out runHook postInstall '';}