@ts-cloud/core 0.16.70 → 0.16.72

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +9 -2
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -52,6 +52,11 @@ export interface CloudProviderConfig {
52
52
  * @see https://github.com/stacksjs/ts-cloud/issues/169
53
53
  */
54
54
  attachTo?: string;
55
+ /** Require fresh provider evidence for the attached Hetzner host before deploying data-bearing services. */
56
+ residency?: {
57
+ countries: string[];
58
+ locations?: string[];
59
+ };
55
60
  /**
56
61
  * Preview deployments: a pull request deployed as its own tenant on this
57
62
  * project's box at `<name>.<domain>` (Stacks' `buddy deploy:preview`).
@@ -1275,6 +1280,8 @@ export interface SiteConfig {
1275
1280
  * (`/var/www/<site>/.env`). Available as process.env.* inside the running app.
1276
1281
  */
1277
1282
  env?: Record<string, string>;
1283
+ /** False ships only this site's explicit env; deployment/provider credentials stay on the deployer. */
1284
+ inheritEnv?: boolean;
1278
1285
  /**
1279
1286
  * SSR only. Commands run on the server inside the app directory after the
1280
1287
  * release tarball is extracted and the `.env` is written, but before the
@@ -1493,8 +1500,8 @@ export interface SiteConfig {
1493
1500
  /** `from` path/host → `to` URL redirects emitted into the nginx vhost. */
1494
1501
  redirects?: Record<string, string>;
1495
1502
  /**
1496
- * Give this site a dedicated php-fpm pool (isolated user/process) rather than
1497
- * sharing the default pool (Forge's "User Isolation").
1503
+ * Give PHP a dedicated php-fpm pool. Runtime server apps use a project-scoped
1504
+ * unprivileged Unix identity for the app, scheduler, queue workers and daemons.
1498
1505
  */
1499
1506
  isolation?: boolean;
1500
1507
  /** Per-site nginx access control (IP allow/deny — Forge "Security Rules"). */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
3
  "type": "module",
4
- "version": "0.16.70",
4
+ "version": "0.16.72",
5
5
  "description": "Core CloudFormation generation library for ts-cloud",
6
6
  "author": "Chris Breuer <chris@stacksjs.com>",
7
7
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "typecheck": "tsc --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@ts-cloud/aws-types": "0.16.70"
34
+ "@ts-cloud/aws-types": "0.16.72"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^7.0.2"