From 0d81cea1ab1838e2152582e26bf2cb55339723ab Mon Sep 17 00:00:00 2001 From: engalar <engalar@gmail.com> Date: Tue, 31 May 2022 09:44:26 +0800 Subject: [PATCH] feat: mendix client --- package.json | 5 +++-- rollup.config.js | 2 +- tsconfig.json | 10 ++++++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index a22894e..29adeff 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "graph", "widgetName": "Graph", - "version": "1.1.1", + "version": "1.1.2", "description": "My widget description", "packagePath": "mendixcn", "author": "wengao.liu@siemens.com", @@ -40,6 +40,7 @@ "@types/lodash-es": "^4.17.5", "@types/react": "~17.0.1", "@types/react-dom": "~17.0.1", + "@engalar/mendix-client": "^8.0.2", "shx": "^0.3.4", "mime": "^2.6.0", "rollup": "^2.75.2", @@ -48,4 +49,4 @@ "xml2js": "^0.4.23", "zlib": "^1.0.5" } -} +} \ No newline at end of file diff --git a/rollup.config.js b/rollup.config.js index dab7cab..a96fdf8 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,5 +1,5 @@ import { normalize } from 'path'; -import commonjs from '@rollup/plugin-commonjs'; +// import commonjs from '@rollup/plugin-commonjs'; export default args => { const result = args.configDefaultConfig; diff --git a/tsconfig.json b/tsconfig.json index 35baf90..a8a9219 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,9 @@ { - "extends": "./node_modules/@mendix/pluggable-widgets-tools/configs/tsconfig.base.json" -} + "extends": "./node_modules/@mendix/pluggable-widgets-tools/configs/tsconfig.base.json", + "compilerOptions": { + "types": [ + "@engalar/mendix-client", + "jest" + ] + } +} \ No newline at end of file