@squiz/render-runtime-lib 1.2.1-alpha.82 → 1.2.1-alpha.85

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.
@@ -0,0 +1 @@
1
+ ALTER TABLE "component_set_component_version" ADD COLUMN "env_vars" jsonb;
@@ -0,0 +1 @@
1
+ export {};
@@ -5,13 +5,17 @@ export interface WebserverConfig {
5
5
  port?: number;
6
6
  rootUrl: string;
7
7
  shouldRunMigrations: boolean;
8
+ compiledConfig?: {
9
+ buildVersion?: string;
10
+ buildBranch?: string;
11
+ };
8
12
  }
9
13
  export declare class Webserver {
10
14
  private static singleton;
11
15
  private static config;
12
16
  static get(): Server;
13
17
  static getConfig(): WebserverConfig;
14
- static start(config: WebserverConfig, db?: ConnectionManager): Promise<Server>;
18
+ static start(config: Omit<WebserverConfig, 'compiledConfig'>, db?: ConnectionManager, compiledConfig?: Record<string, string>): Promise<Server>;
15
19
  static stop(): void;
16
20
  private static mergeConfig;
17
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squiz/render-runtime-lib",
3
- "version": "1.2.1-alpha.82",
3
+ "version": "1.2.1-alpha.85",
4
4
  "description": "Package of rendering utilities for components",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -9,8 +9,8 @@
9
9
  "lib": "lib"
10
10
  },
11
11
  "dependencies": {
12
- "@squiz/component-db-lib": "^1.2.1-alpha.82",
13
- "@squiz/component-lib": "^1.2.1-alpha.82",
12
+ "@squiz/component-db-lib": "^1.2.1-alpha.85",
13
+ "@squiz/component-lib": "^1.2.1-alpha.85",
14
14
  "bunyan": "1.8.15",
15
15
  "compression": "1.7.4",
16
16
  "dotenv": "16.0.1",
@@ -52,5 +52,5 @@
52
52
  "lint": "eslint ./src --ext .ts",
53
53
  "compile": "node ./build.js && tsc"
54
54
  },
55
- "gitHead": "62e0cec2f8a47f535953f0e8691f405f17e0fb96"
55
+ "gitHead": "f0e5fa161f9f2bf5b89409156cf1e299db08f73c"
56
56
  }