Skip to content

Commit

Permalink
feat: patch-in support for ES 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuruyia committed Aug 6, 2024
1 parent 9437217 commit 6afbe79
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 63 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/push_branches.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- master
- beta
- elasticsearch-8

jobs:
release-device-manager:
Expand All @@ -25,7 +26,7 @@ jobs:
registry-url: "https://registry.npmjs.org"

- name: Install dependencies
run: npm ci
run: npm ci --force

- name: Build
run: npm run build
Expand Down
4 changes: 4 additions & 0 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@ module.exports = {
name: "beta",
prerelease: true,
},
{
name: "elasticsearch-8",
prerelease: true
},
],
};
2 changes: 1 addition & 1 deletion lib/modules/measure/MeasureExporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ask } from "kuzzle-plugin-commons";
import _ from "lodash";
import { UUID } from "node:crypto";
// ? queryTranslator is not exposed by package kuzzle so we need to import directly th file
import QueryTranslator from "kuzzle/lib/service/storage/queryTranslator.js";
import QueryTranslator from "kuzzle/lib/service/storage/commons/queryTranslator.js";

import {
AskModelAssetGet,
Expand Down
103 changes: 44 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"eslint-plugin-kuzzle": "^0.0.12",
"execa": "^9.3.0",
"jest": "^29.7.0",
"kuzzle": "^2.29.0",
"kuzzle": "2.31.0-elasticsearch-8.2",
"kuzzle-sdk": "^7.11.2",
"read-pkg": "^9.0.1",
"semantic-release-config-kuzzle": "^1.0.0",
Expand All @@ -56,7 +56,7 @@
"typescript": "^5.3.3"
},
"peerDependencies": {
"kuzzle": "^2.21.0"
"kuzzle": "2.31.0-elasticsearch-8.2"
},
"files": [
"dist/",
Expand Down

0 comments on commit 6afbe79

Please sign in to comment.