clickhouse-migrations 1.1.3 → 1.1.4

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/lib/migrate.js CHANGED
@@ -45,6 +45,7 @@ var commander_1 = require("commander");
45
45
  var fs_1 = __importDefault(require("fs"));
46
46
  var crypto_1 = __importDefault(require("crypto"));
47
47
  var sql_parse_1 = require("./sql-parse");
48
+ var version_1 = require("./version");
48
49
  var log = function (type, message, error) {
49
50
  if (type === void 0) { type = 'info'; }
50
51
  if (type === 'info') {
@@ -339,7 +340,7 @@ var migration = function (migrations_home, host, username, password, db_name, db
339
340
  exports.migration = migration;
340
341
  var migrate = function () {
341
342
  var program = new commander_1.Command();
342
- program.name('clickhouse-migrations').description('ClickHouse migrations.').version('1.1.3');
343
+ program.name('clickhouse-migrations').description('ClickHouse migrations.').version(version_1.VERSION);
343
344
  program
344
345
  .command('migrate')
345
346
  .description('Apply migrations.')
@@ -0,0 +1 @@
1
+ export declare const VERSION = "1.1.4";
package/lib/version.js ADDED
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VERSION = void 0;
4
+ exports.VERSION = '1.1.4'; // x-release-please-version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickhouse-migrations",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "ClickHouse Migrations",
5
5
  "bin": {
6
6
  "clickhouse-migrations": "lib/cli.js"