@goldstack/utils-package
Advanced tools
Comparing version 0.1.29 to 0.1.30
@@ -6,2 +6,3 @@ import { Package } from './types/packageSchema'; | ||
export declare const readPackageConfig: (path?: string) => Package; | ||
export declare const readPackageConfigFromDir: (dir: string) => Package; | ||
interface BuildCliParams { | ||
@@ -8,0 +9,0 @@ yargs: Argv<any>; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.buildDeployCommands = exports.buildCli = exports.readPackageConfig = exports.getPackageConfigSchema = void 0; | ||
exports.buildDeployCommands = exports.buildCli = exports.readPackageConfigFromDir = exports.readPackageConfig = exports.getPackageConfigSchema = void 0; | ||
var utils_config_1 = require("@goldstack/utils-config"); | ||
@@ -12,2 +12,3 @@ var configSchema_json_1 = __importDefault(require("./schemas/configSchema.json")); | ||
var path_1 = __importDefault(require("path")); | ||
var console_1 = require("console"); | ||
exports.getPackageConfigSchema = function () { | ||
@@ -23,2 +24,6 @@ return configSchema_json_1.default; | ||
}; | ||
exports.readPackageConfigFromDir = function (dir) { | ||
console_1.assert(dir.endsWith('/')); | ||
return exports.readPackageConfig(dir + 'goldstack.json'); | ||
}; | ||
exports.buildCli = function (params) { | ||
@@ -25,0 +30,0 @@ return params.yargs |
{ | ||
"name": "@goldstack/utils-package", | ||
"version": "0.1.29", | ||
"version": "0.1.30", | ||
"description": "Utilities to work with Goldstack package configurations.", | ||
@@ -23,3 +23,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@goldstack/infra": "0.1.29", | ||
"@goldstack/infra": "0.1.30", | ||
"@goldstack/utils-config": "0.1.28", | ||
@@ -26,0 +26,0 @@ "@goldstack/utils-sh": "0.1.28", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
10641
192
+ Added@goldstack/infra@0.1.30(transitive)
- Removed@goldstack/infra@0.1.29(transitive)
Updated@goldstack/infra@0.1.30