@goldstack/infra
Advanced tools
Comparing version 0.1.29 to 0.1.30
@@ -1,4 +0,6 @@ | ||
export { Deployment, DeploymentName, InfrastructureConfiguration, } from './types/deploymentTypes'; | ||
export { Deployment, DeploymentName, InfrastructureConfiguration, } from './types/InfrastructureConfiguration'; | ||
export { DeploymentState, DeploymentsState, } from './types/deploymentStatesTypes'; | ||
export * from './deploymentState'; | ||
import { InfrastructureConfiguration } from './types/InfrastructureConfiguration'; | ||
export declare const validateInfrastructureConfiguration: (infrastructure: any) => InfrastructureConfiguration; | ||
//# sourceMappingURL=infra.d.ts.map |
@@ -12,4 +12,15 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.validateInfrastructureConfiguration = void 0; | ||
__exportStar(require("./deploymentState"), exports); | ||
var infrastructureConfigurationSchema_json_1 = __importDefault(require("./schemas/infrastructureConfigurationSchema.json")); | ||
var utils_config_1 = require("@goldstack/utils-config"); | ||
exports.validateInfrastructureConfiguration = function ( | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
infrastructure) { | ||
return utils_config_1.validateConfig(infrastructureConfigurationSchema_json_1.default, infrastructure); | ||
}; | ||
//# sourceMappingURL=infra.js.map |
{ | ||
"name": "@goldstack/infra", | ||
"version": "0.1.29", | ||
"version": "0.1.30", | ||
"description": "Utilities for defining infrastructure", | ||
@@ -16,3 +16,3 @@ "license": "MIT", | ||
"coverage": "jest --collect-coverage --passWithNoTests --config=./jest.config.js", | ||
"generate:schema": "ts-json-schema-generator --tsconfig tsconfig.generate.json --path './src/types/**/*' --type 'DeploymentsState' -o src/schemas/deploymentsStateSchema.json", | ||
"generate:schema": "ts-json-schema-generator --tsconfig tsconfig.generate.json --path './src/types/**/*' --type 'DeploymentsState' -o src/schemas/deploymentsStateSchema.json && ts-json-schema-generator --tsconfig tsconfig.generate.json --path './src/types/**/*' --type 'InfrastructureConfiguration' -o src/schemas/infrastructureConfigurationSchema.json", | ||
"prepublishOnly": "yarn run build", | ||
@@ -19,0 +19,0 @@ "publish": "utils-git changed --exec \"yarn npm publish $@\"", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
16445
20
229