From b687ef8db428c2dad7609a720133cd034a1eb5fe Mon Sep 17 00:00:00 2001 From: Gus Narea Date: Sat, 6 May 2023 15:25:08 +0100 Subject: [PATCH] fix: Drop ESM support (#560) As it's broken anyway. --- .npmignore | 2 -- package.json | 6 ++---- tsconfig.module.json | 11 ----------- 3 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 tsconfig.module.json diff --git a/.npmignore b/.npmignore index cd8c3f177..1c5237209 100644 --- a/.npmignore +++ b/.npmignore @@ -17,5 +17,3 @@ tslint.json .idea/ .github/ -.circleci/ -.dependabot/ diff --git a/package.json b/package.json index a4813b812..53d7d5de6 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "description": "Relaynet core library", "main": "build/main/index.js", "typings": "build/main/index.d.ts", - "module": "build/module/index.js", "repository": "https://github.com/relaycorp/relaynet-core-js", "homepage": "https://docs.relaycorp.tech/relaynet-core-js/", "license": "MIT", @@ -17,9 +16,8 @@ "relaynet" ], "scripts": { - "build": "run-s clean && run-p build:*", - "build:main": "tsc -p tsconfig.json", - "build:module": "tsc -p tsconfig.module.json", + "build": "run-s clean tsc", + "tsc": "tsc -p tsconfig.json", "fix": "run-s fix:*", "fix:prettier": "prettier \"src/**/*.ts\" --write", "fix:tslint": "tslint --fix --project .", diff --git a/tsconfig.module.json b/tsconfig.module.json deleted file mode 100644 index dfb74fa3a..000000000 --- a/tsconfig.module.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "./tsconfig", - "compilerOptions": { - "target": "esnext", - "outDir": "build/module", - "module": "esnext" - }, - "exclude": [ - "node_modules/**" - ] -}