@crossdelta/infrastructure 0.2.12 → 0.2.14

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
@@ -10,36 +10,27 @@ Infrastructure-as-Code helpers for deploying microservices to DigitalOcean with
10
10
 
11
11
  ## Architecture Overview
12
12
 
13
- ```
14
- +-----------------------------------------------------------------------------+
15
- | DigitalOcean |
16
- | +-----------------------------------------------------------------------+ |
17
- | | App Platform | |
18
- | | +-------------+ +-------------+ +-------------+ | |
19
- | | | frontend | | api | | worker | | |
20
- | | | (public) | | (public) | | (internal) | | |
21
- | | | :3000 | | :4000 | | :4001 | | |
22
- | | +-------------+ +-------------+ +-------------+ | |
23
- | | | | | | |
24
- | +---------|----------------|----------------|---------------------------+ |
25
- | | | | |
26
- | +----------------+----------------+ |
27
- | | VPC (private network) |
28
- | v |
29
- | +-----------------------------------------------------------------------+ |
30
- | | Droplet | |
31
- | | +---------------------------------------------+ | |
32
- | | | NATS + JetStream | | |
33
- | | | :4222 (NATS) | | |
34
- | | | :8222 (HTTP monitoring) | | |
35
- | | +---------------------------------------------+ | |
36
- | | | | |
37
- | | +---------+ | |
38
- | | | Volume | (persistent storage) | |
39
- | | | /data | | |
40
- | | +---------+ | |
41
- | +-----------------------------------------------------------------------+ |
42
- +-----------------------------------------------------------------------------+
13
+ ```mermaid
14
+ graph TB
15
+ subgraph DO[DigitalOcean]
16
+ subgraph APP[App Platform]
17
+ FE[frontend :3000]
18
+ API[api :4000]
19
+ WRK[worker :4001]
20
+ end
21
+
22
+ subgraph DROP[Droplet]
23
+ NATS[NATS + JetStream]
24
+ VOL[(Volume /data)]
25
+ NATS --> VOL
26
+ end
27
+
28
+ APP -->|VPC| DROP
29
+ end
30
+
31
+ style APP fill:#e1f5fe
32
+ style DROP fill:#fff3e0
33
+ style VOL fill:#f5f5f5
43
34
  ```
44
35
 
45
36
  ### Platform Strategy
package/dist/index.cjs CHANGED
@@ -311878,6 +311878,9 @@ function buildServices(options) {
311878
311878
  skip: _skip,
311879
311879
  image: configImage,
311880
311880
  internalUrl: _internalUrl,
311881
+ platform: _platform,
311882
+ droplet: _droplet,
311883
+ runCommand: _runCommand,
311881
311884
  ...serviceConfig
311882
311885
  } = config;
311883
311886
  const image = configImage ?? getImage(`platform/${config.name}`, registryCredentials);
package/dist/index.js CHANGED
@@ -311815,6 +311815,9 @@ function buildServices(options) {
311815
311815
  skip: _skip,
311816
311816
  image: configImage,
311817
311817
  internalUrl: _internalUrl,
311818
+ platform: _platform,
311819
+ droplet: _droplet,
311820
+ runCommand: _runCommand,
311818
311821
  ...serviceConfig
311819
311822
  } = config;
311820
311823
  const image = configImage ?? getImage(`platform/${config.name}`, registryCredentials);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/infrastructure",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {