From 31c05a532647338b3a359b8f63fd6bdac96ffe18 Mon Sep 17 00:00:00 2001 From: Matthew Dean Date: Mon, 16 Sep 2024 14:06:40 +0100 Subject: [PATCH] Fix import usage --- .depcheckrc | 2 +- mocharc.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.depcheckrc b/.depcheckrc index 78b9729..1dac453 100644 --- a/.depcheckrc +++ b/.depcheckrc @@ -1 +1 @@ -ignores: ['prettier-plugin-organize-imports', 'tsimp'] +ignores: ['prettier-plugin-organize-imports', '@digicatapult/tsimp'] diff --git a/mocharc.json b/mocharc.json index e2b26dc..cf2cbe0 100644 --- a/mocharc.json +++ b/mocharc.json @@ -3,6 +3,6 @@ "exit": true, "extension": "ts", "node-option": [ - "import=tsimp/import" + "import=@digicatapult/tsimp/import" ] } diff --git a/package.json b/package.json index 216c972..a84c248 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "lint": "prettier -c ./src", "lint:fix": "npm run lint -- -w", "example:build": "tsoa spec-and-routes -c ./example/tsoa.json", - "example": "npm run example:build && node --import=tsimp/import ./example/index.ts" + "example": "npm run example:build && node --import=@digicatapult/tsimp/import ./example/index.ts" }, "author": "Digital Catapult", "license": "Apache-2.0",