clickhouse-migrations 1.0.3 → 1.0.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
@@ -319,7 +319,7 @@ var migration = function (migrations_home, host, username, password, db_name, db
319
319
  exports.migration = migration;
320
320
  var migrate = function () {
321
321
  var program = new commander_1.Command();
322
- program.name('clickhouse-migrations').description('ClickHouse migrations.').version('1.0.2');
322
+ program.name('clickhouse-migrations').description('ClickHouse migrations.').version('1.0.4');
323
323
  program
324
324
  .command('migrate')
325
325
  .description('Apply migrations.')
package/lib/sql-parse.js CHANGED
@@ -33,16 +33,3 @@ var sql_sets = function (content) {
33
33
  return sets;
34
34
  };
35
35
  exports.sql_sets = sql_sets;
36
- // -- any
37
- // SET allow_experimental_object_type = 1; --set option
38
- // SET allow_experimental_object_new = 1;
39
- // SELECT * FROM events
40
- // sdfsfdsd
41
- // -- asssss
42
- // --asdf
43
- // sdfsdf
44
- // sdfsfs
45
- // SET a=1
46
- // asdf
47
- // SET f=22
48
- // sdf
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clickhouse-migrations",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "ClickHouse Migrations",
5
5
  "bin": {
6
6
  "clickhouse-migrations": "lib/cli.js"
@@ -18,7 +18,7 @@
18
18
  "build": "rm lib/*; tsc",
19
19
  "test": "jest --config jestconfig.json",
20
20
  "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
21
- "lint": "eslint ./src --ext .ts",
21
+ "lint": "eslint ./src",
22
22
  "prepare": "npm run build",
23
23
  "prepublishOnly": "npm test && npm run lint",
24
24
  "preversion": "npm run lint",
@@ -27,20 +27,22 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@clickhouse/client": "^1.10.1",
30
- "commander": "^13.0.0"
30
+ "commander": "^13.1.0"
31
31
  },
32
32
  "devDependencies": {
33
+ "@eslint/js": "^9.18.0",
33
34
  "@types/jest": "^29.5.14",
34
35
  "@types/node": "^22.10.7",
35
36
  "@typescript-eslint/eslint-plugin": "^8.21.0",
36
37
  "@typescript-eslint/parser": "^8.21.0",
37
- "eslint": "^8.57.0",
38
+ "eslint": "^9.18.0",
38
39
  "eslint-config-prettier": "^10.0.1",
39
40
  "eslint-plugin-prettier": "^5.2.3",
40
41
  "jest": "^29.7.0",
41
- "prettier": "^3.3.3",
42
+ "prettier": "^3.4.2",
42
43
  "ts-jest": "^29.2.5",
43
- "typescript": "^5.7.3"
44
+ "typescript": "^5.7.3",
45
+ "typescript-eslint": "^8.21.0"
44
46
  },
45
47
  "files": [
46
48
  "lib/**/*"