diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a021ef760c8530286948d23e77ce709a69c27e88..be2dd643e382383c3472945cbb12067c5d6ec9e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,9 +10,9 @@ publish_npm: - apk --no-cache add git - git submodule update --remote --merge - apk add --update make bash protobuf-dev yarn - - npm install -g ts-proto@1.115.5 - - npm install -g typescript@4.7.4 - - npm i protobufjs@6.11.3 + - npm install -g ts-proto@1.151.1 + - npm install -g typescript@5.1.6 + - npm i protobufjs@7.2.4 rules: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' diff --git a/Makefile b/Makefile index 78d2cee22487464cb3f3904931216272bc5a9e0a..7797c74d0d2b2499672eabac6dd3f5886c84ead8 100644 --- a/Makefile +++ b/Makefile @@ -55,20 +55,20 @@ ifeq (,$(shell which npm)) endif ifeq (,$(shell which protoc-gen-ts_proto)) $(error "Ts-proto plugin for protoc not found. \ - Run \"npm install -g ts-proto@1.115.5\" \ + Run \"npm install -g ts-proto@1.151.1\" \ or visit \"https://github.com/stephenh/ts-proto\" for more.\n") endif ifeq (,$(shell which tsc)) $(error "Typescript not found. \ - Run \"npm install -g typescript@4.7.4\" \ + Run \"npm install -g typescript@5.1.6\" \ or visit \"https://github.com/microsoft/TypeScript\" for more.\n") endif -ifneq ($(shell expr $(TSC_MAJOR_VERSION) \>= 4), 1) +ifneq ($(shell expr $(TSC_MAJOR_VERSION) \>= 5), 1) $(error "Current version is outdated. Please update typescript \n") endif -ifneq ($(shell expr $(TSC_MINOR_VERSION) \>= 7), 1) - $(error "Current version is lower than 4.7 Please update typescript \n") +ifneq ($(shell expr $(TSC_MINOR_VERSION) \>= 1), 1) + $(error "Current version is lower than 5.1 Please update typescript \n") endif -ifneq ($(shell expr $(TSC_MIC_VERSION) \>= 4), 1) - $(error "Current version is lower than 4.7.4 Please update typescript \n") +ifneq ($(shell expr $(TSC_MIC_VERSION) \>= 6), 1) + $(error "Current version is lower than 5.1.6 Please update typescript \n") endif diff --git a/config/package.json b/config/package.json index 104ed038e7a086cdd9450613f4ba79fa626ad0bf..d2ff211918540f5e264bddce136b3d8527c339cf 100644 --- a/config/package.json +++ b/config/package.json @@ -1,6 +1,6 @@ { "name": "@perxis-js/perxis-client", - "version": "1.1.4", + "version": "1.1.5", "description": "", "main": "dist/index.js", "files": [ @@ -14,7 +14,7 @@ "pub": "npm publish" }, "dependencies": { - "protobufjs": "^6.11.3" + "protobufjs": "7.2.4" }, "author": "", "license": "ISC"