@ts-cloud/core 0.2.20 → 0.2.21
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 +10 -0
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -739,6 +739,16 @@ export interface SiteConfig {
|
|
|
739
739
|
* (`/var/www/<site>/.env`). Available as process.env.* inside the running app.
|
|
740
740
|
*/
|
|
741
741
|
env?: Record<string, string>;
|
|
742
|
+
/**
|
|
743
|
+
* SSR only. Commands run on the server inside the app directory after the
|
|
744
|
+
* release tarball is extracted and the `.env` is written, but before the
|
|
745
|
+
* systemd service (re)starts. Use this to install runtime dependencies and/or
|
|
746
|
+
* produce build artifacts on the machine itself — so the release tarball can
|
|
747
|
+
* ship source only (no `node_modules`) and stays small.
|
|
748
|
+
*
|
|
749
|
+
* Example: ['bun install --frozen-lockfile', 'bun run build']
|
|
750
|
+
*/
|
|
751
|
+
preStart?: string[];
|
|
742
752
|
}
|
|
743
753
|
export interface VpcConfig {
|
|
744
754
|
cidr?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-cloud/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Core CloudFormation generation library for ts-cloud",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.com>",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"typecheck": "tsc --noEmit"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@ts-cloud/aws-types": "0.2.
|
|
34
|
+
"@ts-cloud/aws-types": "0.2.21"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"typescript": "^5.9.3"
|