From cebd44ad99d909d8b7186d5348a9adc0c3f73be5 Mon Sep 17 00:00:00 2001 From: VladyslavKhymenkoDevPro Date: Fri, 27 Oct 2023 20:20:54 +0300 Subject: [PATCH] (build) Fixed build config files for core, react-useDapp, vue-useDapp --- packages/@erc-3643/core/package.json | 3 +-- packages/@erc-3643/core/tsconfig.json | 3 +-- packages/@erc-3643/react-useDapp/package.json | 2 +- packages/@erc-3643/react-useDapp/tsconfig.json | 11 ++++++++--- packages/@erc-3643/vue-useDapp/tsconfig.json | 11 ++++++++--- 5 files changed, 19 insertions(+), 11 deletions(-) diff --git a/packages/@erc-3643/core/package.json b/packages/@erc-3643/core/package.json index 186cef2..886327a 100644 --- a/packages/@erc-3643/core/package.json +++ b/packages/@erc-3643/core/package.json @@ -7,7 +7,6 @@ "DeFi" ], "main": "dist/index.js", - "type": "module", "scripts": { "test": "jest", "build": "tsc" @@ -38,4 +37,4 @@ "ts-node": "^10.9.1" }, "gitHead": "ed0e5e9156c8d33654515bd53f0336102fe1ea84" -} +} \ No newline at end of file diff --git a/packages/@erc-3643/core/tsconfig.json b/packages/@erc-3643/core/tsconfig.json index cda8b49..bc90c9b 100644 --- a/packages/@erc-3643/core/tsconfig.json +++ b/packages/@erc-3643/core/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es5", + "target": "esnext", "lib": [ "esnext", "DOM" @@ -9,7 +9,6 @@ "reflect-metadata", "jest" ], - "module": "commonjs", "moduleResolution": "node", "experimentalDecorators": true, "emitDecoratorMetadata": true, diff --git a/packages/@erc-3643/react-useDapp/package.json b/packages/@erc-3643/react-useDapp/package.json index bc419fb..36cd9d0 100644 --- a/packages/@erc-3643/react-useDapp/package.json +++ b/packages/@erc-3643/react-useDapp/package.json @@ -29,4 +29,4 @@ "react": "^18.2.0" }, "gitHead": "ed0e5e9156c8d33654515bd53f0336102fe1ea84" -} +} \ No newline at end of file diff --git a/packages/@erc-3643/react-useDapp/tsconfig.json b/packages/@erc-3643/react-useDapp/tsconfig.json index f04c4fa..48451ad 100644 --- a/packages/@erc-3643/react-useDapp/tsconfig.json +++ b/packages/@erc-3643/react-useDapp/tsconfig.json @@ -1,8 +1,13 @@ { "compilerOptions": { - "target": "ES2018", - "lib": ["es2022"], - "module": "commonjs", + "target": "esnext", + "lib": [ + "esnext", + "DOM" + ], + "types": [ + "reflect-metadata" + ], "moduleResolution": "node", "experimentalDecorators": true, "esModuleInterop": true, diff --git a/packages/@erc-3643/vue-useDapp/tsconfig.json b/packages/@erc-3643/vue-useDapp/tsconfig.json index e95f50a..4e7f49c 100644 --- a/packages/@erc-3643/vue-useDapp/tsconfig.json +++ b/packages/@erc-3643/vue-useDapp/tsconfig.json @@ -1,8 +1,13 @@ { "compilerOptions": { - "target": "ES2018", - "lib": ["es2022"], - "module": "commonjs", + "target": "esnext", + "lib": [ + "esnext", + "DOM" + ], + "types": [ + "reflect-metadata" + ], "moduleResolution": "node", "experimentalDecorators": true, "esModuleInterop": true,