Skip to content

Commit

Permalink
Fix import usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdean-digicatapult committed Sep 16, 2024
1 parent d8ab3e4 commit 31c05a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .depcheckrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ignores: ['prettier-plugin-organize-imports', 'tsimp']
ignores: ['prettier-plugin-organize-imports', '@digicatapult/tsimp']
2 changes: 1 addition & 1 deletion mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"exit": true,
"extension": "ts",
"node-option": [
"import=tsimp/import"
"import=@digicatapult/tsimp/import"
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 31c05a5

Please sign in to comment.