@apphosting/common
Advanced tools
Comparing version 0.0.3-canary.1a99446 to 0.0.4-canary.9719c22
@@ -6,3 +6,3 @@ export interface OutputBundleConfig { | ||
} | ||
interface ServerConfig { | ||
export interface ServerConfig { | ||
runCommand: string; | ||
@@ -16,3 +16,3 @@ environmentVariables?: EnvVarConfig[]; | ||
} | ||
interface Metadata { | ||
export interface Metadata { | ||
adapterPackageName: string; | ||
@@ -23,3 +23,3 @@ adapterVersion: string; | ||
} | ||
interface EnvVarConfig { | ||
export interface EnvVarConfig { | ||
variable: string; | ||
@@ -29,4 +29,4 @@ value: string; | ||
} | ||
declare enum Availability { | ||
Runtime = 0 | ||
export declare enum Availability { | ||
Runtime = "RUNTIME" | ||
} | ||
@@ -46,2 +46,1 @@ export interface BuildOptions { | ||
export declare function getBuildOptions(): BuildOptions; | ||
export {}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getBuildOptions = exports.runBuild = exports.DEFAULT_COMMAND = void 0; | ||
exports.getBuildOptions = exports.runBuild = exports.DEFAULT_COMMAND = exports.Availability = void 0; | ||
const child_process_1 = require("child_process"); | ||
@@ -9,4 +9,4 @@ // Represents where environment variables are made available | ||
// Runtime environment variables are available on the server when the app is run | ||
Availability[Availability["Runtime"] = 0] = "Runtime"; | ||
})(Availability || (Availability = {})); | ||
Availability["Runtime"] = "RUNTIME"; | ||
})(Availability || (exports.Availability = Availability = {})); | ||
exports.DEFAULT_COMMAND = "npm"; | ||
@@ -13,0 +13,0 @@ // Run the build command in a spawned child process. |
{ | ||
"name": "@apphosting/common", | ||
"version": "0.0.3-canary.1a99446", | ||
"version": "0.0.4-canary.9719c22", | ||
"description": "Shared library code for App Hosting framework adapters", | ||
@@ -25,3 +25,9 @@ "author": { | ||
"url": "https://github.com/FirebaseExtended/firebase-framework-tools/issues" | ||
}, | ||
"publishConfig": { | ||
"tag": "canary", | ||
"registry": "https://wombat-dressing-room.appspot.com/@apphosting/common/_ns", | ||
"provenance": true, | ||
"access": "public" | ||
} | ||
} |
4613
101