From c82721cbc14f568f3c3bdfa056496738ea33bd6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Dan?= Date: Fri, 29 Dec 2023 14:49:38 +0100 Subject: [PATCH] chore: test using node16 moduleresolution --- package.json | 2 +- tsconfig.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3db3f9a..41f6a81 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@topos-protocol/topos-smart-contracts", - "version": "3.1.0-rc1", + "version": "3.1.0-rc2", "description": "Topos Smart Contracts", "repository": { "type": "git", diff --git a/tsconfig.json b/tsconfig.json index 0a202be..63cc994 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,13 +1,14 @@ { "compilerOptions": { "target": "es2020", - "module": "commonjs", + "module": "node16", + "moduleResolution": "node16", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "strict": true, "skipLibCheck": true, "resolveJsonModule": true }, - "include": ["./scripts", "./test"], + "include": ["./scripts", "./test", "./typechain-types"], "files": ["./hardhat.config.ts"] }