@ts-cloud/core 0.16.46 → 0.16.47

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 +10 -0
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -52,6 +52,16 @@ export interface CloudProviderConfig {
52
52
  * @see https://github.com/stacksjs/ts-cloud/issues/169
53
53
  */
54
54
  attachTo?: string;
55
+ /**
56
+ * Preview deployments: a pull request deployed as its own tenant on this
57
+ * project's box at `<name>.<domain>` (Stacks' `buddy deploy:preview`).
58
+ */
59
+ previews?: {
60
+ /** The domain previews live under; its DNS must be at a provider the deploy has keys for. Env: `PREVIEW_DOMAIN`. */
61
+ domain?: string;
62
+ /** The site a preview deploys. Defaults to the first site that runs a server. */
63
+ site?: string;
64
+ };
55
65
  /**
56
66
  * Hosts this project used to serve on the shared gateway and deliberately
57
67
  * does not any more.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
3
  "type": "module",
4
- "version": "0.16.46",
4
+ "version": "0.16.47",
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.46"
34
+ "@ts-cloud/aws-types": "0.16.47"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^7.0.2"