@fabioplunser/epd 0.5.18 β†’ 0.5.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,29 +25,50 @@ Multiple machines, load balancing and failover are first-class: replicas are
25
25
  balanced by Traefik, and with `cross_host: true` every server's proxy balances
26
26
  across every server's replicas, so one machine can serve while another is down.
27
27
 
28
- πŸ“– **Documentation Site:** [epd.peppi.dev](https://epd.peppi.dev)
29
- πŸ“– **User Manual & Full Reference:** [Complete Guide](docs/guide.md)
28
+ πŸ“– **Documentation Site:** [epddocs.peppi.dev](https://epddocs.peppi.dev)
29
+ πŸ“– **User Manual & Full Reference:** [Complete Guide](apps/docs/guide.md)
30
30
 
31
31
  ---
32
32
 
33
33
  ## Monorepo
34
34
 
35
- The CLI lives in `src/` and `bin/`. `apps/web` is the single dashboard for deployments, servers, CrowdSec, metrics, logs and notifications. The former CrowdSecUI application is merged into this dashboard.
35
+ | Path | What it is | Develop |
36
+ |---|---|---|
37
+ | [`packages/cli`](packages/cli) | The `epd` CLI, published to npm as `@fabioplunser/epd` and as standalone binaries | `cd packages/cli && bun run start` |
38
+ | [`apps/dashboard`](apps/dashboard) | The self-hosted dashboard for deployments, servers, CrowdSec, metrics, logs and notifications. Its image bundles the CLI. | `cd apps/dashboard && bun run dev` |
39
+ | [`apps/docs`](apps/docs) | The VitePress documentation site, hosted through EPD | `cd apps/docs && bun run dev` |
40
+
41
+ Use Bun 1.4.2, as specified in `.bun-version` and `package.json`. Run one install from the repository root. Each workspace has its own build and development commands. CI checks affected workspaces, including the dashboard when the CLI it bundles changes. CLI releases use `v*` tags.
36
42
 
37
43
  ```bash
38
44
  bun install --frozen-lockfile
39
- bun run web:dev
40
- bun run web:check
41
- bun run web:test
42
- bun run web:build
45
+ bun run cli:test # or cli:typecheck, cli:build
46
+ bun run dashboard:dev # or dashboard:check, dashboard:test, dashboard:build
47
+ bun run docs:dev
48
+ bun run check # CLI types and dashboard diagnostics
49
+ bun run test # CLI and dashboard unit tests
50
+ bun run build # CLI, dashboard and docs production builds
51
+ ```
52
+
53
+ Run the CLI from the repository root so it finds this checkout's `epd.yml` and `.env`:
54
+
55
+ ```bash
56
+ bun run cli --help
57
+ bun run deploy --dry-run
58
+ bun run deploy
43
59
  ```
44
60
 
61
+ The checked-in deployment targets `edp.peppi.dev` on peppi.dev. Its secrets stay in the ignored root `.env`. The deployment hooks connect the dashboard to the existing monitoring stack and stop the old Compose dashboard after health checks pass. On macOS, start the local container VM with `podman machine start` before building or deploying.
62
+
63
+ Deploy the docs separately with `bun run docs:deploy`. The root `epd.docs.yml` builds `apps/docs/Dockerfile` and serves the site at `https://epddocs.peppi.dev`. It uses the existing Caddy proxy, loopback ports 8600 and 8616 for blue/green deployments, and `CLOUDFLARE_API_TOKEN` from the root `.env` for DNS. The static server supports direct links to VitePress pages and returns HTTP 404 for missing pages. This deployment does not require GitHub Pages. The Pages workflow remains available as a separate publishing option.
64
+
45
65
  To self-host on a Linux server with Docker Compose and WireGuard support:
46
66
 
47
67
  ```bash
68
+ cd apps/dashboard
48
69
  cp .env.example .env
49
70
  # Set the values in .env before starting.
50
- bun run dashboard:up
71
+ bun run up
51
72
  ```
52
73
 
53
74
  Set `ORIGIN` to the HTTPS dashboard URL, `MONITOR_WG_ENDPOINT` to its public `hostname:51820`, and a strong `EPD_ADMIN_PASSWORD`. Generate separate persistent `EPD_SESSION_SECRET` and `UI_ENCRYPTION_KEY` values with `openssl rand -base64 32`. Allow incoming UDP 51820 and put port 3000 behind your HTTPS reverse proxy.
@@ -101,7 +122,7 @@ Standalone binaries are also downloadable directly from [GitHub Releases](https:
101
122
 
102
123
  ```bash
103
124
  git clone https://github.com/FabioPlunser/epd.git && cd epd && bun install
104
- bun run build # compiles dist/cli.js and dist/epd
125
+ bun run cli:build # compiles packages/cli/dist/cli.js and packages/cli/dist/epd
105
126
  ```
106
127
 
107
128
  Source builds need Bun. Deployments need an SSH client. Container mode also needs
@@ -140,7 +161,7 @@ refuses to overwrite an existing file. No AI account is needed to read the guide
140
161
 
141
162
  Remote servers still use Docker, including provisioning, container management,
142
163
  and monitoring. Keep `mode: docker` in `epd.yml` when building locally with
143
- Podman. The older `test/e2e/*.sh` suites share a Docker socket and still require
164
+ Podman. The older `packages/cli/test/e2e/*.sh` suites share a Docker socket and still require
144
165
  Docker. Privileged integration suites also need the kernel capabilities their
145
166
  fixtures use, such as WireGuard and nested containers.
146
167
 
@@ -574,7 +595,7 @@ Generate this workflow file automatically when creating your project:
574
595
  epd init --ci
575
596
  ```
576
597
 
577
- For detailed guides on setting up SSH deploy keys, using GitHub Container Registry (`ghcr.io`), or multi-environment deployments, see the [GitHub Actions CI/CD Guide](https://epd.peppi.dev/ci-cd).
598
+ For detailed guides on setting up SSH deploy keys, using GitHub Container Registry (`ghcr.io`), or multi-environment deployments, see the [GitHub Actions CI/CD Guide](https://epddocs.peppi.dev/ci-cd).
578
599
 
579
600
  ---
580
601
 
@@ -603,6 +624,8 @@ For detailed guides on setting up SSH deploy keys, using GitHub Container Regist
603
624
 
604
625
  Global flags: `-c/--config`, `-d/--destination`, `-v/--verbose`.
605
626
 
627
+ Without `--config`, EPD checks the current directory and parents, then searches the Git project tree for a config such as `deploy/epd.yml`. Outside Git, it searches the current subtree. Dependency folders, build output and nested repositories are excluded from the tree search. If several directories contain configs, choose one with `epd deploy --config deploy/docs/epd.yml`. Relative paths and `.env` files use the config's directory. See [config discovery](apps/docs/reference/cli.md#config-discovery).
628
+
606
629
  ### Generating the docker command
607
630
 
608
631
  ```bash
@@ -659,9 +682,9 @@ block. Set `port_base:` in one of them to any free multiple of 256.
659
682
  ## Tests
660
683
 
661
684
  ```bash
662
- bun test # config, routing, port allocation, health probes
663
- ./test/e2e/run.sh # real deploy over ssh: docker mode, two apps, rollback
664
- ./test/e2e/process.sh # real deploy over ssh: process mode, pm2, no docker
685
+ bun run cli:test # config, routing, port allocation, health probes
686
+ ./packages/cli/test/e2e/run.sh # real deploy over ssh: docker mode, two apps, rollback
687
+ ./packages/cli/test/e2e/process.sh # real deploy over ssh: process mode, pm2, no docker
665
688
  ```
666
689
 
667
690
  The end-to-end tests build a throwaway "server" container running sshd and
package/bin/epd.js CHANGED
File without changes
package/dist/cli.js CHANGED
@@ -796,23 +796,56 @@ var init_names = __esm(() => {
796
796
  });
797
797
 
798
798
  // src/config/load.ts
799
- import { existsSync as existsSync2, readFileSync } from "fs";
799
+ import { existsSync as existsSync2, readdirSync as readdirSync2, readFileSync, statSync } from "fs";
800
800
  import { isIPv6 } from "net";
801
801
  import { dirname as dirname2, join as join3, resolve } from "path";
802
802
  import { homedir as homedir2 } from "os";
803
803
  function findConfigFile(startDir) {
804
- let dir = resolve(startDir);
804
+ const start = resolve(startDir);
805
+ let searchRoot = start;
806
+ let dir = start;
805
807
  for (;; ) {
806
808
  for (const name of CONFIG_NAMES) {
807
809
  const p = join3(dir, name);
808
- if (existsSync2(p))
810
+ if (statSync(p, { throwIfNoEntry: false })?.isFile())
809
811
  return p;
810
812
  }
813
+ if (existsSync2(join3(dir, ".git"))) {
814
+ searchRoot = dir;
815
+ break;
816
+ }
811
817
  const parent = dirname2(dir);
812
818
  if (parent === dir)
813
- return null;
819
+ break;
814
820
  dir = parent;
815
821
  }
822
+ const matches = [];
823
+ const pending = [searchRoot];
824
+ while (pending.length) {
825
+ const current = pending.pop();
826
+ let entries;
827
+ try {
828
+ entries = readdirSync2(current, { withFileTypes: true });
829
+ } catch (error) {
830
+ throw new EpdError(`cannot search for epd.yml in ${current}`, `Use --config <file> to select a config directly. ${error instanceof Error ? error.message : String(error)}`);
831
+ }
832
+ if (current !== searchRoot && entries.some((entry) => entry.name === ".git"))
833
+ continue;
834
+ const name = CONFIG_FILENAMES.find((name) => entries.some((entry) => entry.name === name && entry.isFile()));
835
+ if (name)
836
+ matches.push(join3(current, name));
837
+ for (const entry of entries) {
838
+ if (entry.isDirectory() && !SEARCH_EXCLUDES.has(entry.name))
839
+ pending.push(join3(current, entry.name));
840
+ }
841
+ }
842
+ matches.sort();
843
+ if (matches.length > 1) {
844
+ throw new EpdError(`multiple EPD configs found in ${searchRoot}:
845
+ ${matches.map((file) => ` ${file}`).join(`
846
+ `)}`, "Use --config <file> to choose the deployment.");
847
+ }
848
+ return matches[0] ?? null;
816
849
  }
817
850
  function parseDotenv(text) {
818
851
  const out = {};
@@ -1814,13 +1847,31 @@ function validateCrossReferences(cfg) {
1814
1847
  }
1815
1848
  if (cfg.mode === "docker" && !cfg.registry && cfg.services.some((s) => s.hosts.length > 1)) {}
1816
1849
  }
1817
- var CONFIG_NAMES, nameProblem, HOST_LABEL, HOST_HINT = 'Use a DNS name such as "example.com", "*.example.com" or an IP address.', PATH_HINT = 'Write a path such as "/health" or "/api".', HOST_PORT, BRACKETED_IPV6, asPort = (v, path, dflt) => asInt(v, path, dflt, 1, 65535), IMAGE_REF, IMAGE_HINT = 'Write an image such as "ghcr.io/acme/api:1.2" or "postgres:17". The repository name must be lower case.', SSH_HOST, SSH_USER, ENV_NAME, ENV_NAME_HINT = "Use letters, digits and underscores, starting with a letter or underscore.", TOP_LEVEL_KEYS;
1850
+ var CONFIG_FILENAMES, CONFIG_NAMES, SEARCH_EXCLUDES, nameProblem, HOST_LABEL, HOST_HINT = 'Use a DNS name such as "example.com", "*.example.com" or an IP address.', PATH_HINT = 'Write a path such as "/health" or "/api".', HOST_PORT, BRACKETED_IPV6, asPort = (v, path, dflt) => asInt(v, path, dflt, 1, 65535), IMAGE_REF, IMAGE_HINT = 'Write an image such as "ghcr.io/acme/api:1.2" or "postgres:17". The repository name must be lower case.', SSH_HOST, SSH_USER, ENV_NAME, ENV_NAME_HINT = "Use letters, digits and underscores, starting with a letter or underscore.", TOP_LEVEL_KEYS;
1818
1851
  var init_load = __esm(() => {
1819
1852
  init_container_engine();
1820
1853
  init_log();
1821
1854
  init_misc();
1822
1855
  init_names();
1823
- CONFIG_NAMES = ["epd.yml", "epd.yaml", ".epd.yml", "config/epd.yml"];
1856
+ CONFIG_FILENAMES = ["epd.yml", "epd.yaml", ".epd.yml"];
1857
+ CONFIG_NAMES = [...CONFIG_FILENAMES, "config/epd.yml"];
1858
+ SEARCH_EXCLUDES = new Set([
1859
+ ".git",
1860
+ "node_modules",
1861
+ "vendor",
1862
+ ".venv",
1863
+ "venv",
1864
+ "dist",
1865
+ "build",
1866
+ "coverage",
1867
+ ".svelte-kit",
1868
+ ".vitepress",
1869
+ ".next",
1870
+ ".nuxt",
1871
+ ".output",
1872
+ ".turbo",
1873
+ ".cache"
1874
+ ]);
1824
1875
  nameProblem = `must be ${MAX_NAME_LENGTH} characters or fewer: lowercase letters, digits, dashes or underscores, starting with a letter or digit`;
1825
1876
  HOST_LABEL = /^(?!-)[a-z0-9-]{1,63}(?<!-)$/i;
1826
1877
  HOST_PORT = /:(\d{1,5})$/;
@@ -1946,7 +1997,7 @@ Use environment variable names for secrets and registry.password. Keep values in
1946
1997
  the user's shell or a gitignored .env file. Build secrets map IDs to variable
1947
1998
  names. Never put secret values in Dockerfiles, command arguments or committed YAML.
1948
1999
 
1949
- More schema details are available at https://epd.peppi.dev/llms-full.txt.
2000
+ More schema details are available at https://epddocs.peppi.dev/llms-full.txt.
1950
2001
  Validate the installed CLI's behavior instead of guessing flags or JSON schemas.
1951
2002
 
1952
2003
  ## Validation and deployment
@@ -2523,7 +2574,7 @@ var init_http = __esm(() => {
2523
2574
  });
2524
2575
 
2525
2576
  // src/util/auth.ts
2526
- import { existsSync as existsSync4, mkdirSync as mkdirSync3, readFileSync as readFileSync3, readlinkSync, realpathSync, statSync, writeFileSync as writeFileSync3, chmodSync, renameSync, rmSync, unlinkSync as unlinkSync2 } from "fs";
2577
+ import { existsSync as existsSync4, mkdirSync as mkdirSync3, readFileSync as readFileSync3, readlinkSync, realpathSync, statSync as statSync2, writeFileSync as writeFileSync3, chmodSync, renameSync, rmSync, unlinkSync as unlinkSync2 } from "fs";
2527
2578
  import { homedir as homedir3 } from "os";
2528
2579
  import { dirname as dirname4, isAbsolute as isAbsolute2, join as join5 } from "path";
2529
2580
  import { spawn } from "child_process";
@@ -2669,7 +2720,7 @@ function saveProjectEnv(entries, root = process.cwd()) {
2669
2720
  `;
2670
2721
  }
2671
2722
  }
2672
- writeSecretFile(envPath, content, exists ? statSync(envPath).mode & 511 : 384);
2723
+ writeSecretFile(envPath, content, exists ? statSync2(envPath).mode & 511 : 384);
2673
2724
  }
2674
2725
  function secret(value) {
2675
2726
  registerSecret(value);
@@ -3299,7 +3350,7 @@ ssh:
3299
3350
  hetzner:
3300
3351
  # api_token: \${HETZNER_API_TOKEN}
3301
3352
  ` : "";
3302
- return `# ${o.name} \u2014 deployed with epd (https://epd.peppi.dev)
3353
+ return `# ${o.name} \u2014 deployed with epd (https://epddocs.peppi.dev)
3303
3354
  #
3304
3355
  # epd setup prepare the servers and deploy for the first time
3305
3356
  # epd deploy build and deploy the current commit
@@ -6051,7 +6102,17 @@ async function ensureImage(host, cfg, version) {
6051
6102
  await host.exec(`docker pull ${shq(ref)} >/dev/null`, { label: `${host.name}: docker pull` });
6052
6103
  } else {
6053
6104
  log.host(host.name, `shipping ${ref} over ssh (no registry configured)`);
6054
- await host.pipeInto("gunzip | docker load", [localShell("bash"), "-c", `${shq(await containerEngine(cfg.containerEngine))} save ${shq(ref)} | gzip -1`]);
6105
+ const engine = await containerEngine(cfg.containerEngine);
6106
+ const image = await run([engine, "image", "inspect", "--format", "{{.Id}}", ref]);
6107
+ const digest = image.stdout.trim().replace(/^sha256:/, "");
6108
+ if (!/^[a-f0-9]{64}$/.test(digest)) {
6109
+ throw new EpdError(`Cannot determine image ID for ${ref}`);
6110
+ }
6111
+ const id = `sha256:${digest}`;
6112
+ const firstPart = ref.split("/")[0];
6113
+ const loadedRef = engineKind(engine) === "podman" && (!ref.includes("/") || !firstPart.includes(".") && !firstPart.includes(":") && firstPart !== "localhost") ? `localhost/${ref}` : ref;
6114
+ const restoreTag = loadedRef !== ref ? `docker tag ${shq(loadedRef)} ${shq(ref)}` : `docker tag ${shq(id)} ${shq(ref)}`;
6115
+ await host.pipeInto(`gunzip | docker load && (docker image inspect ${shq(ref)} >/dev/null 2>&1 || ${restoreTag}) && docker image inspect ${shq(ref)} >/dev/null`, [localShell("bash"), "-c", `set -o pipefail; ${shq(engine)} save ${shq(ref)} | gzip -1`]);
6055
6116
  }
6056
6117
  }
6057
6118
  async function pruneImages(host, cfg, keep, inUse) {
@@ -9740,7 +9801,7 @@ var init_update = __esm(() => {
9740
9801
  });
9741
9802
 
9742
9803
  // package.json
9743
- var version = "0.5.18";
9804
+ var version = "0.5.19";
9744
9805
  var init_package = () => {};
9745
9806
 
9746
9807
  // src/version.ts
@@ -10785,7 +10846,7 @@ Uses a PostgreSQL accessory in epd.yml. Publishes only to host loopback; use an
10785
10846
  });
10786
10847
 
10787
10848
  // src/commands/backup.ts
10788
- import { createWriteStream as createWriteStream3, mkdirSync as mkdirSync8, statSync as statSync2 } from "fs";
10849
+ import { createWriteStream as createWriteStream3, mkdirSync as mkdirSync8, statSync as statSync3 } from "fs";
10789
10850
  import { dirname as dirname6, join as join12, resolve as resolve5 } from "path";
10790
10851
  function detectAccessoryType(decl, cfg) {
10791
10852
  const name = decl.name;
@@ -10933,7 +10994,7 @@ Options
10933
10994
  });
10934
10995
  }
10935
10996
  });
10936
- const stats = statSync2(localFile);
10997
+ const stats = statSync3(localFile);
10937
10998
  const sizeMb = (stats.size / (1024 * 1024)).toFixed(2);
10938
10999
  const elapsed = dur(Date.now() - t0);
10939
11000
  log.ok(`Backed up ${c.bold(target.name)} \u2192 ${c.cyan(localFile)} (${sizeMb} MB in ${elapsed})`);
@@ -11073,7 +11134,7 @@ Options
11073
11134
  });
11074
11135
 
11075
11136
  // src/commands/doctor.ts
11076
- import { existsSync as existsSync13, readdirSync as readdirSync2, statSync as statSync3 } from "fs";
11137
+ import { existsSync as existsSync13, readdirSync as readdirSync3, statSync as statSync4 } from "fs";
11077
11138
  import { homedir as homedir6 } from "os";
11078
11139
  import { join as join13 } from "path";
11079
11140
  function printResults(results, prefix = " ") {
@@ -11175,13 +11236,13 @@ Options
11175
11236
  message: "SSH_PRIVATE_KEY is set in the environment (ideal for CI)"
11176
11237
  });
11177
11238
  } else if (existsSync13(sshDir)) {
11178
- const keys = readdirSync2(sshDir).filter((f) => ["id_ed25519", "id_rsa", "gh_deploy"].includes(f));
11239
+ const keys = readdirSync3(sshDir).filter((f) => ["id_ed25519", "id_rsa", "gh_deploy"].includes(f));
11179
11240
  if (keys.length > 0) {
11180
11241
  const keyIssues = [];
11181
11242
  for (const k of keys) {
11182
11243
  const p = join13(sshDir, k);
11183
11244
  try {
11184
- const st = statSync3(p);
11245
+ const st = statSync4(p);
11185
11246
  const mode = st.mode & 511;
11186
11247
  if (mode !== 384 && mode !== 256) {
11187
11248
  keyIssues.push(`${k} has insecure permissions (${mode.toString(8)} instead of 600)`);
@@ -11774,7 +11835,7 @@ ${columns(GLOBAL_OPTIONS, c.cyan, 2)}
11774
11835
  ${heading("Examples")}
11775
11836
  ${examples}
11776
11837
 
11777
- ${c.gray(`Run ${c.cyan("epd <command> --help")} for details on a command. Docs: ${c.underline("https://epd.peppi.dev")}`)}
11838
+ ${c.gray(`Run ${c.cyan("epd <command> --help")} for details on a command. Docs: ${c.underline("https://epddocs.peppi.dev")}`)}
11778
11839
  `;
11779
11840
  }
11780
11841
  function styleHelp(text) {
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@fabioplunser/epd",
3
- "version": "0.5.18",
4
- "description": "Easy Project Deployer \u2014 deploy any project to one or many servers with Docker or PM2, fronted by Traefik.",
3
+ "version": "0.5.19",
4
+ "description": "Easy Project Deployer β€” deploy any project to one or many servers with Docker or PM2, fronted by Traefik.",
5
5
  "type": "module",
6
- "author": "Fabio Pl\u00fcnser",
6
+ "author": "Fabio PlΓΌnser",
7
7
  "license": "MIT",
8
- "homepage": "https://epd.peppi.dev",
8
+ "homepage": "https://epddocs.peppi.dev",
9
9
  "repository": {
10
10
  "type": "git",
11
11
  "url": "https://github.com/FabioPlunser/epd"
@@ -30,15 +30,15 @@
30
30
  "bin",
31
31
  "dist/cli.js",
32
32
  "README.md",
33
- "LICENSE",
34
- "docs"
35
- ],
36
- "workspaces": [
37
- "apps/*"
33
+ "LICENSE"
38
34
  ],
39
35
  "publishConfig": {
40
36
  "access": "public"
41
37
  },
38
+ "exports": {
39
+ "./container-engine": "./src/util/container-engine.ts",
40
+ "./package.json": "./package.json"
41
+ },
42
42
  "scripts": {
43
43
  "start": "bun run src/cli.ts",
44
44
  "build": "bun run build:bundle && bun run build:binary",
@@ -46,31 +46,17 @@
46
46
  "build:binary": "bun build --compile --minify --sourcemap src/cli.ts --outfile dist/epd",
47
47
  "build:binaries": "bun run scripts/build-all.ts",
48
48
  "typecheck": "tsc --noEmit",
49
- "test": "bun test",
50
- "web:dev": "cd apps/web && bun run dev",
51
- "web:build": "cd apps/web && bun run build",
52
- "web:build:verify": "bun run test/web-e2e/verify-build.ts",
53
- "web:bundles": "bun run scripts/dashboard-bundles.ts",
54
- "docs:dev": "vitepress dev docs",
55
- "docs:build": "vitepress build docs",
56
- "docs:preview": "vitepress preview docs",
57
- "prepublishOnly": "bun run typecheck && bun test && bun run build:bundle",
58
- "web:check": "cd apps/web && bun run check",
59
- "web:test": "bun test apps/web/src/lib/ops apps/web/src/lib/server",
60
- "web:test:linux": "bun test test/web-e2e",
61
- "web:test:e2e": "bash test/web-e2e/run.sh",
62
- "dashboard:up": "bun run scripts/container.ts compose up -d --build",
63
- "dashboard:down": "bun run scripts/container.ts compose down"
49
+ "test": "bun test ./test",
50
+ "container": "bun run scripts/container.ts",
51
+ "prepack": "cp ../../README.md ../../LICENSE .",
52
+ "postpack": "rm -f README.md LICENSE",
53
+ "prepublishOnly": "bun run typecheck && bun run test && bun run build:bundle"
64
54
  },
65
55
  "engines": {
66
56
  "bun": ">=1.1.0"
67
57
  },
68
58
  "devDependencies": {
69
59
  "@types/bun": "^1.4.2",
70
- "typescript": "^6.0.3",
71
- "vitepress": "^1.6.4"
72
- },
73
- "patchedDependencies": {
74
- "@sveltejs/adapter-node@6.0.0": "apps/web/patches/@sveltejs%2Fadapter-node@6.0.0.patch"
60
+ "typescript": "^6.0.3"
75
61
  }
76
62
  }
@@ -1,92 +0,0 @@
1
- import { defineConfig } from "vitepress";
2
-
3
- export default defineConfig({
4
- title: "EPD",
5
- description: "Easy Project Deployer β€” Zero-downtime blue/green deployments for one server or ten.",
6
- base: "/",
7
- cleanUrls: true,
8
- lastUpdated: true,
9
- head: [
10
- ["link", { rel: "icon", type: "image/svg+xml", href: "/favicon.svg" }],
11
- ],
12
- themeConfig: {
13
- logo: "/favicon.svg",
14
- siteTitle: "EPD",
15
- nav: [
16
- { text: "Getting Started", link: "/guide/getting-started" },
17
- { text: "AI Agents", link: "/agents" },
18
- { text: "Guide", link: "/guide" },
19
- { text: "CI/CD", link: "/ci-cd" },
20
- { text: "Hetzner & DNS", link: "/hetzner-dns" },
21
- {
22
- text: "Reference",
23
- items: [
24
- { text: "CLI Commands", link: "/reference/cli" },
25
- { text: "Configuration (epd.yml)", link: "/reference/config" },
26
- { text: "For AI Agents", link: "/agents" },
27
- { text: "llms.txt (Raw Feed)", link: "/llms.txt" },
28
- { text: "Troubleshooting", link: "/guide/troubleshooting" },
29
- ],
30
- },
31
- {
32
- text: "v0.5.12",
33
- items: [
34
- { text: "Releases & Changelog", link: "https://github.com/FabioPlunser/epd/releases" },
35
- { text: "NPM Package", link: "https://www.npmjs.com/package/@fabioplunser/epd" },
36
- ],
37
- },
38
- ],
39
- sidebar: [
40
- {
41
- text: "Getting Started",
42
- items: [
43
- { text: "Quickstart (5 Mins)", link: "/guide/getting-started" },
44
- { text: "Installation", link: "/guide/installation" },
45
- { text: "For AI Agents (Cursor / Windsurf)", link: "/agents" },
46
- ],
47
- },
48
- {
49
- text: "Core Concepts & Guides",
50
- items: [
51
- { text: "Documentation Hub", link: "/guide" },
52
- { text: "Architecture Overview", link: "/guide/architecture" },
53
- { text: "Deployment Modes", link: "/guide/deployment-modes" },
54
- { text: "Blue-Green Deployments", link: "/guide/blue-green" },
55
- { text: "Routing & Traefik", link: "/guide/routing" },
56
- { text: "Accessories (DB, Redis)", link: "/guide/accessories" },
57
- { text: "High Availability", link: "/guide/high-availability" },
58
- { text: "Multi-Site Hosting", link: "/guide/multi-site" },
59
- { text: "Secrets Management", link: "/guide/secrets" },
60
- { text: "Private Repository Connections", link: "/guide/private-repositories" },
61
- { text: "Server Security Baseline", link: "/guide/server-baseline" },
62
- { text: "Troubleshooting", link: "/guide/troubleshooting" },
63
- ],
64
- },
65
- {
66
- text: "Integrations & Automation",
67
- items: [
68
- { text: "AI Coding Agents", link: "/agents" },
69
- { text: "GitHub Actions CI/CD", link: "/ci-cd" },
70
- { text: "Hetzner Cloud & DNS", link: "/hetzner-dns" },
71
- ],
72
- },
73
- {
74
- text: "Reference",
75
- items: [
76
- { text: "CLI Commands Reference", link: "/reference/cli" },
77
- { text: "epd.yml Configuration", link: "/reference/config" },
78
- { text: "Raw LLM Feed (llms.txt)", link: "/llms.txt" },
79
- { text: "Full LLM Context (llms-full.txt)", link: "/llms-full.txt" },
80
- ],
81
- },
82
- ],
83
- socialLinks: [{ icon: "github", link: "https://github.com/FabioPlunser/epd" }],
84
- search: {
85
- provider: "local",
86
- },
87
- footer: {
88
- message: "Released under the MIT License.",
89
- copyright: "Copyright Β© 2026 Fabio PlΓΌnser",
90
- },
91
- },
92
- });