@ts-cloud/core 0.16.69 → 0.16.71
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/dist/types.d.ts +15 -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`).
|
|
@@ -1259,6 +1264,12 @@ export interface SiteConfig {
|
|
|
1259
1264
|
* Example: 'bun run server.ts'
|
|
1260
1265
|
*/
|
|
1261
1266
|
start?: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* Stacks scheduler and queue Bun executable, relative to the active release.
|
|
1269
|
+
* Example: pantry/bun.sh/v1.4.4/bin/bun. No global fallback when selected.
|
|
1270
|
+
* Omit to retain the host runtime. This does not change the main start command.
|
|
1271
|
+
*/
|
|
1272
|
+
backgroundBun?: string;
|
|
1262
1273
|
/**
|
|
1263
1274
|
* Port the SSR app listens on. Required when `start` is set.
|
|
1264
1275
|
* Two SSR sites on the same EC2 instance must use different ports.
|
|
@@ -1269,6 +1280,8 @@ export interface SiteConfig {
|
|
|
1269
1280
|
* (`/var/www/<site>/.env`). Available as process.env.* inside the running app.
|
|
1270
1281
|
*/
|
|
1271
1282
|
env?: Record<string, string>;
|
|
1283
|
+
/** False ships only this site's explicit env; deployment/provider credentials stay on the deployer. */
|
|
1284
|
+
inheritEnv?: boolean;
|
|
1272
1285
|
/**
|
|
1273
1286
|
* SSR only. Commands run on the server inside the app directory after the
|
|
1274
1287
|
* release tarball is extracted and the `.env` is written, but before the
|
|
@@ -1487,8 +1500,8 @@ export interface SiteConfig {
|
|
|
1487
1500
|
/** `from` path/host → `to` URL redirects emitted into the nginx vhost. */
|
|
1488
1501
|
redirects?: Record<string, string>;
|
|
1489
1502
|
/**
|
|
1490
|
-
* Give
|
|
1491
|
-
*
|
|
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.
|
|
1492
1505
|
*/
|
|
1493
1506
|
isolation?: boolean;
|
|
1494
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.
|
|
4
|
+
"version": "0.16.71",
|
|
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.
|
|
34
|
+
"@ts-cloud/aws-types": "0.16.71"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"typescript": "^7.0.2"
|