diff --git a/docs/bun.lockb b/docs/bun.lockb index 7b76508d1..49b5e4611 100755 Binary files a/docs/bun.lockb and b/docs/bun.lockb differ diff --git a/docs/deno.lock b/docs/deno.lock index 028687487..af1c9d262 100644 --- a/docs/deno.lock +++ b/docs/deno.lock @@ -73,11 +73,13 @@ "npm:@tailwindcss/vite@^4.0.0-alpha.23", "npm:@types/bun@latest", "npm:astro@4.15.4", + "npm:concurrently@^8.2.2", "npm:rehype-autolink-headings@^7.1.0", "npm:rehype-mermaid@^2.1.0", "npm:remark@^15.0.1", "npm:tailwindcss@^4.0.0-alpha.23", - "npm:typescript@^5.4.5" + "npm:typescript@^5.4.5", + "npm:wait-on@^8.0.0" ] } } diff --git a/docs/package.json b/docs/package.json index 9cac9ff5f..86563367e 100644 --- a/docs/package.json +++ b/docs/package.json @@ -21,7 +21,10 @@ "deploy": "deployctl deploy --include=./dist --entrypoint=./dist/server/entry.mjs --save-config", "staging": "bun setup && bun docs && bun run build && bun run deploy", "prod": "bun setup && bun docs && bun run build && bun run deploy --prod", - "setup": "bun install && bun run deno install -Arf jsr:@deno/deployctl@1.12.0" + "setup": "bun install && bun run deno install -Arf jsr:@deno/deployctl@1.12.0", + "expose.dev": "concurrently --kill-others --names \"server,tunnel\" \"bun dev\" \"wait-on http://localhost:4321 && bunx lt -p 4321\"", + "expose.preview": "concurrently --kill-others --names \"server,tunnel\" \"bun preview\" \"wait-on http://localhost:8881 && bunx lt -p 8881\"", + "public.ip": "curl ifconfig.me" }, "dependencies": { "@astrojs/check": "0.9.3", @@ -43,9 +46,11 @@ "@biomejs/biome": "^1.8.1", "@lorenzo_lewis/starlight-utils": "^0.1.1", "@types/bun": "latest", + "concurrently": "^8.2.2", "rehype-autolink-headings": "^7.1.0", "remark": "^15.0.1", - "typescript": "^5.4.5" + "typescript": "^5.4.5", + "wait-on": "^8.0.0" }, "trustedDependencies": ["@biomejs/biome", "esbuild", "sharp"] } diff --git a/flake.nix b/flake.nix index 17d7c4de2..8bfb36dca 100644 --- a/flake.nix +++ b/flake.nix @@ -465,6 +465,7 @@ pkgs.nodejs_22 # For pagefind search pkgs.playwright-driver pkgs.playwright-test + pkgs.nodePackages_latest.localtunnel # Additional tools from within our development environment. local-image-test